ysy il y a 1 an
Parent
commit
a659a3f84c
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      src/views/material/BOMmanage/components/bomTreeDialog.vue

+ 6 - 1
src/views/material/BOMmanage/components/bomTreeDialog.vue

@@ -256,7 +256,12 @@
       },
 
       async open(type, versions, categoryId, treeId, isTemp) {
-        this.attributeData = {};
+        this.attributeData = {
+          dosage: 1,
+          bomTypeRouting: '',
+          unit: '',
+          remake: ''
+        };
         this.attributeData.bomType = type;
       
         this.attributeData.versions = versions;