优化添加优惠

This commit is contained in:
gyq
2025-03-25 00:31:50 +08:00
parent a914adc9f8
commit 3e84edbb6c
19 changed files with 402 additions and 238 deletions

View File

@@ -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()
}
// 挂单量