diff --git a/src/views/ebiz/insureAgain/InsureInformation.vue b/src/views/ebiz/insureAgain/InsureInformation.vue index f3d56ac46..e9adbfb6c 100644 --- a/src/views/ebiz/insureAgain/InsureInformation.vue +++ b/src/views/ebiz/insureAgain/InsureInformation.vue @@ -221,7 +221,7 @@ export default { getReAppntPolicy({ policyNo: CacheUtils.getLocItem('policyNo') }).then(res => { if (res.result == 0) { //投保人信息返显 - CacheUtils.setLocItem('orderDetailData', res) + CacheUtils.setLocItem('orderDetailData', JSON.stringify(res)) this.userInfo = res.orderDTO.appntDTO this.setCustomerMarriage(res.orderDTO.appntDTO.marriage) //是否长期 diff --git a/src/views/ebiz/insureAgain/ProductInformation.vue b/src/views/ebiz/insureAgain/ProductInformation.vue index 4ddb72e8d..3c5a744fb 100644 --- a/src/views/ebiz/insureAgain/ProductInformation.vue +++ b/src/views/ebiz/insureAgain/ProductInformation.vue @@ -13,7 +13,7 @@
{{item2.dutyName}} @@ -141,8 +141,10 @@ export default { } }, created() { - // this.getReAppntPolicy() - let res = CacheUtils.getLocItem('orderDetailData') + // this.getReAppntPolicy() + let res = JSON.parse(CacheUtils.getLocItem('orderDetailData')) + console.log(CacheUtils.getLocItem('orderDetailData')); + return false; this.insuredDTOs = res.orderDTO.insuredDTOs[0] this.orderInfoDTO = res.orderDTO.orderInfoDTO this.riskDTOLst = this.insuredDTOs.riskDTOLst @@ -173,6 +175,8 @@ export default { this.additionalList.push(element) } }) + + console.log(this.mainList, '===============this.mainList') }, methods: { // getReAppntPolicy() {