Files
one-pipe-system/openspec/changes/add-order-list-purchased-package-names/proposal.md
luo 01cddd7eda
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m46s
fix:bug
2026-09-08 10:59:38 +08:00

18 lines
914 B
Markdown

# Change: Add purchased package names to the order list
## Why
Order list records already include their purchased line items, but operators cannot identify the purchased packages without opening the order detail. Showing these names next to the order number makes multi-package orders immediately understandable.
## What Changes
- Place the existing `资产标识符` column immediately after `订单编号`, followed by a `购买套餐名称` column in the order list.
- Render `items[].package_name` in the API-returned order, joining multiple item names with the Chinese enumeration separator `、`.
- Show a placeholder when an order has no returned items or no usable package name.
## Impact
- Affected specs: `order-list-purchased-package-names`
- Affected code: `src/views/order-management/order-list/index.vue`
- Dependencies: `GET /api/admin/orders` returns `items` with each item's `package_name`.