Browse Source

金税票号可空

hella_online_20240911
yufei_wang 3 months ago
parent
commit
17f0846604
  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 reg = /^[1-9][0-9]*$/
if (reg.test(value)) {
if (!reg||reg.test(value)) {
callback()
}else{
callback(new Error('只能是数字'))

Loading…
Cancel
Save