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({