mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:23:25 +08:00
【修复】修复订单实际明细已经计算了优惠减免,但分销统计又减去优惠减免,导致佣金折上折的问题。
This commit is contained in:
@@ -184,7 +184,9 @@ namespace CoreCms.Net.Services
|
||||
continue;
|
||||
}
|
||||
//获取实际当前支付金额,减去优惠的金额
|
||||
var itemAmount = item.amount - item.promotionAmount;
|
||||
//var itemAmount = item.amount - item.promotionAmount;
|
||||
//目前的业务已经去除过优惠了,所以佣金不需要再减去优惠计算,会导致佣金折上折
|
||||
var itemAmount = item.amount;
|
||||
//如果去掉优惠需要负了,就为0
|
||||
if (itemAmount < 0) itemAmount = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user