695593266@qq.com 7 ヶ月 前
コミット
0eae91b78f
1 ファイル変更4 行追加1 行削除
  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() {},