Merge branch 'hotfix/建议书转投保校验工作单位报错问题修改' into release/1106

# Conflicts:
#	src/views/ebiz/sale/InsuredInfo.vue
This commit is contained in:
mengxiaolong
2020-11-06 15:46:34 +08:00

View File

@@ -1102,7 +1102,17 @@ export default {
return this.$toast('学生不可以作为投保人,请更换投保人投保')
}
if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') {
// 职业 学龄前儿童 2099908 离休人员 8000003家庭主妇 4071203无业人员 8000001
// 亲,您填写的工作单位过于简短哦~
// 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() != '无')) {
this.userInfo.workcompany = '无'
}