Browse Source

重新审批,计算补差相关

MaiXinRong 2 years ago
parent
commit
6fcbdf3910
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/revise_price.js

+ 1 - 1
app/lib/revise_price.js

@@ -192,7 +192,7 @@ class revisePriceCalc {
             pcTp.negative_qc_pc_tp = helper.add(pcTp.negative_qc_pc_tp, bpc.negative_qc_pc_tp);
             pcTp.negative_qc_pc_tp = helper.add(pcTp.negative_qc_pc_tp, bpc.negative_qc_pc_tp);
         }
         }
         await transaction.update(this.ctx.service.stage.tableName,
         await transaction.update(this.ctx.service.stage.tableName,
-            { id: stage.id, ...pc_tp, check_calc: true, cache_time_l: new Date() });
+            { id: stage.id, ...pcTp, check_calc: true, cache_time_l: new Date() });
         return pcTp;
         return pcTp;
     }
     }