From a77cde4aafb282c57ed39eae04d785534be75fc9 Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Thu, 5 Nov 2020 09:58:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=BA=E8=AE=AE=E4=B9=A6=E8=BD=AC=E6=8A=95?= =?UTF-8?q?=E4=BF=9D=E6=A0=A1=E9=AA=8C=E5=B7=A5=E4=BD=9C=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/InsuredInfo.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index e8b3a3da1..d63eda40a 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -1090,13 +1090,15 @@ export default { // 职业 学龄前儿童 2099908, 离休人员 8000003,家庭主妇 4071203,无业人员 8000001, // 亲,您填写的工作单位过于简短哦~ - if ( - this.userInfo.occupationCode == '2099908' || - this.userInfo.occupationCode == '8000003' || - this.userInfo.occupationCode == '4071203' || - this.userInfo.occupationCode == '8000001' - ) { - } else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') { + // if ( + // this.userInfo.occupationCode == '2099908' || + // this.userInfo.occupationCode == '8000003' || + // this.userInfo.occupationCode == '4071203' || + // this.userInfo.occupationCode == '8000001' + // ) { + // } + let workcompany = this.userInfo.workcompany + if (!workcompany || (workcompany.length < 6 && workcompany.trim() != '无')) { // await this.asyncToast('亲,您填写的工作单位过于简短哦~') this.userInfo.workcompany = '无' // await this.$dialog.confirm({