|
@@ -85,8 +85,8 @@ class TenderInfo {
|
|
|
const chapter = this._findGclChapter(gclChapter, b, 'b_code');
|
|
|
if (!chapter) continue;
|
|
|
chapter.total_price = this.ctx.helper.add(chapter.total_price, b.total_price);
|
|
|
- chapter.contract_tp = this.ctx.helper.add(chapter.contract_tp, b.contract_tp);
|
|
|
- chapter.qc_tp = this.ctx.helper.add(chapter.qc_tp, b.qc_tp);
|
|
|
+ chapter.contract_tp = this.ctx.helper.sum([chapter.contract_tp, b.contract_tp, b.contract_pc_tp]);
|
|
|
+ chapter.qc_tp = this.ctx.helper.sum([chapter.qc_tp, b.qc_tp, b.qc_pc_tp]);
|
|
|
chapter.pre_contract_tp = this.ctx.helper.add(chapter.pre_contract_tp, b.pre_contract_tp);
|
|
|
chapter.pre_qc_tp = this.ctx.helper.add(chapter.pre_qc_tp, b.pre_qc_tp);
|
|
|
}
|
|
@@ -105,4 +105,4 @@ class TenderInfo {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-module.exports = TenderInfo;
|
|
|
+module.exports = TenderInfo;
|