ysy 1 год назад
Родитель
Сommit
261140be77

+ 0 - 5
src/views/material/BOMmanage/components/detailedList.vue

@@ -251,7 +251,6 @@
 
         gysList: [],
 
-
         newTreeId: null,
 
         dictList: []
@@ -277,8 +276,6 @@
     },
 
     watch: {
- 
-
       treeId(val) {
         this.newTreeId = val;
       }
@@ -287,8 +284,6 @@
     methods: {
       /* 表格数据源 */
       datasource({ where, page, limit }) {
-
-
         return getBomPageCategoryId({
           ...where,
           pageNum: page,

+ 4 - 4
src/views/material/BOMmanage/detailsPop.vue

@@ -234,9 +234,7 @@
               @tab-click="handleClick"
             >
               <el-tab-pane label="属性" name="属性">
-                <attribute
-                  :attributeData="currentNodeData"
-                ></attribute>
+                <attribute :attributeData="currentNodeData"></attribute>
               </el-tab-pane>
 
               <el-tab-pane
@@ -252,7 +250,7 @@
                 name="明细表"
               >
                 <detailedList
-                   v-if="activeName == '明细表'"
+                  v-if="activeName == '明细表'"
                   :attributeData="currentNodeData"
                   :treeId="treeId"
                 ></detailedList>
@@ -444,6 +442,7 @@
           isProduct: false,
           isTemp: 0
         };
+        this.activeName = '属性';
         this.drawer = false;
       },
 
@@ -587,6 +586,7 @@
         if (val) {
           this.getVersion('add');
         }
+        this.activeName = '属性';
         this.baseInfoShow = false;
       },