卡单支付结果页面展示内容信息补全

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2024-04-10 16:39:54 +08:00
parent 825e8ef231
commit 79a8edb1b1

View File

@@ -211,8 +211,9 @@ export default {
this.queryPayState()
}
this.card.orderNo = window.localStorage.getItem('orderNo')
this.card.insuredName = JSON.parse(JSON.stringify(window.sessionStorage.getItem('orderDetail'))).insuredDTOs[0].name
this.card.insuredName = JSON.parse(JSON.stringify(window.sessionStorage.getItem('orderDetail'))).insuredDTOs[0].riskDTOLst[0].cvaliDate
let orderDetail = JSON.parse(sessionStorage.orderDetail)
this.card.insuredName = orderDetail.insuredDTOs[0].name
this.card.cvalidate = orderDetail.insuredDTOs[0].riskDTOLst[0].cvaliDate
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''