Commit 71f38d25b162a961d42938695c1eb8e34d061a87

Authored by yvan.ni
1 parent 91b33569

支付尾款的时候,显示定金金额

packageE/pages/cart/cart_wk/cart_wk.js
... ... @@ -378,6 +378,7 @@ Page({
378 378  
379 379 if(ord_m && ord_m.pre_cut){
380 380 tail_money-=ord_m.pre_cut;
  381 + order.pre_cut=ord_m.pre_cut;
381 382 }
382 383  
383 384 tail_money = parseFloat(tail_money);
... ...
packageE/pages/cart/cart_wk/cart_wk.wxml
... ... @@ -108,7 +108,7 @@
108 108 </view>
109 109 <view class='ct_one jc_sb'>
110 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 112 </view>
113 113 </view>
114 114 </view>
... ...