Commit 3ffcb99d by 兰国旗

laolan

parent aa3790b1
......@@ -107,7 +107,7 @@ class BaseQcService {
return system.getResultFail(-103, "方案状态错误,不能废弃已完成方案");
}
var flowStatus = ns.solutionContent && ns.solutionContent.status ? ns.solutionContent.status : "";
if (flowStatus && ["SOLUTION_SUBMIT", "USER_CONFIRM_PRODUCE"].indexOf(flowStatus) >= 0) {
if (flowStatus && ["SOLUTION_SUBMIT", "USER_CONFIRM_PRODUCE","GXB_REFUSE", "CLOSE"].indexOf(flowStatus) >= 0) {
var self = this;
return await this.needsolutionDao.db.transaction(async function (t) {
var needObj = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment