优化添加优惠
This commit is contained in:
@@ -221,13 +221,15 @@ const cartLoading = ref(false);
|
||||
const orderInfo = ref({});
|
||||
const createOrderLoading = ref(false);
|
||||
|
||||
|
||||
// 选择会员
|
||||
function selectUser(row) {
|
||||
console.log('selectUser===', row);
|
||||
|
||||
goodsStore.vipUserInfo = { ...row }
|
||||
if (store.shopInfo.isMemberPrice && row.isVip) {
|
||||
goodsStore.showVipPrice = 1
|
||||
goodsStore.calcCartInfo()
|
||||
}
|
||||
goodsStore.calcCartInfo()
|
||||
}
|
||||
|
||||
// 挂单量
|
||||
|
||||
Reference in New Issue
Block a user