|
@@ -650,8 +650,8 @@ class BaseBillsSerivce extends TreeService {
|
|
|
newBills.quantity = this.ctx.helper.add(newBills.sgfh_qty,
|
|
|
this.ctx.helper.add(newBills.sjcl_qty, newBills.qtcl_qty));
|
|
|
newBills.sgfh_tp = this.ctx.helper.mul(newBills.sgfh_qty, newBills.unit_price, tpDecimal);
|
|
|
- newBills.sjcl_tp = this.ctx.helper.mul(newBills.qtcl_qty, newBills.unit_price, tpDecimal);
|
|
|
- newBills.qtcl_tp = this.ctx.helper.mul(newBills.sjcl_qty, newBills.unit_price, tpDecimal);
|
|
|
+ newBills.sjcl_tp = this.ctx.helper.mul(newBills.sjcl_qty, newBills.unit_price, tpDecimal);
|
|
|
+ newBills.qtcl_tp = this.ctx.helper.mul(newBills.qtcl_qty, newBills.unit_price, tpDecimal);
|
|
|
newBills.total_price = this.ctx.helper.mul(newBills.quantity, newBills.unit_price, tpDecimal);
|
|
|
newBills.deal_tp = this.ctx.helper.mul(newBills.deal_qty, newBills.unit_price, tpDecimal);
|
|
|
if (defaultData) this.ctx.helper._.assignIn(newBills, defaultData);
|