调整支付
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<view class="orders-flex">
|
||||
<view class="btns">
|
||||
<view class="btns-item btns-border" v-if="item.status == 0" @click="onCancel(item.order_id)">取消</view>
|
||||
<view class="btns-item btns-border" v-if="item.status == 0">支付</view>
|
||||
<view class="btns-item btns-border" v-if="item.status == 0" @click="onPay(item)">支付</view>
|
||||
<view class="btns-item" @click="onShowUsers(item.items)">报名信息</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -228,6 +228,22 @@
|
||||
if(ListIndex >= 0){
|
||||
this.orders.splice(ListIndex, 1)
|
||||
}
|
||||
},
|
||||
// 订单支付
|
||||
onPay(obj){
|
||||
let { order_id, order_type, price } = obj
|
||||
|
||||
console.log(obj)
|
||||
|
||||
this.$Router.replace({
|
||||
name: 'FeePay',
|
||||
params: {
|
||||
orderId : order_id,
|
||||
orderType : order_type,
|
||||
price : price,
|
||||
payForm : 'entrust',
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
onReachBottom() {
|
||||
|
||||
Reference in New Issue
Block a user