ysy 1 год назад
Родитель
Сommit
3089985ca5
1 измененных файлов с 10 добавлено и 2 удалено
  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
                   e.extInfo.taskId
                 );
                 );
               } else {
               } else {
-                return (
+                if(e.extInfo.isQualified == 1 || e.extInfo.notType == 5) {
+                  return (
                   Object.prototype.hasOwnProperty.call(e.extInfo, 'taskId') &&
                   Object.prototype.hasOwnProperty.call(e.extInfo, 'taskId') &&
                   e.extInfo.taskId &&
                   e.extInfo.taskId &&
                   e.extInfo.reportWeight
                   e.extInfo.reportWeight
-                );
+                ); 
+                } else {
+                  return (
+                  Object.prototype.hasOwnProperty.call(e.extInfo, 'notType') &&
+                  e.extInfo.notType
+                ); 
+                }
+          
               }
               }
             });
             });
           }
           }