diff --git a/src/pages/Container/QualApplication/FilingForm/components/BasicInfoStep.jsx b/src/pages/Container/QualApplication/FilingForm/components/BasicInfoStep.jsx index e6be10a..157c3ff 100644 --- a/src/pages/Container/QualApplication/FilingForm/components/BasicInfoStep.jsx +++ b/src/pages/Container/QualApplication/FilingForm/components/BasicInfoStep.jsx @@ -38,7 +38,7 @@ export default function BasicInfoStep({ form, disabled }) { - + @@ -48,81 +48,146 @@ export default function BasicInfoStep({ form, disabled }) { - + - + - + - + - - + + - + - + + value === undefined || value === null || value === "" + ? Promise.resolve() + : /^\d{1,9}(\.\d{1,2})?$/.test(String(value)) + ? Promise.resolve() + : Promise.reject(new Error("整数最多9位,小数最多2位")), + }, + ]} > - + + value === undefined || value === null || value === "" + ? Promise.resolve() + : /^\d{1,9}(\.\d{1,2})?$/.test(String(value)) + ? Promise.resolve() + : Promise.reject(new Error("整数最多9位,小数最多2位")), + }, + ]} > - + - - + + value === undefined || value === null || value === "" + ? Promise.resolve() + : /^\d{1,9}(\.\d{1,2})?$/.test(String(value)) + ? Promise.resolve() + : Promise.reject(new Error("整数最多9位,小数最多2位")), + }, + ]} + > + - + - + - +