From 19242fdc5a376e7ad56b68c44b8daa2dc940f6c2 Mon Sep 17 00:00:00 2001 From: yuweiqi Date: Wed, 29 Apr 2020 13:04:56 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E8=A7=A3=E5=86=B3=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E6=8F=90=E4=BA=A4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/InsuredInfo.vue | 9 --------- src/views/ebiz/sale/InsuredPerson.vue | 8 -------- 2 files changed, 17 deletions(-) diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index 7f6795d68..d17fc6930 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -751,10 +751,6 @@ export default { if (this.userInfo.idType == '1') { this.effectiveDateTypeAble = !(age > 45) } - //如果年龄小于等于16岁,工作单位默认值为‘无’ - if (age <= 16) { - this.userInfo.workcompany = this.userInfo.workcompany || '无' - } } break } @@ -1286,11 +1282,6 @@ export default { this.effectiveDateTypeAble = idToData(val).age <= 45 this.userInfo.birthday = idToData(val).birthday this.userInfo.sex = idToData(val).sex - console.log('111 = ', idToData(val).age <= 16) - if (idToData(val).age <= 16) { - //年龄小于等于16岁,默认工作单位为无 - this.userInfo.workcompany = this.userInfo.workcompany || '无' - } if (idToData(val).age > 45) { if (source) { this.userInfo.effectiveDateType = true diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index 439137055..bcabde6e3 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -1011,10 +1011,6 @@ export default { // this.userInfo.marriage = '' } } - //如果年龄小于等于16岁,工作单位默认值为‘无’ - if (age <= 16) { - this.userInfo.workcompany = this.userInfo.workcompany || '无' - } //出生证有效期 // if (this.userInfo.idType == '3') { // if (Date.parse(this.userInfo.certiexpiredate) - Date.parse(val) > Date.parse('1973-01-01')) { @@ -1659,10 +1655,6 @@ export default { this.userInfo.marriage = '' } } - if (idToData(val).age <= 16) { - //年龄小于等于16岁,默认工作单位为无 - this.userInfo.workcompany = this.userInfo.workcompany || '无' - } if (idToData(val).age > 45) { // this.idLimit = true // this.isRequired = false