Commit def95066 by Sxy

fix: 交付单

parent 4ea713a8
...@@ -85,7 +85,7 @@ class DeliverybillCtl extends CtlBase { ...@@ -85,7 +85,7 @@ class DeliverybillCtl extends CtlBase {
if (!pobj.deliverId) { if (!pobj.deliverId) {
throw new Error("deliverId 不能为空"); throw new Error("deliverId 不能为空");
} }
if (!pobj.contactsName || !pobj.time || !accountingType || !pobj.taxpayerType || !pobj.supplier) { if (!pobj.contactsName || !pobj.time || !pobj.accountingType || !pobj.taxpayerType || !pobj.supplier) {
throw new Error("参数不能为空"); throw new Error("参数不能为空");
} }
const rs = await this.service.setupBill(pobj); const rs = await this.service.setupBill(pobj);
......
...@@ -118,7 +118,7 @@ class DeliverybillService extends ServiceBase { ...@@ -118,7 +118,7 @@ class DeliverybillService extends ServiceBase {
buyDuration: schemeData.buy_duration,//购买时长 buyDuration: schemeData.buy_duration,//购买时长
buyNumber: schemeData.number,//购买数量 buyNumber: schemeData.number,//购买数量
totalCost: schemeData.total_cost,//总计费用 totalCost: schemeData.total_cost,//总计费用
note: schemeData.remarks//需求编号 note: schemeData.remarks//备注
} }
} }
} }
......
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