Commit bdb204af by 任晓松

修改校验

parent 69fcf2ae
......@@ -338,20 +338,22 @@ class OrderInfoService extends ServiceBase {
if (!deliveryData.tm.picUrl) {
return system.getResult(null, "商标图样不能为空,20210");
}
if (!deliveryData.apply) {
return system.getResult(null, "申请信息不能为空,20230");
}
if (!deliveryData.apply.code) {
return system.getResult(null, "申请统一社会信用代码不能为空,20250");
}
if (!deliveryData.apply.zipCode) {
return system.getResult(null, "申请邮编不能为空,20280");
}
if (!deliveryData.apply.customerType) {
return system.getResult(null, "申请人类型不能为空,20310");
}
if (deliveryData.apply.customerType != "ent" && deliveryData.apply.customerType != "person") {
return system.getResult(null, "申请人类型错误,20330");
if(pobj.appInfo.uapp_id != 22 ){
if (!deliveryData.apply) {
return system.getResult(null, "申请信息不能为空,20230");
}
if (!deliveryData.apply.code) {
return system.getResult(null, "申请统一社会信用代码不能为空,20250");
}
if (!deliveryData.apply.zipCode) {
return system.getResult(null, "申请邮编不能为空,20280");
}
if (!deliveryData.apply.customerType) {
return system.getResult(null, "申请人类型不能为空,20310");
}
if (deliveryData.apply.customerType != "ent" && deliveryData.apply.customerType != "person") {
return system.getResult(null, "申请人类型错误,20330");
}
}
var deliveryStatus = "dsccl";
var deliveryStatusName = "待上传材料";
......
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