Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
2bde9fa4
Commit
2bde9fa4
authored
Feb 25, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
95e0a770
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
bpo-web/app/base/api/impl/econtractApi.js
+17
-17
No files found.
bpo-web/app/base/api/impl/econtractApi.js
View file @
2bde9fa4
...
...
@@ -1239,26 +1239,26 @@ class EcontractApi {
}
// 2 查公司
var
companybpo
=
await
this
.
ecompanybpoSve
.
findOne
({
busi_id
:
mtchId
});
if
(
!
companybpo
)
{
return
{
code
:
1
,
msg
:
"电子签企业未录入当前商户ID"
};
}
if
(
!
companybpo
.
mainId
)
{
return
{
code
:
1
,
msg
:
"请更新电子签企业"
};
}
//
var companybpo = await this.ecompanybpoSve.findOne({
//
busi_id: mtchId
//
});
//
if (!companybpo) {
//
return {
//
code: 1,
//
msg: "电子签企业未录入当前商户ID"
//
};
//
}
//
if (!companybpo.mainId) {
//
return {
//
code: 1,
//
msg: "请更新电子签企业"
//
};
//
}
// 3 查签约模板(c_etemplate_busi)
var
templateIds
=
await
this
.
etemplateSve
.
findIdsByCompanyIdAndMainId
(
companybpo
.
mtchId
);
var
templateIds
=
await
this
.
etemplateSve
.
findIdsByCompanyIdAndMainId
(
mtchId
);
if
(
templateIds
.
idsO
.
length
==
0
&&
templateIds
.
idsT
.
length
==
0
)
{
return
{
code
:
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment