会员修复

This commit is contained in:
2025-10-10 09:26:39 +08:00
parent e2dd540bb8
commit f0fee9085d
5 changed files with 529 additions and 442 deletions

View File

@@ -474,7 +474,9 @@
})
Object.assign(pointsRes, res)
maxPointDiscount.value = res.maxDeductionAmount
cartStore.setUserPoints(res.maxUsablePoints || 0)
if(usePoints.value){
cartStore.setUserPoints(res.maxUsablePoints || 0)
}
console.log('getMaxPointsDiscount:cartStore.orderCostSummary.pointUsed', cartStore.orderCostSummary.pointUsed);
}
watch(() => maxMoney.value, (newval) => {

View File

@@ -221,10 +221,9 @@
if (newval && newval.id) {
disablePayType.value = ['余额支付']
paymentMethodref.value.groupChanges(2)
} else {
disablePayType.value = []
}
return
}
console.log('orderVIP.value.amount',orderVIP.value.amount);
if (!orderVIP.value.amount) {
disablePayType.value = ['余额支付']
if (paymentMethodref.value) {