更新优化
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
<div class="t2">
|
||||
<span>商品原价:¥{{ goodsStore.cartInfo.costSummary.goodsRealAmount || 0 }}</span>
|
||||
<span>餐位费:¥{{ formatDecimal(goodsStore.cartInfo.costSummary.seatFee || 0)
|
||||
}}</span>
|
||||
}}</span>
|
||||
<span>打包费:¥{{ formatDecimal(goodsStore.cartInfo.costSummary.packFee || 0)
|
||||
}}</span>
|
||||
}}</span>
|
||||
<span>优惠:¥{{ formatDecimal(goodsStore.cartInfo.costSummary.totalDiscountAmount || 0) }}</span>
|
||||
<!-- <span v-if="goodsStore.cartInfo.costSummary.goodsDiscountAmount">
|
||||
<span>折扣:{{ goodsStore.cartInfo.costSummary.goodsDiscountAmount }}</span>
|
||||
@@ -675,6 +675,8 @@ function clearCouponUser() {
|
||||
couponForm.value.discountRatio = ''
|
||||
discountRateNumber.value = 0
|
||||
|
||||
couponResList1.value = []
|
||||
|
||||
updateCartCalc()
|
||||
|
||||
// resetCouponFormHandle()
|
||||
@@ -842,8 +844,12 @@ async function selectUserHandle(row) {
|
||||
if (store.shopInfo.isMemberPrice && row.isVip) {
|
||||
console.log('选择会员后重新计算会员价===', row);
|
||||
goodsStore.showVipPrice = 1
|
||||
} else {
|
||||
goodsStore.showVipPrice = 0
|
||||
}
|
||||
|
||||
couponResList1.value = []
|
||||
|
||||
goodsStore.calcCartInfo()
|
||||
|
||||
// emit('reset')
|
||||
|
||||
Reference in New Issue
Block a user