优化管理端活动楼层装修
This commit is contained in:
parent
b1acfbdd4b
commit
863725d3ba
@ -65,11 +65,13 @@ export default {
|
|||||||
}
|
}
|
||||||
return cur;
|
return cur;
|
||||||
}, []);
|
}, []);
|
||||||
|
if (this.$route.path !== '/floorList/main') {
|
||||||
this.wap.forEach((items, indexs) => {
|
this.wap.forEach((items, indexs) => {
|
||||||
if (items.title == '活动') {
|
if (items.title == '活动') {
|
||||||
this.wap.splice(indexs, 1)
|
this.wap.splice(indexs, 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
this.wap.push( {
|
this.wap.push( {
|
||||||
title: "活动",
|
title: "活动",
|
||||||
|
@ -73,13 +73,6 @@ export default {
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
},
|
},
|
||||||
pintuanColumns: [
|
pintuanColumns: [
|
||||||
// 表头
|
|
||||||
{
|
|
||||||
title: "活动标题",
|
|
||||||
key: "title",
|
|
||||||
tooltip: true,
|
|
||||||
width: 250,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: "商品名称",
|
title: "商品名称",
|
||||||
key: "goodsName",
|
key: "goodsName",
|
||||||
@ -386,6 +379,7 @@ export default {
|
|||||||
// 去除优惠券
|
// 去除优惠券
|
||||||
delete this.promotionList.COUPON;
|
delete this.promotionList.COUPON;
|
||||||
Object.keys(res.result)[0] && this.typeOption(Object.keys(res.result)[0]).methodsed();
|
Object.keys(res.result)[0] && this.typeOption(Object.keys(res.result)[0]).methodsed();
|
||||||
|
this.promotions = Object.keys(res.result)[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (Object.keys(res.result).length) {
|
// if (Object.keys(res.result).length) {
|
||||||
|
@ -377,6 +377,7 @@ export default {
|
|||||||
price: e.price,
|
price: e.price,
|
||||||
quantity: e.quantity,
|
quantity: e.quantity,
|
||||||
storeId: e.storeId,
|
storeId: e.storeId,
|
||||||
|
goodsId:e.goodsId,
|
||||||
storeName: e.storeName,
|
storeName: e.storeName,
|
||||||
thumbnail: e.thumbnail,
|
thumbnail: e.thumbnail,
|
||||||
skuId: e.id,
|
skuId: e.id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user