Explorar o código

重新审批,计算补差相关

MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
6fcbdf3910
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }