瀏覽代碼

修改bug

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() {},