Browse Source

金税票号校验

hella_online_20240911
yufei_wang 2 months ago
parent
commit
43c695787f
  1. 2
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

2
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -1613,7 +1613,7 @@ function validateTaxRate(rule, value, callback) {
const validateGoldenTaxInvoiceNumber = (rule, value, callback) => { const validateGoldenTaxInvoiceNumber = (rule, value, callback) => {
const reg = /^[1-9][0-9]*$/ const reg = /^[1-9][0-9]*$/
if (!reg||reg.test(value)) { if (!value||reg.test(value)) {
callback() callback()
}else{ }else{
callback(new Error('只能是数字')) callback(new Error('只能是数字'))

Loading…
Cancel
Save