MaiXinRong 7 місяців тому
батько
коміт
1bc0171d9c
1 змінених файлів з 5 додано та 5 видалено
  1. 5 5
      app/service/phase_pay.js

+ 5 - 5
app/service/phase_pay.js

@@ -262,11 +262,11 @@ module.exports = app => {
 
 
             const prePhase = maxOrder > 0 ? await this.getPhasePayByOrder(tid, maxOrder) : null;
             const prePhase = maxOrder > 0 ? await this.getPhasePayByOrder(tid, maxOrder) : null;
             if (prePhase) {
             if (prePhase) {
-                data.end_calc_tp = this.ctx.helper.add(prePhase.calc_tp, prePhase.pre_calc_tp);
-                data.end_pay_tp = this.ctx.helper.add(prePhase.pay_tp, prePhase.pre_pay_tp);
-                data.end_cut_tp = this.ctx.helper.add(prePhase.cut_tp, prePhase.pre_cut_tp);
-                data.end_sf_tp = this.ctx.helper.add(prePhase.sf_tp, prePhase.pre_sf_tp);
-                data.end_yf_tp = this.ctx.helper.add(prePhase.yf_tp, prePhase.pre_yf_tp);
+                data.pre_calc_tp = this.ctx.helper.add(prePhase.calc_tp, prePhase.pre_calc_tp);
+                data.pre_pay_tp = this.ctx.helper.add(prePhase.pay_tp, prePhase.pre_pay_tp);
+                data.pre_cut_tp = this.ctx.helper.add(prePhase.cut_tp, prePhase.pre_cut_tp);
+                data.pre_sf_tp = this.ctx.helper.add(prePhase.sf_tp, prePhase.pre_sf_tp);
+                data.pre_yf_tp = this.ctx.helper.add(prePhase.yf_tp, prePhase.pre_yf_tp);
             }
             }
             const calcBase = await this.getCalcBase(relaStage, prePhase);
             const calcBase = await this.getCalcBase(relaStage, prePhase);
             data.calc_base = JSON.stringify(calcBase);
             data.calc_base = JSON.stringify(calcBase);