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

29 lines
1.1 KiB
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.
## 1. Proposal Review
- [ ] 1.1 确认 `asset_status` 字段含义1:在库, 2:已销售, 3:已换货, 4:已停用
- [ ] 1.2 确认 `generation` 字段含义资产世代编号初始值1每次换货转新后+1
## 2. Type Updates
- [ ] 2.1 在 `AssetInfo` 接口中添加 `asset_status?: number`
- [ ] 2.2 在 `AssetInfo` 接口中添加 `asset_status_name?: string`
- [ ] 2.3 在 `AssetInfo` 接口中添加 `generation?: number`
## 3. Formatter Functions
- [ ] 3.1 在 `useAssetFormatters` 中添加 `getAssetStatusName` 函数(如果不存在)
- [ ] 3.2 在 `useAssetFormatters` 中添加 `getAssetStatusType` 函数(如果不存在)
## 4. BasicInfoCard Component
- [ ] 4.1 在卡信息区域添加「业务状态」展示行
- [ ] 4.2 在卡信息区域添加「资产世代」展示行
- [ ] 4.3 在设备信息区域添加「业务状态」展示行
- [ ] 4.4 在设备信息区域添加「资产世代」展示行
## 5. Verification
- [ ] 5.1 验证 IoT 卡详情页正确显示业务状态和世代编号
- [ ] 5.2 验证设备详情页正确显示业务状态和世代编号
- [ ] 5.3 验证格式化函数正确处理各状态值