Files
one-pipe-system/openspec/changes/update-batch-range-count-hints-formatting/proposal.md
sexygoat 59167d2630
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m19s
feat: 卡/设备是否有生效套餐
2026-05-19 15:14:39 +08:00

32 lines
1.6 KiB
Markdown
Raw 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 卡管理中的“批量分配”和“批量回收”已经支持按号段范围提交,但当前在输入起止 ICCID 后不会提示本次将覆盖多少张卡,运营人员仍需手动换算,容易误判批量范围。
同时,现有“批量设置套餐系列绑定”和“批量设置设备套餐系列绑定”虽然已经展示派生数量提示,但大范围操作时直接显示原始整数,可读性不足。需要将这些数量统一为带千分号的展示格式。
## What Changes
- 为 IoT 卡管理中的“批量分配”对话框新增号段范围派生数量提示,文案与现有系列绑定场景保持一致。
- 为 IoT 卡管理中的“批量回收”对话框新增号段范围派生数量提示,文案与现有系列绑定场景保持一致。
- 将以下批量 range 提示中的数量统一为千分号格式展示,例如 `1,000`
- IoT 卡“批量分配”
- IoT 卡“批量回收”
- IoT 卡“批量设置套餐系列绑定”
- 设备“批量设置设备套餐系列绑定”
- 不调整后端接口、请求参数或返回结构,仅补充前端展示与交互约束。
## Impact
- Affected specs:
- `iot-card-management`
- `iot-card-series-binding`
- `device-series-binding`
- Affected code:
- `src/views/asset-management/iot-card-management/index.vue`
- `src/views/asset-management/device-list/index.vue`
- Related changes:
- `update-asset-carrier-status-and-range-allocation-hints`
- `update-batch-series-binding-contract`