订单详情
This commit is contained in:
parent
d2e489efc8
commit
13ae5ab43d
@ -491,7 +491,7 @@
|
|||||||
title: '取消支付',
|
title: '取消支付',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration: 1000,
|
duration: 1000,
|
||||||
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${id}`
|
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${id}&delta=${1}`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -348,7 +348,7 @@
|
|||||||
}
|
}
|
||||||
that.timer = setTimeout(e => {
|
that.timer = setTimeout(e => {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${that.id}`
|
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${that.id}&delta=${2}`
|
||||||
})
|
})
|
||||||
}, 1500)
|
}, 1500)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -161,11 +161,13 @@
|
|||||||
goodsOrderId: null,
|
goodsOrderId: null,
|
||||||
patientId: '',
|
patientId: '',
|
||||||
openid: null,
|
openid: null,
|
||||||
// orderType: 'HEALTH_CONSULTATION',
|
// 健康咨询
|
||||||
// orderStatus: 'WAIT_PAY',
|
orderType: '',
|
||||||
|
orderStatus: '',
|
||||||
|
|
||||||
|
|
||||||
orderTypeList: [
|
orderTypeList: [
|
||||||
'INTEGRAL_EXCHANGE',//商城
|
|
||||||
'DIRECT_BUY',
|
|
||||||
],
|
],
|
||||||
// orderStatus: '',
|
// orderStatus: '',
|
||||||
pageSize: 15,
|
pageSize: 15,
|
||||||
@ -314,6 +316,49 @@
|
|||||||
this.goodsOrderinfo()
|
this.goodsOrderinfo()
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
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')
|
console.log(options,'88')
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
this.orderTypeList.goodsOrderId = options.goodsOrderId
|
this.orderTypeList.goodsOrderId = options.goodsOrderId
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user