diff --git a/frontend/admin-web/src/components/features/system-account-report/SystemAccountsTab.tsx b/frontend/admin-web/src/components/features/system-account-report/SystemAccountsTab.tsx index 43e9b4eb..39171760 100644 --- a/frontend/admin-web/src/components/features/system-account-report/SystemAccountsTab.tsx +++ b/frontend/admin-web/src/components/features/system-account-report/SystemAccountsTab.tsx @@ -350,6 +350,9 @@ function FixedAccountsSection({ data }: { data: SystemAccountReportResponse['fix const accountLedger = allLedgerData.fixedAccountsLedger.find( (item) => item.accountSequence === accountSequence ); + // [2026-01-07] 调试:验证数据匹配是否正确 + console.log('[getAccountLedger] 查找:', accountSequence, '→ 找到:', accountLedger?.accountSequence, '条数:', accountLedger?.ledger?.length); + console.log('[getAccountLedger] 后端返回的账户列表:', allLedgerData.fixedAccountsLedger.map(l => ({ seq: l.accountSequence, type: l.accountType, count: l.ledger?.length }))); return accountLedger?.ledger || []; };