Commit e275aac0ef0bace08ae6bbff468369198d456a20

Authored by vking
1 parent 23fc440d

pay

@@ -148,7 +148,9 @@ Page({ @@ -148,7 +148,9 @@ Page({
148 App.PushMsg.SendUrgeMsg({rid:this.data.checkout.rid}) 148 App.PushMsg.SendUrgeMsg({rid:this.data.checkout.rid})
149 }, 149 },
150 pay(){ 150 pay(){
151 - App.PayOnline.CombineTransactions().then(res=>{ 151 + App.PayOnline.CombineTransactions({
  152 + rid:this.data.checkout.rid,
  153 + }).then(res=>{
152 res.data.timeStamp+="" 154 res.data.timeStamp+=""
153 wx.requestPayment({ 155 wx.requestPayment({
154 ...res.data, 156 ...res.data,
@@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
61 <view class="list-name">备注信息</view> 61 <view class="list-name">备注信息</view>
62 <view class="list-val">{{checkout.remark}}</view> 62 <view class="list-val">{{checkout.remark}}</view>
63 </view> 63 </view>
64 - <view class="checkout-get" bindtap="pay">立即支付{{checkout.price-user.price>0?checkout.price-user.price:0}}元</view> 64 + <view class="checkout-get" bindtap="pay">立即支付{{checkout.price-user.price>0?checkout.price-user.price:0.01}}元</view>
65 </view> 65 </view>
66 <view class="money-tips">注:消费清单,离店时请到前台索要;</view> 66 <view class="money-tips">注:消费清单,离店时请到前台索要;</view>
67 </block> 67 </block>