diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index cfd1e6acb..caf93483d 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -109,7 +109,7 @@ @blur="checkAvoirdupois(userInfo.avoirdupois)" />
- + 电子 电子+纸质 @@ -378,6 +378,7 @@ export default { setDefaultAddress: false, //设为联系地址 sessionId: '', //后台返回的 id effectiveDateTypeAble: false, //长期按钮是否禁用 + isElecCont: '', // 保单类型 0 为电子 2 为纸质加电子 userInfo: { name: '', //投保人姓名 sex: '0', //投保人性别 @@ -405,7 +406,6 @@ export default { workcompany: '', //工作单位 province: '', jobStatus: '', //在职情况 - isElecCont: '', // 保单类型 0 为电子 2 为纸质加电子 area: '', marriage: '', //婚姻状况 familyAnnualIncome: '', //家庭年收入 @@ -439,7 +439,7 @@ export default { created() { // document.body.style.backgroundColor = '#F5F5F5' //如果是编辑进来 - this.userInfo.isElecCont = '0' + this.isElecCont = '0' if (this.$route.query.edit) { getOrderDetail({ orderNo: localStorage.orderNo }).then(res => { if (res.result == 0) { @@ -690,7 +690,7 @@ export default { this.userInfo.homePhone = data.homePhone //家庭电话 this.userInfo.householdProvince = data.province //户籍省 this.userInfo.householdCity = data.city //户籍市 - this.userInfo.isElecCont = data.isElecCont || '0' //保单形式 + this.isElecCont = data.isElecCont || '0' //保单形式 if (data.province.length) { this.census = getAreaName([{ code: data.province }, { code: data.city }]) //户籍 } @@ -894,7 +894,7 @@ export default { orderDTO: { orderInfoDTO: { orderNo: localStorage.orderNo, - isElecCont: this.userInfo.isElecCont + isElecCont: this.isElecCont }, smsCodeDTO: { smsId: this.sessionId, code: this.userInfo.authCode }, appntDTO: {} @@ -906,7 +906,7 @@ export default { // system: 'agentApp', // operateCodeType: '0' // } - delete this.userInfo.isElecCont + params.orderDTO.appntDTO = this.userInfo let resultData = await saveOrUpdateOrderInfo(params) if (resultData.result == 0) {