|
@@ -606,9 +606,9 @@ class BaseBillsSerivce extends TreeService {
|
|
|
this._calcExpr(newPos, 'qtcl_qty', pos.qtcl_expr, pos.qtcl_qty, precision);
|
|
|
newPos.quantity = this.ctx.helper.add(newPos.sgfh_qty,
|
|
|
this.ctx.helper.add(newPos.sjcl_qty, newPos.qtcl_qty));
|
|
|
- newBills.sgfh_qty = this.ctx.helper.add(newBills.sgfh_qty, pos.sgfh_qty);
|
|
|
- newBills.sjcl_qty = this.ctx.helper.add(newBills.sjcl_qty, pos.sjcl_qty);
|
|
|
- newBills.qtcl_qty = this.ctx.helper.add(newBills.qtcl_qty, pos.qtcl_qty);
|
|
|
+ newBills.sgfh_qty = this.ctx.helper.add(newBills.sgfh_qty, newPos.sgfh_qty);
|
|
|
+ newBills.sjcl_qty = this.ctx.helper.add(newBills.sjcl_qty, newPos.sjcl_qty);
|
|
|
+ newBills.qtcl_qty = this.ctx.helper.add(newBills.qtcl_qty, newPos.qtcl_qty);
|
|
|
if (defaultData) this.ctx.helper._.assignIn(newPos, defaultData);
|
|
|
pastePosData.push(newPos);
|
|
|
}
|