Commit 0709358a authored by jiangjiantao's avatar jiangjiantao

精度缺失

parent 0f57fd0a
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
{{item.name}} {{item.name}}
</view> </view>
<view class="scan-good-list-item"> <view class="scan-good-list-item">
<view class="good-list-item-price-font">¥{{item.price/2}}</view> <view class="good-list-item-price-font">¥{{item.price/100}}</view>
<view class="good-list-item-quantity-font"> <view class="good-list-item-quantity-font">
{{item.quantity}}件 {{item.quantity}}件
</view> </view>
......
...@@ -273,7 +273,7 @@ Page({ ...@@ -273,7 +273,7 @@ Page({
} }
//汇总 //汇总
totalPrice = payUtils.fen2Yuan(totalPriceTemp) totalPriceTemp = payUtils.fen2Yuan(totalPriceTemp)
this.setData({ this.setData({
totalQuantity: totalQuantityTemp, totalQuantity: totalQuantityTemp,
totalPrice: totalPriceTemp, totalPrice: totalPriceTemp,
......
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