914 B
914 B
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_namein 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/ordersreturnsitemswith each item'spackage_name.