|
@@ -255,7 +255,7 @@ class revisePriceCalc {
|
|
|
}
|
|
|
let total_price = 0, positive_tp = 0, negative_tp = 0, valuation_tp = 0, unvaluation_tp = 0;
|
|
|
for (const sb of sumBills) {
|
|
|
- cb.qty = this.ctx.helper.add(sb.v_qty, sb.uv_qty);
|
|
|
+ sb.qty = this.ctx.helper.add(sb.v_qty, sb.uv_qty);
|
|
|
sb.tp = this.ctx.helper.mul(sb.qty, sb.unit_price, change.tp_decimal || decimal.tp);
|
|
|
sb.v_tp = this.ctx.helper.mul(sb.v_qty, sb.unit_price, change.tp_decimal || decimal.tp);
|
|
|
sb.uv_tp = this.ctx.helper.mul(sb.uv_qty, sb.unit_price, change.tp_decimal || decimal.tp);
|