【优化】调整代理与分销面板佣金计算小数位过长的问题。

This commit is contained in:
大灰灰
2022-06-14 23:33:06 +08:00
parent f892b20386
commit c9ea41b801
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@
</view>
</view>
<view class="total-box coreshop-flex coreshop-align-center coreshop-justify-between coreshop-padding-left-10 coreshop-padding-right-10">
<view class="num-price">商品总价{{ item.goodsAmount }} 实付款:{{ item.payedAmount }} 优惠金额:{{ item.goodsAmount-item.payedAmount }}</view>
<view class="num-price">商品总价{{ item.goodsAmount }} 实付款:{{ item.payedAmount }} 优惠金额:{{ Math.round(item.goodsAmount-item.payedAmount).toFixed(2) }}</view>
<view class="x-f"></view>
</view>
<view class="total-box coreshop-flex coreshop-justify-between coreshop-padding-left-10 coreshop-padding-right-10">

View File

@@ -102,7 +102,7 @@
</view>
</view>
<view class="total-box coreshop-flex coreshop-align-center coreshop-justify-between coreshop-padding-left-10 coreshop-padding-right-10">
<view class="num-price">商品总价{{ item.goodsAmount }} 实付款:{{ item.payedAmount }} 优惠金额:{{ item.goodsAmount-item.payedAmount }}提成{{ item.amount || '0'}}</view>
<view class="num-price">商品总价{{ item.goodsAmount }} 实付款:{{ item.payedAmount }} 优惠金额:{{ Math.round(item.goodsAmount-item.payedAmount).toFixed(2) }}提成{{ item.amount || '0'}}</view>
<view class="x-f"></view>
</view>
</view>