695593266@qq.com před 7 měsíci
rodič
revize
0eae91b78f
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  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() {},