Merge remote-tracking branch 'origin/dev' into test
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -191,9 +191,9 @@ func (c *DividendsController) Detail() { | @@ -191,9 +191,9 @@ func (c *DividendsController) Detail() { | ||
191 | DividendProportion: order.PartnerBonusPercent, | 191 | DividendProportion: order.PartnerBonusPercent, |
192 | DividendsReceivable: order.OrderTotalBonus() + order.OrderBonusOutstanding(), //应收分红 = 实收分红+分红支出 | 192 | DividendsReceivable: order.OrderTotalBonus() + order.OrderBonusOutstanding(), //应收分红 = 实收分红+分红支出 |
193 | DividendSpending: order.OrderBonusOutstanding(), //分红支出 | 193 | DividendSpending: order.OrderBonusOutstanding(), //分红支出 |
194 | - ReceiveDividends: order.OrderBonusReceive() + order.OrderBonusWait(), //应实收分红 = 已收分红 + 等待分红 | 194 | + ReceiveDividends: order.OrderTotalBonus(), //实收分红 = 实际金额 * 比例 |
195 | NotReceivedDividends: order.OrderBonusWait(), //未收分红 | 195 | NotReceivedDividends: order.OrderBonusWait(), //未收分红 |
196 | - RceivedDividends: order.OrderBonusReceive(), | 196 | + RceivedDividends: order.OrderBonusReceive(), //已收分红 |
197 | } | 197 | } |
198 | rsp.Commission = Commission{ | 198 | rsp.Commission = Commission{ |
199 | CommissionProportion: order.SalesmanBonusPercent, | 199 | CommissionProportion: order.SalesmanBonusPercent, |
-
请 注册 或 登录 后发表评论