Pārlūkot izejas kodu

修复删除进度bug

laiguoran 4 gadi atpakaļ
vecāks
revīzija
27f06b73c1
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      app/service/schedule_stage.js

+ 2 - 0
app/service/schedule_stage.js

@@ -57,6 +57,8 @@ module.exports = app => {
                     },
                 };
                 await transaction.update(this.ctx.service.scheduleMonth.tableName, updateData, option);
+                // 重算计量总金额
+                await this.calcStageSjTp(transaction, this.ctx.tender.id);
                 await transaction.commit();
                 return true;
             } catch (err) {