建议书转投保校验工作单位报错问题修改

This commit is contained in:
mengxiaolong
2020-11-05 09:58:39 +08:00
parent 35e6603624
commit a77cde4aaf

View File

@@ -1090,13 +1090,15 @@ export default {
// 职业 学龄前儿童 2099908 离休人员 8000003家庭主妇 4071203无业人员 8000001 // 职业 学龄前儿童 2099908 离休人员 8000003家庭主妇 4071203无业人员 8000001
// 亲,您填写的工作单位过于简短哦~ // 亲,您填写的工作单位过于简短哦~
if ( // if (
this.userInfo.occupationCode == '2099908' || // this.userInfo.occupationCode == '2099908' ||
this.userInfo.occupationCode == '8000003' || // this.userInfo.occupationCode == '8000003' ||
this.userInfo.occupationCode == '4071203' || // this.userInfo.occupationCode == '4071203' ||
this.userInfo.occupationCode == '8000001' // this.userInfo.occupationCode == '8000001'
) { // ) {
} else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') { // }
let workcompany = this.userInfo.workcompany
if (!workcompany || (workcompany.length < 6 && workcompany.trim() != '无')) {
// await this.asyncToast('亲,您填写的工作单位过于简短哦~') // await this.asyncToast('亲,您填写的工作单位过于简短哦~')
this.userInfo.workcompany = '无' this.userInfo.workcompany = '无'
// await this.$dialog.confirm({ // await this.$dialog.confirm({