Commit d52aae31 by 庄冰

aliyun

parent b1ca2084
......@@ -553,8 +553,8 @@ class AliyunQcService{
if (needinfo.status == "ygb") {
return system.getResultFail(-105, "该方案需求状态为" + needinfo.statusName + ",不能执行此操作");
}
// if (ns.status != "dqr" && ns.status != "yzf" && ns.status != "ybh") {
// return system.getResultFail(-103, "方案状态错误,不能作废已完成方案");
// if (ns.status == "yzf" || ns.status == "ywc") {
// return system.getResultFail(-103, "该方案状态为" + ns.statusName + ",不能执行此操作");
// }
var solutionContent = ns.solutionContent;
//方案流程列表
......@@ -664,7 +664,9 @@ class AliyunQcService{
updateObj["status"] = "ybh";
}else if (ab.intentionStatus == 2) {
updateObj["status"] = "dqr";
} else if (ab.intentionStatus == 4 || ab.intentionStatus == 3) {
}else if (ab.intentionStatus == 3) {
updateObj["status"] = "ywc";
} else if (ab.intentionStatus == 4) {
updateObj["status"] = "ywc";
} else if (ab.intentionStatus == 5) {
updateObj["status"] = "yzf";
......
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