소스 검색

修改生产订单所属工厂字段修改

hezhanp 9 달 전
부모
커밋
9cbbef820c
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 4
      src/views/workOrder/components/order-search.vue

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

@@ -107,7 +107,7 @@
         <el-form-item label="所属工厂:">
           <el-select
             size="mini"
-            v-model="where.parentId"
+            v-model="where.factoryId"
             placeholder="请选择"
             clearable
             class="ele-block"
@@ -272,7 +272,7 @@ export default {
       productName: '',
       brandNo: '',
       model: '',
-      parentId: '',
+      factoryId: '',
       status: '',
       createTime: []
     };
@@ -301,8 +301,7 @@ export default {
   mounted() {
     this.getFactoryarea();
     this.$nextTick(() => {
-      let factoryId = this.$store.state.user.info.factoryId;
-      this.where.parentId = factoryId;
+      this.where.factoryId = this.$store.state.user.info.factoryId;
     });
   },
   created() {},