部分显示问题调整,问题修复,增加购物车初始化和商品更新未找到对应商品发送删除消息
This commit is contained in:
@@ -977,9 +977,6 @@ function calcVipDiscountAmount(
|
||||
shopUserInfo : ShopUserInfo
|
||||
) : number {
|
||||
if (!shopUserInfo.isVip || shopUserInfo.discount === 0) return 0;
|
||||
if (shopUserInfo.isVip == 1 && shopUserInfo.isMemberPrice != 1) {
|
||||
return 0;
|
||||
}
|
||||
return truncateToTwoDecimals(
|
||||
new BigNumber(goodsRealAmount)
|
||||
.times((100 - (shopUserInfo.discount || 100)) / 100)
|
||||
|
||||
Reference in New Issue
Block a user