From 1a4f1f7edfc0ee984d0398bad09e1a998c05b2b1 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Sat, 5 Sep 2020 17:35:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=8F=91=E7=A5=A8=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E8=BA=AB=E4=BB=BD=E8=AF=81=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pageE/more/EditInvoice.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pageE/more/EditInvoice.vue b/pageE/more/EditInvoice.vue index 7d0dc65..0c85ea5 100644 --- a/pageE/more/EditInvoice.vue +++ b/pageE/more/EditInvoice.vue @@ -108,6 +108,10 @@ export default { this.$u.toast('身份证号不可为空'); return false; } + if(!this.$u.test.idCard(this.idCard)) { + this.$u.toast('请正确填写身份证号'); + return false; + } } else { if(this.$u.test.isEmpty(this.title)) { this.$u.toast('发票抬头不可为空');