26 lines
1.3 KiB
Markdown
26 lines
1.3 KiB
Markdown
## ADDED Requirements
|
|
|
|
### Requirement: Main Wallet Transaction Asset Identifier Link
|
|
|
|
The agent fund overview commission detail drawer SHALL display the `asset_identifier` returned by `GET /api/admin/shops/{shop_id}/main-wallet/transactions` in the "预充值钱包流水" table as "资产标识" and allow users to navigate from that value to the asset information page.
|
|
|
|
#### Scenario: Display asset identifier in main wallet transactions
|
|
|
|
- **WHEN** a user opens an agent's commission detail drawer
|
|
- **AND** selects the "预充值钱包流水" tab
|
|
- **AND** a transaction row contains a non-empty `asset_identifier`
|
|
- **THEN** the table displays that value in a column labeled "资产标识"
|
|
- **AND** the value is visually presented as a clickable link
|
|
|
|
#### Scenario: Navigate to asset information from asset identifier
|
|
|
|
- **WHEN** a user clicks a non-empty "资产标识" value in the "预充值钱包流水" table
|
|
- **THEN** the system navigates to the asset information page
|
|
- **AND** the asset information page searches or loads using the clicked asset identifier
|
|
|
|
#### Scenario: Empty asset identifier is not clickable
|
|
|
|
- **WHEN** a main wallet transaction row has no `asset_identifier`
|
|
- **THEN** the "资产标识" column displays `-`
|
|
- **AND** no navigation action is available for that cell
|