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);
         }