Browse Source

材差新一期待上报的原报时间调整

Tony Kang 1 year ago
parent
commit
235d3aab1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/report_controller.js

+ 1 - 1
app/controller/report_controller.js

@@ -1016,7 +1016,7 @@ module.exports = app => {
                                 maxTimes = material.times;
                                 if (material.order === 1) {
                                     // orgTime = material.begin_time;
-                                    stgAudit[0].end_time = material.begin_time;
+                                    stgAudit[0].end_time = material.begin_time || stgAudit[0].end_time; // 如果是待上报,没有begin_time,则保留时间
                                 }
                             }
                         }