ysy 1 年之前
父節點
當前提交
a659a3f84c
共有 1 個文件被更改,包括 6 次插入1 次删除
  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;