mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-06-10 05:57:50 +08:00
【优化】调整代理与分销面板佣金计算小数位过长的问题。
This commit is contained in:
@@ -102,7 +102,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="total-box coreshop-flex coreshop-align-center coreshop-justify-between coreshop-padding-left-10 coreshop-padding-right-10">
|
<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 class="x-f"></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="total-box coreshop-flex coreshop-justify-between coreshop-padding-left-10 coreshop-padding-right-10">
|
<view class="total-box coreshop-flex coreshop-justify-between coreshop-padding-left-10 coreshop-padding-right-10">
|
||||||
|
|||||||
@@ -102,7 +102,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="total-box coreshop-flex coreshop-align-center coreshop-justify-between coreshop-padding-left-10 coreshop-padding-right-10">
|
<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 class="x-f"></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in New Issue
Block a user