소스 검색

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