订单详情
This commit is contained in:
parent
d2e489efc8
commit
13ae5ab43d
@ -491,7 +491,7 @@
|
||||
title: '取消支付',
|
||||
type: 'error',
|
||||
duration: 1000,
|
||||
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${id}`
|
||||
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${id}&delta=${1}`
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
@ -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)
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user