Commit 4ef72b74 authored by jiangjiantao's avatar jiangjiantao

金额元转分

parent ee04a321
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
<image id="{{item.barcode}}" class="good-del" mode="aspectFit" src="/images/harf_delete.png" catchTap="deleteGood" /> <image id="{{item.barcode}}" class="good-del" mode="aspectFit" src="/images/harf_delete.png" catchTap="deleteGood" />
</view> </view>
<view class="good-bottom"> <view class="good-bottom">
<view class="good-price">¥{{item.price}}</view> <view class="good-price">¥{{item.price/100}}</view>
<view class="good-operat"> <view class="good-operat">
<image id="{{item.barcode}}" class="good-decrease" mode="scaleToFill" src="/images/good_decrease.png" catchTap="decreaseGood"/> <image id="{{item.barcode}}" class="good-decrease" mode="scaleToFill" src="/images/good_decrease.png" catchTap="decreaseGood"/>
<text class="good-num">{{item.quantity}}</text> <text class="good-num">{{item.quantity}}</text>
...@@ -221,8 +221,8 @@ ...@@ -221,8 +221,8 @@
<view class="operating-bottom"> <view class="operating-bottom">
<text class="total-num">共{{totalQuantity}}件商品,合计金额</text> <text class="total-num">共{{totalQuantity}}件商品,合计金额</text>
<view class="total-price-container"> <view class="total-price-container">
<text class="pay-price">¥{{totalPrice}}</text> <text class="pay-price">¥{{totalPrice/100}}</text>
<text class="pay-coupon" a:if="{{discCouponPrice != 0}}">-¥{{discCouponPrice}}</text> <text class="pay-coupon" a:if="{{discCouponPrice != 0}}">-¥{{discCouponPrice/100}}</text>
</view> </view>
<button class="go-pay" size="default" type="primary" onTap="goPay">收款</button> <button class="go-pay" size="default" type="primary" onTap="goPay">收款</button>
</view> </view>
......
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