From 6866491a0692cfbb2d195f15f02d1e37894d198b Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Wed, 15 May 2024 18:29:57 +0800 Subject: [PATCH] =?UTF-8?q?task#13769,=E4=BA=BA=E5=91=98=E5=BD=95=E5=85=A5?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=BC=B9=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/driverAdd.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/index/driverAdd.vue b/src/views/index/driverAdd.vue index 8f37fe74..eae32deb 100644 --- a/src/views/index/driverAdd.vue +++ b/src/views/index/driverAdd.vue @@ -264,6 +264,7 @@ export default { } let bbb=this.driverName.replace(/[^\u4e00-\u9fff]+/g, ''); if( this.drivingLicenceName && aaa != bbb ) { + this.$toast('aaa1',aaa,bbb) this.$toast('身份证信息与驾驶证信息不匹配') } }, @@ -310,6 +311,7 @@ export default { } let bbb = this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, ''); if( this.driverName && bbb != aaa ) { + this.$toast('aaa2',aaa,bbb) this.$toast('身份证信息与驾驶证信息不匹配') } } @@ -333,7 +335,9 @@ export default { } let drivingLicenceName=this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, ''); let driverName=this.driverName.replace(/[^\u4e00-\u9fff]+/g, ''); + if( drivingLicenceName != driverName ) { + this.$toast('aaa3',drivingLicenceName,driverName) this.$toast('身份证信息与驾驶证信息不匹配闫杰') return }