|
@@ -280,6 +280,7 @@
|
|
|
chooseStandardList(type, data) {
|
|
chooseStandardList(type, data) {
|
|
|
if (type == 9 || type == 1) {
|
|
if (type == 9 || type == 1) {
|
|
|
this.category = data[0];
|
|
this.category = data[0];
|
|
|
|
|
+ this.attributeData.categoryId = data[0].id;
|
|
|
this.$set(this.attributeData, 'code', data[0].code);
|
|
this.$set(this.attributeData, 'code', data[0].code);
|
|
|
this.$set(this.attributeData, 'name', data[0].name);
|
|
this.$set(this.attributeData, 'name', data[0].name);
|
|
|
this.$forceUpdate();
|
|
this.$forceUpdate();
|
|
@@ -289,7 +290,7 @@
|
|
|
async open(type, versions, categoryId, treeId) {
|
|
async open(type, versions, categoryId, treeId) {
|
|
|
this.attributeData = {};
|
|
this.attributeData = {};
|
|
|
this.attributeData.bomType = type;
|
|
this.attributeData.bomType = type;
|
|
|
- this.attributeData.categoryId = categoryId;
|
|
|
|
|
|
|
+
|
|
|
this.attributeData.versions = versions;
|
|
this.attributeData.versions = versions;
|
|
|
this.versions = versions;
|
|
this.versions = versions;
|
|
|
|
|
|