Commit b34f8db5 by 王勇飞

gyq

parent a54a1956
...@@ -764,7 +764,30 @@ class DeliverybillCtl extends CtlBase { ...@@ -764,7 +764,30 @@ class DeliverybillCtl extends CtlBase {
var ms = await this.materialService.findInfoByDeliverNumber(pobj); var ms = await this.materialService.findInfoByDeliverNumber(pobj);
if (ms && ms != 'undefined') { if (ms && ms != 'undefined') {
if (ms.download_url && ms.download_url != undefined) { if (ms.download_url && ms.download_url != undefined) {
return system.getResult(ms.download_url); var comInfo = ms.company_info;
var rtndata = {
"zipUrl":ms.download_url,
"companyName":comInfo.companyName
}
if (comInfo.companyProperties == "limitedLiabilityCompany"){
rtndata.companyProperties = "有限责任公司"
}
else if (comInfo.companyProperties == "incorporatedCompany"){
rtndata.companyProperties = "股份有限公司"
}
else if (comInfo.companyProperties == "groupLimitedCompany"){
rtndata.companyProperties = "集团有限公司"
}
else if (comInfo.companyProperties == "selfEmployed"){
rtndata.companyProperties = "个体工商户"
}
else if (comInfo.companyProperties == "soleProprietorship"){
rtndata.companyProperties = "个人独资企业"
}
else if (comInfo.companyProperties == "company"){
rtndata.companyProperties = "有限公司"
}
return system.getResult(rtndata);
} }
else { else {
return system.getResultError("暂没有url信息!"); return system.getResultError("暂没有url信息!");
......
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