Commit 5c38b252 by 兰国旗

laolan

parent e8bf8fc5
...@@ -908,7 +908,7 @@ class AliyunQcService { ...@@ -908,7 +908,7 @@ class AliyunQcService {
* (文网文)2020-9-26 * (文网文)2020-9-26
*/ */
async serviceSubmitOption(pobj) { async serviceSubmitOption(pobj) {
console.log('wwwwwwwwww',pobj) console.log('wwwwwwwwww', pobj)
var ab = pobj.actionBody; var ab = pobj.actionBody;
var user = pobj.userInfo; var user = pobj.userInfo;
if (!user || !user.id) { if (!user || !user.id) {
...@@ -1105,18 +1105,21 @@ class AliyunQcService { ...@@ -1105,18 +1105,21 @@ class AliyunQcService {
if (!solution) { if (!solution) {
return system.getResultFail(-103, "方案交付信息有误"); return system.getResultFail(-103, "方案交付信息有误");
} }
if (needinfo.channelTypeCode == "esp.wangwen") {//edi if (needinfo.channelTypeCode == "官网") {//esp.wangwen
ab.solutionContent.solution.IcpType = "wangwen"; ab.solutionContent.solution.IcpType = "wangwen";
} else { } else {
return system.getResultFail(-208, "需求业务类型有误"); return system.getResultFail(-208, "需求业务类型有误");
} }
if (!solution.CompanyName) { if (!solution.CompanyName) {
return system.getResultFail(-105, "公司名不能为空"); return system.getResultFail(-105, "企业名称不能为空");
} }
if (!solution.CompanyAddress) { if (!solution.licenseType) {
return system.getResultFail(-106, "公司地址不能为空"); return system.getResultFail(-106, "网文类型不能为空");
} }
if (!solution.Area) { if (!solution.actionType) {
return system.getResultFail(-106, "办理类型不能为空");
}
if (!solution.companyLocation) {
return system.getResultFail(-107, "区域不能为空"); return system.getResultFail(-107, "区域不能为空");
} }
var solutionFlowList = ab.solutionContent.solutionFlowList || []; var solutionFlowList = ab.solutionContent.solutionFlowList || [];
......
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