订单详情

This commit is contained in:
shidongli 2023-11-02 14:14:43 +08:00
parent d2e489efc8
commit 13ae5ab43d
3 changed files with 51 additions and 6 deletions

View File

@ -491,7 +491,7 @@
title: '取消支付',
type: 'error',
duration: 1000,
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${id}`
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${id}&delta=${1}`
})
}
});

View File

@ -348,7 +348,7 @@
}
that.timer = setTimeout(e => {
uni.redirectTo({
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${that.id}`
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${that.id}&delta=${2}`
})
}, 1500)
}

View File

@ -161,11 +161,13 @@
goodsOrderId: null,
patientId: '',
openid: null,
// orderType: 'HEALTH_CONSULTATION',
// orderStatus: 'WAIT_PAY',
//
orderType: '',
orderStatus: '',
orderTypeList: [
'INTEGRAL_EXCHANGE',//
'DIRECT_BUY',
],
// orderStatus: '',
pageSize: 15,
@ -314,6 +316,49 @@
this.goodsOrderinfo()
},
onLoad(options) {
//2 1
if(options.delta=='2'){
this.orderTypeList={
goodsOrderId: null,
patientId: '',
openid: null,
//
orderType: 'HEALTH_CONSULTATION',
orderStatus: 'WAIT_PAY',
// orderTypeList: [
// 'INTEGRAL_EXCHANGE',//
// 'DIRECT_BUY',
// ],
// orderStatus: '',
pageSize: 15,
pageNum: 1,
goodsName: '',
}
}else if(options.delta=='1'){
this.orderTypeList={
goodsOrderId: null,
patientId: '',
openid: null,
//
// orderType: 'HEALTH_CONSULTATION',
// orderStatus: 'WAIT_PAY',
orderTypeList: [
'INTEGRAL_EXCHANGE',//
'DIRECT_BUY',
],
// orderStatus: '',
pageSize: 15,
pageNum: 1,
goodsName: '',
}
}
console.log(options,'88')
this.baseurl = baseurl
this.orderTypeList.goodsOrderId = options.goodsOrderId