From 22f4df0fa2a295e934e47fbed6aef62f305492d0 Mon Sep 17 00:00:00 2001
From: tangjie <122778500@qq.com>
Date: Thu, 13 Aug 2026 12:54:53 +0800
Subject: [PATCH] fix
---
.../Supervision/BasicInfo/OrgAccount/index.js | 21 ++++++-------------
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/src/pages/Container/Supervision/BasicInfo/OrgAccount/index.js b/src/pages/Container/Supervision/BasicInfo/OrgAccount/index.js
index 2666fa2..ce2e515 100644
--- a/src/pages/Container/Supervision/BasicInfo/OrgAccount/index.js
+++ b/src/pages/Container/Supervision/BasicInfo/OrgAccount/index.js
@@ -30,6 +30,7 @@ import {
ORG_ACCOUNT_STATE_OPTIONS,
ENTERPRISE_STATUS_OPTIONS,
ENTERPRISE_STATUS_OPTIONS_MAP,
+ QUALIFICATION_INDUSTRY_OPTIONS_MAP
} from "~/enumerate/enterpriseOptions";
import { NS_ORG_INFO } from "~/enumerate/namespace";
import { safeListRequest, safeRequest } from "~/utils";
@@ -402,7 +403,9 @@ function OrgAccountPage(props) {
{detail.districtName}
- {detail.safetyIndustryCategoryName}
+ {(detail.safetyIndustryCategoryCode || [])
+ .map((code) => QUALIFICATION_INDUSTRY_OPTIONS_MAP[code] || code)
+ .join("、") || "-"}
{detail.businessAddress}
@@ -476,19 +479,7 @@ function OrgAccountPage(props) {
mode="multiple"
placeholder="请选择"
allowClear
- onChange={(values) => {
- const names = (values || [])
- .map(
- (v) =>
- QUALIFICATION_INDUSTRY_OPTIONS.find(
- (o) => o.value === v,
- )?.label,
- )
- .filter(Boolean);
- editForm.setFieldsValue({
- safetyIndustryCategoryName: names.join(","),
- });
- }}
+
>
{QUALIFICATION_INDUSTRY_OPTIONS.map((opt) => (
@@ -497,7 +488,7 @@ function OrgAccountPage(props) {
))}
-
+