问题修复,下单优化,订单结算问题修复
This commit is contained in:
@@ -758,9 +758,7 @@ export function calcMemberPrice(
|
||||
if (!isMember) return truncateToTwoDecimals(goods.salePrice);
|
||||
|
||||
// 优先级:SKU会员价 > 商品会员价 > 商品原价(无会员价时用会员折扣)
|
||||
const basePrice =
|
||||
goods.skuData?.memberPrice ?? goods.memberPrice ?? goods.salePrice;
|
||||
|
||||
const basePrice = goods.memberPrice || goods.salePrice;
|
||||
// 仅当无SKU会员价、无商品会员价时,才应用会员折扣率
|
||||
if (memberDiscountRate && !goods.skuData?.memberPrice && !goods.memberPrice) {
|
||||
return truncateToTwoDecimals(
|
||||
|
||||
Reference in New Issue
Block a user