diff --git a/src/assets/js/utils/data-dictionary.js b/src/assets/js/utils/data-dictionary.js index c04257556..534abbd18 100644 --- a/src/assets/js/utils/data-dictionary.js +++ b/src/assets/js/utils/data-dictionary.js @@ -1066,7 +1066,7 @@ export default { text: '是' }, { - id: 2, + id: 0, text: '否' } ], diff --git a/src/components/ebiz/customer/formBlock.vue b/src/components/ebiz/customer/formBlock.vue index a4e2fc211..a4784cd9e 100644 --- a/src/components/ebiz/customer/formBlock.vue +++ b/src/components/ebiz/customer/formBlock.vue @@ -92,7 +92,7 @@ 新市民身份 - + diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index 8b7231902..3bf7ebcad 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -178,7 +178,7 @@ 新市民身份 - + @@ -1081,7 +1081,7 @@ export default { async nextStep() { //表单校验, 成功跳转 let valid = await this.$validator.validate() - if(!this.userInfo.isNewPeopleFlag && this.manageComCode == '45'){ + if(this.userInfo.isNewPeopleFlag === '' && this.manageComCode == '45'){ this.$toast('新市民身份不能为空') return false } diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index 34b901329..9e7b993eb 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -213,7 +213,7 @@ 新市民身份 - + @@ -1380,7 +1380,7 @@ export default { //下一步 async nextStep() { let valid = await this.$validator.validate() - if(!this.userInfo.isNewPeopleFlag && this.manageComCode == '45'){ + if(this.userInfo.isNewPeopleFlag === '' && this.manageComCode == '45'){ this.$toast('新市民身份不能为空') return false }