|
@@ -131,8 +131,8 @@ module.exports = app => {
|
|
p.unit_price = cp.unit_price;
|
|
p.unit_price = cp.unit_price;
|
|
p.contract_tp = this.ctx.helper.add(p.contract_tp, cp.contract_pc_tp);
|
|
p.contract_tp = this.ctx.helper.add(p.contract_tp, cp.contract_pc_tp);
|
|
p.qc_tp = this.ctx.helper.add(p.qc_tp, cp.qc_pc_tp);
|
|
p.qc_tp = this.ctx.helper.add(p.qc_tp, cp.qc_pc_tp);
|
|
- c.positive_qc_tp = this.ctx.helper.add(c.positive_qc_tp, cp.positive_qc_pc_tp);
|
|
|
|
- c.negative_qc_tp = this.ctx.helper.add(c.negative_qc_tp, cp.negative_qc_pc_tp);
|
|
|
|
|
|
+ p.positive_qc_tp = this.ctx.helper.add(p.positive_qc_tp, cp.positive_qc_pc_tp);
|
|
|
|
+ p.negative_qc_tp = this.ctx.helper.add(p.negative_qc_tp, cp.negative_qc_pc_tp);
|
|
curPc.splice(curPc.indexOf(cp), 1);
|
|
curPc.splice(curPc.indexOf(cp), 1);
|
|
}
|
|
}
|
|
if (!p.unit_price) {
|
|
if (!p.unit_price) {
|