Files
luo 85d158dfec
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m45s
feat: order-export,generation,status
2026-06-17 17:46:04 +08:00

21 lines
938 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Change: 新增资产业务状态和世代编号字段
## Why
后端已在 IoT 卡和设备的资产详情接口中新增 `asset_status`(业务状态)和 `generation`(资产世代编号)字段,前端需要展示这些字段供运营人员查看。
## What Changes
- 资产信息详情新增 `asset_status``asset_status_name` 字段展示业务状态1:在库, 2:已销售, 3:已换货, 4:已停用)
- 资产信息详情新增 `generation` 字段展示资产世代编号初始值1每次换货转新后+1
- 相关格式化函数更新以支持新字段
## Impact
- Affected specs:
- `asset-information`
- Affected code:
- `src/views/asset-management/asset-information/types.ts` - AssetInfo 接口
- `src/views/asset-management/asset-information/components/BasicInfoCard.vue` - 详情展示
- `src/views/asset-management/asset-information/composables/useAssetFormatters.ts` - 格式化函数