ysy hai 1 ano
pai
achega
31e04cfb9e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/material/BOMmanage/detailsPop.vue

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

@@ -393,7 +393,7 @@
         isFullscreen: true,
         isFullscreen: true,
 
 
         currentNodeData: {
         currentNodeData: {
-          bomType: 1,
+          bomType: this.clientEnvironmentId == 2 ?  2:  1,
           children: []
           children: []
         },
         },
 
 
@@ -531,7 +531,7 @@
           });
           });
         } else {
         } else {
           this.currentNodeData = {
           this.currentNodeData = {
-            bomType: 1,
+            bomType: this.clientEnvironmentId == 2 ?  2:  1,
             children: []
             children: []
           };
           };
         }
         }