From 43c695787fd8ec6d25fb9960176e786d7ae7f2cb Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Mon, 9 Sep 2024 16:17:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E7=A8=8E=E7=A5=A8=E5=8F=B7=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRequestMain.data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts index e4fffc60d..a5be28f5d 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts @@ -1613,7 +1613,7 @@ function validateTaxRate(rule, value, callback) { const validateGoldenTaxInvoiceNumber = (rule, value, callback) => { const reg = /^[1-9][0-9]*$/ - if (!reg||reg.test(value)) { + if (!value||reg.test(value)) { callback() }else{ callback(new Error('只能是数字'))