投保流程 被保人新市民必填校验逻辑修改

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-09-25 15:59:13 +08:00
parent fb15fc8cd4
commit e8fbcc33c0

View File

@@ -1324,7 +1324,7 @@ export default {
async nextStep() {
let valid = await this.$validator.validate()
if(this.manageComCode == '45'){
if(this.userInfo.isNewPeopleFlag !== '0' || this.userInfo.isNewPeopleFlag !== '1'){
if(this.userInfo.isNewPeopleFlag == '' || this.userInfo.isNewPeopleFlag == null || this.userInfo.isNewPeopleFlag == undefined){
this.$toast('新市民身份不能为空')
return false
}