Browse Source

重新审批,计算补差相关

MaiXinRong 2 năm trước cách đây
mục cha
commit
6fcbdf3910
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
         }
         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;
     }