Tony Kang hai 23 horas
pai
achega
c63d66621d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/controller/report_controller.js

+ 2 - 2
app/controller/report_controller.js

@@ -661,8 +661,6 @@ module.exports = app => {
                 const stage_id = -150;
                 const stage_order = ctx.params.sorder;
                 const sorder = ctx.params.sorder;
-                const stage_times = -1;
-                const stage_status = -1;
 
                 for (const prjAcc of prjAccList) {
                     prjAcc.account_group = prjAcc.company;
@@ -677,6 +675,8 @@ module.exports = app => {
                 const { accountList, newAccountGroup, advance } = await this._getInvolveAcc(ctx, tenderId);
 
                 const safeStage = ctx.safeStage;
+                const stage_times = safeStage.audit_times;
+                const stage_status = safeStage.audit_status;
                 const bglObj = {};
                 bglObj.BUSINESS_ID = safeStage.id;