Commit ec3ba444 by Sxy

feat: 交付单状态 支持重复调用

parent fe0341fc
......@@ -266,6 +266,12 @@ class DeliverybillCtl extends CtlBase {
if (pobj.customerMaterial && pobj.customerMaterial != 'undefined') {
pobj.baseInfo.customerMaterial = pobj.customerMaterial;
}
if (pobj.deliverStatus !== "closed") {
if (!["userConfirmationWait", "userConfirmationReject"].includes(res.delivery_status)) {
pobj.deliverStatus = res.delivery_status;
}
}
await this.service.updateInfoByDeliverCode(pobj);
return system.getResult("更新成功");
}
......
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