受益人页面订单号缺失问题

This commit is contained in:
lyt
2023-04-04 10:08:38 +08:00
committed by liu.xiaofeng@ebiz-digits.com
parent b951837445
commit ab3493bfa2

View File

@@ -193,7 +193,7 @@ export default {
}, },
async created() { async created() {
// this.$store.commit('updateAnswerType', false ) // this.$store.commit('updateAnswerType', false )
let res= await getOrderDetail({ orderNo: localStorage.orderNo }) let res= await getOrderDetail({ orderNo: this.$route.query.orderNo })
// getOrderDetail({ orderNo: `8186270000000036` }).then(res => { // getOrderDetail({ orderNo: `8186270000000036` }).then(res => {
if (res.result == 0) { if (res.result == 0) {
//投被保险人关系 //投被保险人关系
@@ -659,7 +659,7 @@ export default {
orderType: 'IMPART_ORDER', orderType: 'IMPART_ORDER',
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo'), orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0] productCode: JSON.parse(localStorage.mainRiskCodes)[0]
}, },
@@ -718,7 +718,7 @@ export default {
orderType: 'IMPART_ORDER', orderType: 'IMPART_ORDER',
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo'), orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0] productCode: JSON.parse(localStorage.mainRiskCodes)[0]
}, },
@@ -752,7 +752,7 @@ export default {
orderType: 'IMPART_ORDER', orderType: 'IMPART_ORDER',
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo'), orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0] productCode: JSON.parse(localStorage.mainRiskCodes)[0]
}, },