商品共有元素 优化
parent
9bb3a1f8eb
commit
1673de694e
|
@ -449,7 +449,22 @@ export default {
|
||||||
code = this.customAttributeForm.code,
|
code = this.customAttributeForm.code,
|
||||||
name = this.customAttributeForm.name,
|
name = this.customAttributeForm.name,
|
||||||
value = this.customAttributeForm.value;
|
value = this.customAttributeForm.value;
|
||||||
|
// categoryCommonElement / attributeIdCheckedList / attributeCheckedList
|
||||||
|
this.categoryCommonElement.attributeList.push({
|
||||||
|
"id": attributeId,
|
||||||
|
"name": name,
|
||||||
|
"code": code
|
||||||
|
});
|
||||||
|
this.attributeIdCheckedList.push(attributeId);
|
||||||
|
this.attributeCheckedList.push(
|
||||||
|
{
|
||||||
|
"id": attributeId,
|
||||||
|
"name": name,
|
||||||
|
"value": value
|
||||||
|
}
|
||||||
|
);
|
||||||
|
this.customAttributeForm = {}
|
||||||
|
this.customAttributeFormStatus = false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue