MaiXinRong пре 2 година
родитељ
комит
3530143a0f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/service/tender_cache.js

+ 1 - 1
app/service/tender_cache.js

@@ -230,7 +230,7 @@ module.exports = app => {
                 info.status = status;
                 data.stage_flow_cur_info = JSON.stringify(info);
             }
-            if (status === auditConst.stage.status.checked && !auditor) data.stage_complete_count = data.stage_count;
+            if (status === auditConst.stage.status.checked && !auditor) data.stage_complete_count = stage.order;
             data.stage_flow_cur_tp = JSON.stringify(tp);
             await transaction.update(this.tableName, data);
         }