最新代码,测试环境
This commit is contained in:
@@ -53,20 +53,20 @@
|
||||
<view class="orders-content-item">
|
||||
<label>支付金额</label>
|
||||
<view class="nowrap">¥{{item.price}}</view>
|
||||
</view>
|
||||
<view class="orders-content-item">
|
||||
<label>下单时间</label>
|
||||
<view class="nowrap">{{item.created_at}}</view>
|
||||
</view>
|
||||
<view class="orders-content-item" v-if="item.paid_at != ''">
|
||||
<label>支付时间</label>
|
||||
<view class="nowrap">{{item.paid_at}}</view>
|
||||
</view>
|
||||
<view class="orders-content-item">
|
||||
<label>下单时间</label>
|
||||
<view class="nowrap">{{item.created_at}}</view>
|
||||
</view>
|
||||
<view class="orders-content-item" v-if="item.paid_at != ''">
|
||||
<label>支付时间</label>
|
||||
<view class="nowrap">{{item.paid_at}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<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() {
|
||||
|
||||
@@ -88,6 +88,9 @@
|
||||
};
|
||||
},
|
||||
onShow(){
|
||||
|
||||
console.log(codes)
|
||||
|
||||
codes(this.$Route.query.code).then(res => {
|
||||
this.vouchers = res;
|
||||
})
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -218,7 +218,10 @@
|
||||
|
||||
// 综法订单数据数量
|
||||
synthesisInfo() {
|
||||
synthesisCount({channel: 'self'}).then(res => {
|
||||
synthesisCount({channel: 'self'}).then(res => {
|
||||
|
||||
console.log(res)
|
||||
|
||||
this.synthesisAll = res
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user