From 574cb4bf0cddbbf22b3aa38b735bb757d46beeac Mon Sep 17 00:00:00 2001 From: liyuetong Date: Tue, 3 Aug 2021 09:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E4=BF=9D=E4=BA=BA=E5=92=8C=E8=A2=AB?= =?UTF-8?q?=E4=BF=9D=E9=99=A9=E4=BA=BA=E7=9A=84=E8=AF=81=E4=BB=B6=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=EF=BC=88=E8=AF=81=E4=BB=B6=E5=8F=B7=E7=A0=81=E3=80=81?= =?UTF-8?q?=E8=AF=81=E4=BB=B6=E7=B1=BB=E5=9E=8B=EF=BC=89=E7=9B=B8=E5=90=8C?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=85=B3=E7=B3=BB=E5=8F=AA=E8=83=BD=E6=98=AF?= =?UTF-8?q?=E6=9C=AC=E4=BA=BA=EF=BC=8C=E5=BD=93=E6=98=AF=E6=8A=95=E4=BF=9D?= =?UTF-8?q?=E4=BA=BA=E7=9A=84=E6=9E=9A=E4=B8=BE=E4=B8=BA=E9=9D=9E=E6=9C=AC?= =?UTF-8?q?=E4=BA=BA=EF=BC=88=E9=85=8D=E5=81=B6=E3=80=81=E7=88=B6=E6=AF=8D?= =?UTF-8?q?=E3=80=81=E5=AD=90=E5=A5=B3=E3=80=81=E5=85=B6=E4=BB=96=EF=BC=89?= =?UTF-8?q?=EF=BC=8C=E4=BD=86=E8=AF=81=E4=BB=B6=E5=8F=B7=E7=A0=81=E5=92=8C?= =?UTF-8?q?=E6=9C=AC=E4=BA=BA=E7=9B=B8=E5=90=8C=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E3=80=90=E4=B8=8B=E4=B8=80=E6=AD=A5=E3=80=91=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E6=8A=95=E4=BF=9D=E4=BA=BA=E5=92=8C=E8=A2=AB=E4=BF=9D=E4=BA=BA?= =?UTF-8?q?=E5=85=B3=E7=B3=BB=E4=B8=8D=E6=98=AF=E6=9C=AC=E4=BA=BA=EF=BC=8C?= =?UTF-8?q?=E8=AF=81=E4=BB=B6=E5=8F=B7=E7=A0=81=E4=B8=8D=E5=8F=AF=E4=B8=80?= =?UTF-8?q?=E8=87=B4=EF=BC=8C=E8=AF=B7=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/cardList/information.vue | 10 ++++++---- src/views/ebiz/sale/InsuredPerson.vue | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/views/ebiz/cardList/information.vue b/src/views/ebiz/cardList/information.vue index 65d61735c..f8b00be85 100644 --- a/src/views/ebiz/cardList/information.vue +++ b/src/views/ebiz/cardList/information.vue @@ -1616,10 +1616,12 @@ export default { return this.$toast('当前投保人是被保险人的父母,投保人年龄需大于被保险人年龄') } } - - //投保人和被保险人的证件信息(证件号码、证件类型)相同时,关系只能是本人,当“是投保人的”枚举为非本人(配偶、父母、子女、其他),但证件号码和本人相同,点击【下一步】提示“投保人和被保人关系不是本人,证件号码不可一致,请修改。” - if(this.userInfo.idNo == this.insuredInfo.idNo && this.userInfo.idType == this.insuredInfo.idType){ - return this.$toast('投保人和被保人关系不是本人,证件号码不可一致,请修改。') + if (this.userInfo.relationToInsured != '1') { + //投被保人关系不是本人 + //投保人和被保险人的证件信息(证件号码、证件类型)相同时,关系只能是本人,当“是投保人的”枚举为非本人(配偶、父母、子女、其他),但证件号码和本人相同,点击【下一步】提示“投保人和被保人关系不是本人,证件号码不可一致,请修改。” + if(this.userInfo.idNo == this.insuredInfo.idNo && this.userInfo.idType == this.insuredInfo.idType){ + return this.$toast('投保人和被保人关系不是本人,证件号码不可一致,请修改。') + } } this.infoUpdate() diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index 8d1cb2f84..83666923b 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -1291,10 +1291,12 @@ export default { // }) } } - - //投保人和被保险人的证件信息(证件号码、证件类型)相同时,关系只能是本人,当“是投保人的”枚举为非本人(配偶、父母、子女、其他),但证件号码和本人相同,点击【下一步】提示“投保人和被保人关系不是本人,证件号码不可一致,请修改。” - if(this.userInfo.idNo == JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).idNo && this.userInfo.idType == JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).idType){ - return this.$toast('投保人和被保人关系不是本人,证件号码不可一致,请修改。') + if (this.userInfo.relationToAppnt != '1') { + //投被保人关系不是本人 + //投保人和被保险人的证件信息(证件号码、证件类型)相同时,关系只能是本人,当“是投保人的”枚举为非本人(配偶、父母、子女、其他),但证件号码和本人相同,点击【下一步】提示“投保人和被保人关系不是本人,证件号码不可一致,请修改。” + if(this.userInfo.idNo == JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).idNo && this.userInfo.idType == JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).idType){ + return this.$toast('投保人和被保人关系不是本人,证件号码不可一致,请修改。') + } } // if (this.userInfo.marriage == '1') {