chencc 1 년 전
부모
커밋
986d645a7a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/productionPlan/components/factoryAdd/index.vue

+ 2 - 1
src/views/productionPlan/components/factoryAdd/index.vue

@@ -572,10 +572,11 @@ export default {
       this.factoryList = await getFactoryList();
       this.factoryList = await getFactoryList();
     },
     },
     open(val) {
     open(val) {
+      this.getFactoryList();
       if (val) {
       if (val) {
         this.title = !val.id ? '新增临时生产计划' : '编辑临时生产计划';
         this.title = !val.id ? '新增临时生产计划' : '编辑临时生产计划';
 
 
-        this.getFactoryList();
+       
         this.form = val;
         this.form = val;
         // 修改
         // 修改
         if (val.id) {
         if (val.id) {