Browse Source

期计量页面,实时计算问题

MaiXinRong 2 years ago
parent
commit
8eefcad4a4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/controller/measure_controller.js

+ 1 - 0
app/controller/measure_controller.js

@@ -46,6 +46,7 @@ module.exports = app => {
                     auditConst2: JSON.stringify(auditConst),
                 };
                 renderData.stages = await ctx.service.stage.getValidStages(ctx.tender.id);
+                if (renderData.stages.length > 0) await this.ctx.service.stage.checkStageGatherData(renderData.stages[0], this.ctx.session.sessionUser.is_admin);
                 for (const s of renderData.stages) {
                     // s.curAuditor = null;
                     // 根据期状态返回展示用户