Explorar o código

计算基数相关

MaiXinRong hai 6 meses
pai
achega
050a6f081d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/phase_pay.js

+ 1 - 1
app/service/phase_pay.js

@@ -119,7 +119,7 @@ module.exports = app => {
             const result = {};
             const result = {};
             for (const stage of relaStage) {
             for (const stage of relaStage) {
                 result.contract_tp = this.ctx.helper.add(result.contract_tp, stage.contract_tp);
                 result.contract_tp = this.ctx.helper.add(result.contract_tp, stage.contract_tp);
-                result.qc_tp = this.ctx.helper.add(result.contract_tp, stage.qc_tp);
+                result.qc_tp = this.ctx.helper.add(result.qc_tp, stage.qc_tp);
                 result.pc_tp = this.ctx.helper.add(result.pc_tp, stage.pc_tp);
                 result.pc_tp = this.ctx.helper.add(result.pc_tp, stage.pc_tp);
 
 
                 const qdSum = await this.ctx.service.stageBills.getSumTotalPriceGcl(stage);
                 const qdSum = await this.ctx.service.stageBills.getSumTotalPriceGcl(stage);