From e1362d14a21ece2584245dbd952b0a923a0438aa Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Fri, 22 Sep 2023 15:12:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=B8=82=E6=B0=91=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA0=E5=90=A61=E6=98=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/utils/data-dictionary.js | 2 +- src/components/ebiz/customer/formBlock.vue | 2 +- src/views/ebiz/sale/InsuredInfo.vue | 4 ++-- src/views/ebiz/sale/InsuredPerson.vue | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) 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 }