瀏覽代碼

修复删除进度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) {