ysy пре 1 година
родитељ
комит
d5c24075ac

+ 3 - 2
src/views/material/BOMmanage/components/bomTreeDialog.vue

@@ -287,7 +287,7 @@
         }
         }
       },
       },
 
 
-      async open(type, versions, categoryId, treeId) {
+      async open(type, versions, categoryId, treeId, isTemp) {
         this.attributeData = {};
         this.attributeData = {};
         this.attributeData.bomType = type;
         this.attributeData.bomType = type;
       
       
@@ -297,7 +297,8 @@
         const res = await getBomTreeList({
         const res = await getBomTreeList({
           categoryId,
           categoryId,
           versions,
           versions,
-          bomType: type
+          bomType: type,
+          isTemp
         });
         });
 
 
         this.bomTreeList = res.data;
         this.bomTreeList = res.data;

+ 7 - 1
src/views/material/BOMmanage/components/detailedList.vue

@@ -283,6 +283,11 @@
       treeId: {
       treeId: {
         type: String,
         type: String,
         default: ''
         default: ''
+      },
+
+      isTemp: {
+         type: Number,
+         default: 0
       }
       }
     },
     },
 
 
@@ -353,7 +358,8 @@
           this.attributeData.bomType,
           this.attributeData.bomType,
           this.attributeData.versions,
           this.attributeData.versions,
           this.attributeData.categoryId,
           this.attributeData.categoryId,
-          this.newTreeId
+          this.newTreeId,
+          this.isTemp
         );
         );
       },
       },
 
 

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

@@ -256,6 +256,7 @@
               >
               >
                 <detailedList
                 <detailedList
                   v-if="activeName == '明细表'"
                   v-if="activeName == '明细表'"
+                  :isTemp="searchObj.isTemp"
                   :attributeData="currentNodeData"
                   :attributeData="currentNodeData"
                   :treeId="treeId"
                   :treeId="treeId"
                 ></detailedList>
                 ></detailedList>