Commit fcc92d36 by Sxy

fix: 交付单

parent def95066
......@@ -58,7 +58,7 @@ class DeliverybillCtl extends CtlBase {
throw new Error("orderStaus 不能为空且为Boolean值");
}
if (pobj.orderStaus === true) {
if (!pobj.setUpAt) {
if (!pobj.setupAt) {
throw new Error("成单时建账时间不能为空");
}
}
......
......@@ -26,7 +26,7 @@ class DeliverybillService extends ServiceBase {
updateResult = {
delivery_info: {
...delivery_info,
setUpAt: pobj.setUpAt//建账时间
setupAt: pobj.setupAt//建账时间
},
delivery_status: system.SERVERSESTATUS.WAITUSERCONFIRM
}
......
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