|
@@ -241,6 +241,8 @@ class BillsPosConvert {
|
|
|
node.real_tp = this.ctx.helper.add(node.real_tp, child.real_tp);
|
|
|
node.estimate_tp = this.ctx.helper.add(node.estimate_tp, child.estimate_tp);
|
|
|
}
|
|
|
+ if (node.dgn_qty1)
|
|
|
+ node.dgn_price = this.ctx.helper.div(node.total_price, node.dgn_qty1, this.ctx.tender.info.decimal.up);
|
|
|
node.final_tp = this.ctx.helper.add(node.total_price, node.end_qc_tp);
|
|
|
node.end_gather_percent = this.ctx.helper.mul(this.ctx.helper.div(node.end_gather_tp, node.final_tp, 4), 100);
|
|
|
}
|