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
4d77723e
Commit
4d77723e
authored
Jan 20, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消部分验证
parent
1cfd3a32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
33 deletions
+33
-33
xgg-deliver/app/base/controller/impl/order/orderCtl.js
+33
-33
No files found.
xgg-deliver/app/base/controller/impl/order/orderCtl.js
View file @
4d77723e
...
@@ -163,9 +163,9 @@ class OrderCtl extends CtlBase {
...
@@ -163,9 +163,9 @@ class OrderCtl extends CtlBase {
if
(
!
pobj
.
business_img
)
{
if
(
!
pobj
.
business_img
)
{
return
system
.
getResult
(
null
,
`参数错误 执照照片不能为空`
);
return
system
.
getResult
(
null
,
`参数错误 执照照片不能为空`
);
}
}
if
(
!
pobj
.
business_gov_file
)
{
//
if (!pobj.business_gov_file) {
return
system
.
getResult
(
null
,
`参数错误 工商官方文件不能为空`
);
//
return system.getResult(null, `参数错误 工商官方文件不能为空`);
}
//
}
pobj
.
bd_id
=
req
.
loginUser
.
id
;
pobj
.
bd_id
=
req
.
loginUser
.
id
;
pobj
.
bd_path
=
req
.
loginUser
.
orgpath
;
pobj
.
bd_path
=
req
.
loginUser
.
orgpath
;
...
@@ -215,24 +215,24 @@ class OrderCtl extends CtlBase {
...
@@ -215,24 +215,24 @@ class OrderCtl extends CtlBase {
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
}
if
(
!
pobj
.
gongzhang
)
{
//
if (!pobj.gongzhang) {
return
system
.
getResult
(
null
,
`参数错误 公章不能为空`
);
//
return system.getResult(null, `参数错误 公章不能为空`);
}
//
}
if
(
!
pobj
.
fapiaozhang
)
{
//
if (!pobj.fapiaozhang) {
return
system
.
getResult
(
null
,
`参数错误 发票章不能为空`
);
//
return system.getResult(null, `参数错误 发票章不能为空`);
}
//
}
if
(
!
pobj
.
caiwuzhang
)
{
//
if (!pobj.caiwuzhang) {
return
system
.
getResult
(
null
,
`参数错误 财务章不能为空`
);
//
return system.getResult(null, `参数错误 财务章不能为空`);
}
//
}
if
(
!
pobj
.
hetongzhang
)
{
//
if (!pobj.hetongzhang) {
return
system
.
getResult
(
null
,
`参数错误 合同章不能为空`
);
//
return system.getResult(null, `参数错误 合同章不能为空`);
}
//
}
if
(
!
pobj
.
farenzhang
)
{
//
if (!pobj.farenzhang) {
return
system
.
getResult
(
null
,
`参数错误 法人章不能为空`
);
//
return system.getResult(null, `参数错误 法人章不能为空`);
}
//
}
if
(
!
pobj
.
zhang_gov_file
)
{
//
if (!pobj.zhang_gov_file) {
return
system
.
getResult
(
null
,
`参数错误 刻章官方文件不能为空`
);
//
return system.getResult(null, `参数错误 刻章官方文件不能为空`);
}
//
}
try
{
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
...
@@ -286,12 +286,12 @@ class OrderCtl extends CtlBase {
...
@@ -286,12 +286,12 @@ class OrderCtl extends CtlBase {
if
(
!
pobj
.
bank
)
{
if
(
!
pobj
.
bank
)
{
return
system
.
getResult
(
null
,
`参数错误 开户行不能为空`
);
return
system
.
getResult
(
null
,
`参数错误 开户行不能为空`
);
}
}
if
(
!
pobj
.
bank_img
)
{
//
if (!pobj.bank_img) {
return
system
.
getResult
(
null
,
`参数错误 账户信息不能为空`
);
//
return system.getResult(null, `参数错误 账户信息不能为空`);
}
//
}
if
(
!
pobj
.
bank_gov_file
)
{
//
if (!pobj.bank_gov_file) {
return
system
.
getResult
(
null
,
`参数错误 银行开户官方文件不能为空`
);
//
return system.getResult(null, `参数错误 银行开户官方文件不能为空`);
}
//
}
try
{
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
...
@@ -342,12 +342,12 @@ class OrderCtl extends CtlBase {
...
@@ -342,12 +342,12 @@ class OrderCtl extends CtlBase {
if
(
!
pobj
.
tax_org
)
{
if
(
!
pobj
.
tax_org
)
{
return
system
.
getResult
(
null
,
`参数错误 税务机构名称不能为空`
);
return
system
.
getResult
(
null
,
`参数错误 税务机构名称不能为空`
);
}
}
if
(
!
pobj
.
ca_img
)
{
//
if (!pobj.ca_img) {
return
system
.
getResult
(
null
,
`参数错误 CA照片不能为空`
);
//
return system.getResult(null, `参数错误 CA照片不能为空`);
}
//
}
if
(
!
pobj
.
tax_gov_file
)
{
//
if (!pobj.tax_gov_file) {
return
system
.
getResult
(
null
,
`参数错误 税务报道官方文件不能为空`
);
//
return system.getResult(null, `参数错误 税务报道官方文件不能为空`);
}
//
}
try
{
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
...
...
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