Jelajahi Sumber

安全计量,审批相关

MaiXinRong 11 jam lalu
induk
melakukan
46d7e76724
2 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 1 0
      app/const/audit.js
  2. 1 1
      app/service/safe_stage.js

+ 1 - 0
app/const/audit.js

@@ -1533,6 +1533,7 @@ const pushType = {
     phasePay: 12,
     inspection: 13,
     safeInspection: 14,
+    safeStage: 15,
 };
 
 module.exports = {

+ 1 - 1
app/service/safe_stage.js

@@ -83,7 +83,7 @@ module.exports = app => {
 
             const preStage = maxOrder > 0 ? await this.getStageByOrder(tid, maxOrder) : null;
             if (preStage) {
-                data.pre_tp = this.ctx.helper.add(preStage.tp, preStage.pre_tp);
+                data.pre_bills_tp = this.ctx.helper.add(preStage.bills_tp, preStage.pre_bills_tp);
             }
             const transaction = await this.db.beginTransaction();
             try {