瀏覽代碼

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

Zimo 1 天之前
父節點
當前提交
edb1307795
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 5 1
      src/views/pms/iotrddailyreport/fillDailyReport.vue
  2. 5 1
      src/views/pms/iotrddailyreport/index.vue

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

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

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

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