Commit 3bb8a9fd66c6e807562af3b65c1fd649275f1a46
1 parent
7bc648b0
定金显示的优化
Showing
3 changed files
with
3 additions
and
2 deletions
packageC/pages/luckyGo/luckyGo_order/luckyGo_order.js
... | ... | @@ -316,6 +316,7 @@ Page({ |
316 | 316 | |
317 | 317 | //--------立即支付---------- |
318 | 318 | async jumpToCart4(e) { |
319 | + var th=this; | |
319 | 320 | |
320 | 321 | // 幸运购检查库存量 api/weshop/activitylist/getActLen/{store_id}/{prom_type}/{prom_id} |
321 | 322 | if (parseInt(this.data.order.order_goods['0']['prom_type']) == 9) { | ... | ... |
packageG/pages/user/order_detail/order_detail.wxml
... | ... | @@ -103,7 +103,7 @@ |
103 | 103 | |
104 | 104 | <view class="item pnew" wx:if="{{order.is_zsorder==4}}"> |
105 | 105 | <view>定金金额</view> |
106 | - <view>¥ {{filters.toFix(order.order_amount+order.user_money,2)}}元</view> | |
106 | + <view>¥ {{filters.toFix(order.order_amount+order.user_money+order.pre_cut,2)}}元</view> | |
107 | 107 | </view> |
108 | 108 | <view class="item pnew" wx:if="{{order.pt_tail_money>0}}"> |
109 | 109 | <view>尾款金额</view> | ... | ... |
pages/user/order_list/order_list.wxml
... | ... | @@ -224,7 +224,7 @@ |
224 | 224 | <view wx:if="{{item.is_zsorder==4}}" class="commodity_money flex baseline"> |
225 | 225 | <view>定金<text wx:if="{{item.discount!=underdefine && item.discount!=null && item.discount!=0}}" style="color:#d60021;">(改)</text>:</view> |
226 | 226 | <view class="fs24 c-r">¥</view> |
227 | - <view class="c-r">{{filters.toFix(item.order_amount+item.user_money+item.use_commission,2)}} | |
227 | + <view class="c-r">{{filters.toFix(item.order_amount+item.user_money+item.use_commission+item.pre_cut,2)}} | |
228 | 228 | </view> |
229 | 229 | </view> |
230 | 230 | <view class="commodity_money flex baseline" wx:else> | ... | ... |