From f9bcf7d77157b33fffd618ba6a90dc3e22bffa2c Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Thu, 25 Jan 2024 15:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E5=B9=B3=E9=99=A9=E5=92=8C=E6=84=8F?= =?UTF-8?q?=E5=A4=96=E9=99=A9=E5=8D=A1=E5=8D=95=E6=8A=95=E4=BF=9D=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=A2=9E=E5=8A=A0=E5=A4=96=E5=9B=BD=E4=BA=BA=E6=B0=B8?= =?UTF-8?q?=E4=B9=85=E5=B1=85=E4=BD=8F=E8=AF=81=E7=9A=84=E8=A7=84=E5=88=99?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/cardList/information.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/ebiz/cardList/information.vue b/src/views/ebiz/cardList/information.vue index 0a0910a42..5221047b8 100644 --- a/src/views/ebiz/cardList/information.vue +++ b/src/views/ebiz/cardList/information.vue @@ -601,8 +601,7 @@ >元 - + @@ -675,6 +674,7 @@ import Vue from 'vue' import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant' import riskRules from '../common/risk-rules' import occupationList from '@/components/ebiz/occipation/data/occupation' +import {idNoCheck8} from "../sale/js/verification"; DataDictionary.relationToAppnt = DataDictionary.relationToAppnt.slice(0, 4) Vue.use(Checkbox).use(CheckboxGroup) @@ -2055,6 +2055,16 @@ export default { // return this.$toast('户口本的证件号码长度应等于18位') // } } + else if (this.userInfo.idType == '8') { + if (idNoCheck8(this.userInfo,'cardList').text){ + return this.$toast(idNoCheck8(this.userInfo,'cardList').text) + } + } + else if (this.insuredInfo.idType == '8') { + if (idNoCheck8(this.insuredInfo,'cardList').text){ + return this.$toast(idNoCheck8(this.insuredInfo,'cardList').text) + } + } let insuredAge = utilsAge.getAge(this.insuredInfo.birthday, new Date()) console.log('计算年龄', insuredAge) //如果证件类型是身份证或户口本