提交 2f13ad95 authored 作者: 潘鹏's avatar 潘鹏

attributes

上级 fa9dbdfa
......@@ -550,21 +550,22 @@ let vm = new Vue({
add: function () {
window.sessionStorage.getItem('_copy_product_info') ? this.show_paste_btn = true : void (0);
this.AttributeImgArr.length = 0;
this.paramster.length = 0;
this.paramster.push(
{
paramName: 'Style',
paramValue: ''
},
{
paramName: 'Material',
paramValue: ''
},
{
paramName: 'Fit Type',
paramValue: ''
}
);
// this.paramster.length = 0;
// this.paramster.push(
// {
// paramName: 'Style',
// paramValue: ''
// },
// {
// paramName: 'Material',
// paramValue: ''
// },
// {
// paramName: 'Fit Type',
// paramValue: ''
// }
// );
vm.getAttrName();
vm.showList = false;
vm.title = "新增";
vm.tbCfStationItem = {};
......@@ -573,7 +574,6 @@ let vm = new Vue({
this.disabledChangeAttribute = false;
// vm.tbCfStationItem.itemImg = "";
UE.getEditor('itemDesc').setContent("");
vm.getAttrName();
},
update: function (event) {
window.sessionStorage.getItem('_copy_product_info') ? this.show_paste_btn = true : void (0);
......@@ -1248,6 +1248,7 @@ let vm = new Vue({
//商品参数
getAttrName(){
this.paramsters= []
$.get('../attributes/queryAttrNames', res => {
let Attr = JSON.parse(res).list
Attr.forEach(item=>{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论