Commit 9ef963f2 by 王勇飞

gyq

parent 36f6c035
......@@ -699,7 +699,9 @@ class DeliverybillCtl extends CtlBase {
try {
var res = await this.service.findInfoByDeliverCode(pobj);
if (res) {
pobj.deliverStatus = "userConfirmationReject";//状态改成驳回
if (res.delivery_status != 'received'){//如果数据库中状态是已接单,说明是第一次提交文件,状态为传过了的状态;如果不是已接单,说明是客户驳回后重新提交的文件,状态改为已驳回
pobj.deliverStatus = "userConfirmationReject";//状态改成驳回,
}
await this.service.updateInfoByDeliverCode(pobj);
return system.getResultSuccess();
//return await this.service.updateInfoByDeliverCode(pobj);
......
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