ysy 1 rok temu
rodzic
commit
3089985ca5
1 zmienionych plików z 10 dodań i 2 usunięć
  1. 10 2
      src/views/produce/components/jobBooking/index.vue

+ 10 - 2
src/views/produce/components/jobBooking/index.vue

@@ -488,11 +488,19 @@
                   e.extInfo.taskId
                 );
               } else {
-                return (
+                if(e.extInfo.isQualified == 1 || e.extInfo.notType == 5) {
+                  return (
                   Object.prototype.hasOwnProperty.call(e.extInfo, 'taskId') &&
                   e.extInfo.taskId &&
                   e.extInfo.reportWeight
-                );
+                ); 
+                } else {
+                  return (
+                  Object.prototype.hasOwnProperty.call(e.extInfo, 'notType') &&
+                  e.extInfo.notType
+                ); 
+                }
+          
               }
             });
           }