Просмотр исходного кода

🐞 fix(瑞都日报填报): 非生产时间回显

Zimo 2 дней назад
Родитель
Сommit
087d8d468d
1 измененных файлов с 13 добавлено и 13 удалено
  1. 13 13
      src/views/pms/iotrddailyreport/FillDailyReportForm.vue

+ 13 - 13
src/views/pms/iotrddailyreport/FillDailyReportForm.vue

@@ -963,19 +963,19 @@ const initPlatformData = (reportData: any) => {
             rdStatus: platform.rdStatus || '', // 初始为空
             techniqueIds: techniqueIds, // 初始为空数组
             extProperty: platform.extProperty || [], // 初始为空数组
-            repairTime: reportData.repairTime ?? 0,
-            selfStopTime: reportData.selfStopTime ?? 0,
-            accidentTime: reportData.accidentTime ?? 0,
-            complexityTime: reportData.complexityTime ?? 0,
-            rectificationTime: reportData.rectificationTime ?? 0,
-            waitingStopTime: reportData.waitingStopTime ?? 0,
-            partyaDesign: reportData.partyaDesign ?? 0,
-            partyaPrepare: reportData.partyaPrepare ?? 0,
-            partyaResource: reportData.partyaResource ?? 0,
-            relocationTime: reportData.relocationTime ?? 0,
-            winterBreakTime: reportData.winterBreakTime ?? 0,
-            otherNptTime: reportData.otherNptTime ?? 0,
-            otherNptReason: reportData.otherNptReason || ''
+            repairTime: platform.repairTime ?? 0,
+            selfStopTime: platform.selfStopTime ?? 0,
+            accidentTime: platform.accidentTime ?? 0,
+            complexityTime: platform.complexityTime ?? 0,
+            rectificationTime: platform.rectificationTime ?? 0,
+            waitingStopTime: platform.waitingStopTime ?? 0,
+            partyaDesign: platform.partyaDesign ?? 0,
+            partyaPrepare: platform.partyaPrepare ?? 0,
+            partyaResource: platform.partyaResource ?? 0,
+            relocationTime: platform.relocationTime ?? 0,
+            winterBreakTime: platform.winterBreakTime ?? 0,
+            otherNptTime: platform.otherNptTime ?? 0,
+            otherNptReason: platform.otherNptReason || ''
           }
         )
       })