From 2a1d6a6bccb8ac37bf544aee8b6e6d3181f4b392 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 6 Jan 2026 21:44:34 -0800 Subject: [PATCH] =?UTF-8?q?feat(admin-web):=20=E7=B3=BB=E7=BB=9F=E5=88=92?= =?UTF-8?q?=E8=BD=AC=E9=A1=B5=E9=9D=A2=E4=B9=9F=E6=98=BE=E7=A4=BA=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E6=AD=A3=E5=BC=8F=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 账户卡片使用 getAccountDisplayName 显示名称和编码 - 订单列表源/目标账户显示正式名称 - 订单详情弹窗显示正式名称 - 确认划转弹窗显示正式名称 回滚方式:恢复原显示方式 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../app/(dashboard)/system-transfer/page.tsx | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/frontend/admin-web/src/app/(dashboard)/system-transfer/page.tsx b/frontend/admin-web/src/app/(dashboard)/system-transfer/page.tsx index fb5cdd11..ce498cdb 100644 --- a/frontend/admin-web/src/app/(dashboard)/system-transfer/page.tsx +++ b/frontend/admin-web/src/app/(dashboard)/system-transfer/page.tsx @@ -17,6 +17,7 @@ import { SystemAccount, getSystemWithdrawalStatusInfo, } from '@/types/system-withdrawal.types'; +import { getAccountDisplayName } from '@/types'; import styles from './system-transfer.module.scss'; type TabType = 'transfer' | 'orders'; @@ -172,8 +173,10 @@ export default function SystemTransferPage() { )} onClick={() => setSelectedAccount(account)} > -
{account.name}
-
{account.accountSequence}
+ {/* [2026-01-07] 更新:使用 getAccountDisplayName 显示账户名称和编码 */} +
+ {getAccountDisplayName(account.accountSequence)} +
{account.balance && (
余额: {parseFloat(account.balance).toFixed(2)} USDT @@ -342,17 +345,15 @@ export default function SystemTransferPage() {
{order.orderNo}
+ {/* [2026-01-07] 更新:使用 getAccountDisplayName 显示账户名称和编码 */}
- {order.fromAccountSequence} -
-
- {order.fromAccountName} + {getAccountDisplayName(order.fromAccountSequence)}
- {order.toAccountSequence} + {getAccountDisplayName(order.toAccountSequence)}
{order.toUserName && (
@@ -519,18 +520,13 @@ export default function SystemTransferPage() {
+ {/* [2026-01-07] 更新:使用 getAccountDisplayName 显示账户名称和编码 */}
源账户
- 账户序列: + 账户: - {viewingOrder.fromAccountSequence} - -
-
- 账户名称: - - {viewingOrder.fromAccountName} + {getAccountDisplayName(viewingOrder.fromAccountSequence)}
@@ -538,9 +534,9 @@ export default function SystemTransferPage() {
目标账户
- 账户序列: + 账户: - {viewingOrder.toAccountSequence} + {getAccountDisplayName(viewingOrder.toAccountSequence)}
@@ -662,17 +658,18 @@ export default function SystemTransferPage() {
请仔细核对划转信息,划转一旦提交将无法撤销。
+ {/* [2026-01-07] 更新:使用 getAccountDisplayName 显示账户名称和编码 */}
源账户: - {selectedAccount?.name} ({selectedAccount?.accountSequence}) + {selectedAccount ? getAccountDisplayName(selectedAccount.accountSequence) : '-'}
目标账户: - {transferForm.toAccountSequence} + {getAccountDisplayName(transferForm.toAccountSequence)}