1.1 KiB
1.1 KiB
Change: Add asset links to main wallet transactions
Why
The agent fund overview detail drawer shows main wallet transaction records, but users cannot identify or navigate to the related asset for deductions tied to asset activity. The backend now returns asset_identifier from GET /api/admin/shops/{shop_id}/main-wallet/transactions, so the UI should expose it.
What Changes
- Add an "资产标识" column to the "预充值钱包流水" table inside the agent fund overview commission detail drawer.
- Read and type the new
asset_identifierresponse field from main wallet transaction rows. - Render non-empty asset identifiers as clickable links that navigate to the asset information page for that identifier.
- Render empty asset identifiers as
-and do not make them clickable.
Impact
- Affected specs:
commission-management - Affected code:
src/types/api/commission.tssrc/views/commission-management/agent-fund-overview/index.vue- Asset information route query handling is reused via
RoutesAlias.AssetInformationandidentifiersearch behavior.