From b32d56fc97821426efefa58acad0f5010c66d946 Mon Sep 17 00:00:00 2001
From: tangjie <122778500@qq.com>
Date: Mon, 13 Jul 2026 15:57:17 +0800
Subject: [PATCH] fix
---
.../PersonnelInfo/List/index.js | 26 +++++++++----------
.../QualApplication/FilingForm/index.js | 12 +++++++++
2 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
index ccf37d8..9cf08ec 100644
--- a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
+++ b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
@@ -531,10 +531,10 @@ function StaffFormModal({
label="账号"
rules={[
mobileRule("账号", true),
- { max: 50, message: "账号不能超过50个字符" },
+
]}
>
-
+
@@ -624,9 +624,9 @@ function StaffFormModal({
-
+
@@ -683,18 +683,18 @@ function StaffFormModal({
-
+
-
+
@@ -703,7 +703,7 @@ function StaffFormModal({
label="主要学习工作经历"
>
-
+
@@ -718,18 +718,18 @@ function StaffFormModal({
-
+
-
+
diff --git a/src/pages/Container/QualApplication/FilingForm/index.js b/src/pages/Container/QualApplication/FilingForm/index.js
index 43ddbf3..7a46893 100644
--- a/src/pages/Container/QualApplication/FilingForm/index.js
+++ b/src/pages/Container/QualApplication/FilingForm/index.js
@@ -162,6 +162,18 @@ function FilingFormPage(props) {
setSubmitting(true);
const currentDetail = collectCurrentDetail();
+ if (!currentDetail?.personnelList?.length) {
+ message.warning("请至少添加一位备案人员");
+ setActiveStep("personnel");
+ setSubmitting(false);
+ return;
+ }
+ if (!currentDetail?.equipmentList?.length) {
+ message.warning("请至少添加一条装备清单");
+ setActiveStep("equipment");
+ setSubmitting(false);
+ return;
+ }
const word = mode === "change" ? "Change" : "";
const body = {
[`qualFiling${word}AddCmd`]: {