This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Order list purchased package name display
|
||||
|
||||
The order list SHALL display `资产标识符` immediately after `订单编号`, followed by a `购买套餐名称` column. The package-name column MUST render package names from the current row's `items` in their API-returned order and MUST join multiple names with `、`.
|
||||
|
||||
#### Scenario: Order contains multiple purchased packages
|
||||
|
||||
- **GIVEN** an order response whose `items` contains package names `正式套餐` and `加油包33`
|
||||
- **WHEN** the order is rendered in the order list
|
||||
- **THEN** `资产标识符` MUST be positioned between `订单编号` and `购买套餐名称`
|
||||
- **AND** the `购买套餐名称` column MUST display `正式套餐、加油包33`
|
||||
- **AND** the order-number column MUST retain its existing navigation behavior
|
||||
|
||||
#### Scenario: Order has no available package names
|
||||
|
||||
- **GIVEN** an order response with `items=null`, an empty item list, or item records without usable names
|
||||
- **WHEN** the order is rendered in the order list
|
||||
- **THEN** the `购买套餐名称` column MUST display the standard placeholder
|
||||
Reference in New Issue
Block a user