优化管理端活动楼层装修

This commit is contained in:
Ryan Ran 2024-11-11 15:23:32 +08:00
parent b1acfbdd4b
commit 863725d3ba
3 changed files with 9 additions and 12 deletions

View File

@ -65,11 +65,13 @@ export default {
}
return cur;
}, []);
this.wap.forEach((items,indexs) => {
if(items.title == '活动'){
this.wap.splice(indexs,1)
}
})
if (this.$route.path !== '/floorList/main') {
this.wap.forEach((items, indexs) => {
if (items.title == '活动') {
this.wap.splice(indexs, 1)
}
})
}
}else{
this.wap.push( {
title: "活动",

View File

@ -73,13 +73,6 @@ export default {
pageSize: 10,
},
pintuanColumns: [
//
{
title: "活动标题",
key: "title",
tooltip: true,
width: 250,
},
{
title: "商品名称",
key: "goodsName",
@ -386,6 +379,7 @@ export default {
//
delete this.promotionList.COUPON;
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) {

View File

@ -377,6 +377,7 @@ export default {
price: e.price,
quantity: e.quantity,
storeId: e.storeId,
goodsId:e.goodsId,
storeName: e.storeName,
thumbnail: e.thumbnail,
skuId: e.id,