소스 검색

修复删除进度bug

laiguoran 4 년 전
부모
커밋
27f06b73c1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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) {