ysy 1 년 전
부모
커밋
0ef8bbaf55
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/views/material/BOMmanage/detailsPop.vue

+ 6 - 0
src/views/material/BOMmanage/detailsPop.vue

@@ -574,6 +574,12 @@
           if (data.code == '0') {
             this.loadingInstance.close();
             this.$message.success('转换成功');
+
+ 
+             let _type = tt == 'P' ? 1 : tt == 'M' ? 2 : tt == 'A' ? 3 : 4;
+            this.currentNodeData.bomType = _type;
+            this.getTreeData();
+            this.getVersion();
           }
         });
       },