mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 23:02:52 +08:00
Merge branch 'dev_product' into dev
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
@blur="checkAvoirdupois(userInfo.avoirdupois)"
|
||||
/>
|
||||
<div class="p15 fs14">
|
||||
<van-radio-group v-model="userInfo.isElecCont" class="flex">
|
||||
<van-radio-group v-model="isElecCont" class="flex">
|
||||
<label>保单形式</label>
|
||||
<van-radio name="0" class="ml30">电子</van-radio>
|
||||
<van-radio name="2" class="ml20">电子+纸质</van-radio>
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user