Commit 0709358a authored by jiangjiantao's avatar jiangjiantao

精度缺失

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