菜品不可销售状态修改
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user