Commit cc14dd86 by 张卓

分销商货架折扣价保留两位小数

parent c9547dfe
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<view class="discount_price">折后价:¥{{item.terminalProductGoods.discountPrice}}</view> <view class="discount_price">折后价:¥{{item.terminalProductGoods.discountPrice}}</view>
<view class="show_price"> <view class="show_price">
<view class="title">最高可省</view> <view class="title">最高可省</view>
<view class="price"> {{(item.terminalProductGoods.salePrice-item.terminalProductGoods.discountPrice)}}元</view> <view class="price"> {{(item.terminalProductGoods.salePrice-item.terminalProductGoods.discountPrice).toFixed(2)}}元</view>
</view> </view>
</view> </view>
</swiper-item> </swiper-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment