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

🐞 fix: 瑞都日报非生产时间填写

Zimo 1 день назад
Родитель
Сommit
edb1307795

+ 5 - 1
src/views/pms/iotrddailyreport/fillDailyReport.vue

@@ -148,7 +148,11 @@
                     : 'danger'
                     : 'danger'
                 "
                 "
               >
               >
-                {{ scope.row.nonProductFlag ? '已填写' : '未填写' }}
+                {{
+                  scope.row.nonProductFlag || scope.row.processInstanceId === '2'
+                    ? '已填写'
+                    : '未填写'
+                }}
               </el-tag>
               </el-tag>
             </template>
             </template>
           </el-table-column>
           </el-table-column>

+ 5 - 1
src/views/pms/iotrddailyreport/index.vue

@@ -232,7 +232,11 @@
                     : 'danger'
                     : 'danger'
                 "
                 "
               >
               >
-                {{ scope.row.nonProductFlag ? '已填写' : '未填写' }}
+                {{
+                  scope.row.nonProductFlag || scope.row.processInstanceId === '2'
+                    ? '已填写'
+                    : '未填写'
+                }}
               </el-tag>
               </el-tag>
             </template>
             </template>
           </el-table-column>
           </el-table-column>