Explorar el Código

修复删除进度bug

laiguoran hace 4 años
padre
commit
27f06b73c1
Se han modificado 1 ficheros con 2 adiciones y 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) {