Explorar o código

修复删除进度bug

laiguoran %!s(int64=4) %!d(string=hai) anos
pai
achega
27f06b73c1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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) {