提交 8c98b2d5 authored 作者: 潘鹏's avatar 潘鹏

4-11

上级 d845af2f
......@@ -173,6 +173,7 @@
display: flex;
justify-content: start;
align-items: center;
flex-wrap: wrap;
}
/* 标签弹窗*/
......
......@@ -124,7 +124,6 @@ let vm = new Vue({
this.allAttributes.map( _item => {
if(_item.isSelected&&item.skuDesc.includes(_item.text)){
item.isSelected = true;
console.log(item,_item,'00');
}
})
})
......@@ -154,13 +153,20 @@ let vm = new Vue({
this.showBatch = true;
//获取所有具体属性
this.allAttributes = [];
this.attrItem.map( item => item.categoryDesc.split(',').map( _item => this.allAttributes.push({
this.attrItem[0].categoryDesc.split(',').map( _item => this.allAttributes.push({
text:_item,
isSelected:false,
amount:null,
count:null,
skuImg:null
})) );
}));
// this.attrItem.map( item => item.categoryDesc.split(',').map( _item => this.allAttributes.push({
// text:_item,
// isSelected:false,
// amount:null,
// count:null,
// skuImg:null
// })) );
},
//切换批量选择按钮
changeSelectBtnArr(item,index){
......@@ -373,7 +379,6 @@ let vm = new Vue({
//回显sku组合
_this.tmdSkudata = r.tbCfStationItem.itemSkusList
r.tbCfStationItem.itemSkusList.map(item => {
console.log(item.skuDesc);
_this.prevItem.push({
skuImg:null,
skuName: item.skuName,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论