695593266@qq.com hace 7 meses
padre
commit
0eae91b78f
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/views/workOrder/components/order-search.vue

+ 4 - 1
src/views/workOrder/components/order-search.vue

@@ -301,7 +301,10 @@
     mounted() {
       this.getFactoryarea();
       this.$nextTick(() => {
-        this.where.factoryId = this.$store.state.user.info.factoryId;
+        this.where.factoryId =
+          this.$store.state.user.info.factoryId == 1
+            ? ''
+            : this.$store.state.user.info.factoryId;
       });
     },
     created() {},