菜品不可销售状态修改

This commit is contained in:
GaoHao
2025-04-21 13:29:37 +08:00
parent acad1cd067
commit 27a8d6894e
13 changed files with 176 additions and 34 deletions

View File

@@ -14,6 +14,7 @@ export function getNowCart(carItem,goodsList,user) {
carItem.lowPrice = item.salePrice
carItem.lowMemberPrice = item.memberPrice
carItem.specInfo = item.specInfo
carItem.suitNum = item.suitNum
if( uni.getStorageSync('shopInfo').isMemberPrice && user && user.id && user.isVip ){
carItem.salePrice = item.memberPrice
@@ -26,6 +27,7 @@ export function getNowCart(carItem,goodsList,user) {
carItem.name = goodsItem.name
carItem.coverImg = goodsItem.coverImg
carItem.packFee = goodsItem.packFee
carItem.groupType = goodsItem.groupType
carItem.type = goodsItem.type
carItem.isGrounding = true;
}