From a3a84e7d2433b6b98f5e913f828a8b3705d5261f Mon Sep 17 00:00:00 2001
From: luotaiqian <1147642922@qq.com>
Date: Fri, 10 Jul 2026 09:52:23 +0800
Subject: [PATCH] bug fix
---
.../FilingForm/components/BasicInfoStep.jsx | 101 ++++++++++++++----
1 file changed, 83 insertions(+), 18 deletions(-)
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位")),
+ },
+ ]}
+ >
+
-
+
-
+
-
+