Commit 4ba89afd51d9d7f5f5de152b664218c2259b5876
Merge branch 'test' of http://git.vipzhuang.cn/wxd/MShopWeApp into qa
Showing
2 changed files
with
3 additions
and
2 deletions
packageE/pages/cart/cart_wk/cart_wk.js
@@ -378,6 +378,7 @@ Page({ | @@ -378,6 +378,7 @@ Page({ | ||
378 | 378 | ||
379 | if(ord_m && ord_m.pre_cut){ | 379 | if(ord_m && ord_m.pre_cut){ |
380 | tail_money-=ord_m.pre_cut; | 380 | tail_money-=ord_m.pre_cut; |
381 | + order.pre_cut=ord_m.pre_cut; | ||
381 | } | 382 | } |
382 | 383 | ||
383 | tail_money = parseFloat(tail_money); | 384 | tail_money = parseFloat(tail_money); |
packageE/pages/cart/cart_wk/cart_wk.wxml
@@ -104,11 +104,11 @@ | @@ -104,11 +104,11 @@ | ||
104 | </view> | 104 | </view> |
105 | <view class='ct_one jc_sb'> | 105 | <view class='ct_one jc_sb'> |
106 | <view class='ct_one_left'>成团金额</view> | 106 | <view class='ct_one_left'>成团金额</view> |
107 | - <view class='ct_one_right'><text class='redwz'>¥{{filters.toFix(order.order_amount+order.user_money+order.tail_money,2)}}</text></view> | 107 | + <view class='ct_one_right'><text class='redwz'>¥{{filters.toFix(order.order_amount+order.user_money+order.tail_money+order.pre_cut,2)}}</text></view> |
108 | </view> | 108 | </view> |
109 | <view class='ct_one jc_sb'> | 109 | <view class='ct_one jc_sb'> |
110 | <view class='ct_one_left'>支付定金</view> | 110 | <view class='ct_one_left'>支付定金</view> |
111 | - <view class='ct_one_right'><text class='redwz'>¥{{filters.toFix(order.order_amount+order.user_money,2)}}</text> | 111 | + <view class='ct_one_right'><text class='redwz'>¥{{filters.toFix(order.order_amount+order.user_money+order.pre_cut,2)}}</text> |
112 | </view> | 112 | </view> |
113 | </view> | 113 | </view> |
114 | </view> | 114 | </view> |