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
76cd9f50
Commit
76cd9f50
authored
Nov 23, 2020
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 阿里直购查询需求报错
parent
1f33ff96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
+3
-1
No files found.
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
View file @
76cd9f50
...
@@ -665,8 +665,9 @@ class AliyunQcService {
...
@@ -665,8 +665,9 @@ class AliyunQcService {
if
(
!
ns
||
!
ns
.
id
)
{
if
(
!
ns
||
!
ns
.
id
)
{
return
system
.
getResultFail
(
-
102
,
"未知方案"
);
return
system
.
getResultFail
(
-
102
,
"未知方案"
);
}
}
if
(
pobj
.
isDirectBuy
!==
"true"
)
{
var
needinfo
=
await
this
.
needinfoDao
.
model
.
findOne
({
var
needinfo
=
await
this
.
needinfoDao
.
model
.
findOne
({
where
:
{
needNo
:
ns
.
needNo
},
raw
:
true
where
:
{
needNo
:
ns
.
needNo
},
raw
:
true
});
});
if
(
!
needinfo
)
{
if
(
!
needinfo
)
{
return
system
.
getResultFail
(
-
104
,
"未知方案需求"
);
return
system
.
getResultFail
(
-
104
,
"未知方案需求"
);
...
@@ -674,6 +675,7 @@ class AliyunQcService {
...
@@ -674,6 +675,7 @@ class AliyunQcService {
if
(
needinfo
.
status
==
"ygb"
)
{
if
(
needinfo
.
status
==
"ygb"
)
{
return
system
.
getResultFail
(
-
105
,
"该方案需求状态为"
+
needinfo
.
statusName
+
",不能执行此操作"
);
return
system
.
getResultFail
(
-
105
,
"该方案需求状态为"
+
needinfo
.
statusName
+
",不能执行此操作"
);
}
}
}
// if (ns.status == "yzf" || ns.status == "ywc") {
// if (ns.status == "yzf" || ns.status == "ywc") {
// return system.getResultFail(-103, "该方案状态为" + ns.statusName + ",不能执行此操作");
// return system.getResultFail(-103, "该方案状态为" + ns.statusName + ",不能执行此操作");
// }
// }
...
...
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