Files
sexygoat 894aea0e74
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m56s
feat: 新增卡视角以及设备视角的实名同步时间,卡状态同步时间,流量同步时间
2026-05-18 12:23:35 +08:00

1.1 KiB

ADDED Requirements

Requirement: IoT Card Batch Series Binding Range Allocation Hint

The IoT card batch series binding dialog SHALL provide a derived allocation-count hint for ICCID range selection.

The hint MUST appear immediately below the iccid_start and iccid_end inputs.

The count MUST be computed with exact integer arithmetic as iccid_end - iccid_start + 1 so that long ICCID values do not lose precision.

Scenario: Show allocation count for a valid ICCID range

  • GIVEN 用户打开“批量设置套餐系列绑定”弹窗
  • AND 用户选择 selection_type="range"
  • WHEN 用户输入 iccid_starticcid_end,且计算结果为正整数
  • THEN 弹窗 MUST 显示 共分配xxx张卡
  • AND xxx MUST 等于 iccid_end - iccid_start + 1
  • AND 当任一端点变化时,提示 MUST 立即更新

Scenario: Hide count hint for incomplete or invalid ICCID ranges

  • GIVEN 用户选择 selection_type="range"
  • WHEN 任一起止 ICCID 为空、无法按整数计算,或计算结果小于 1
  • THEN 弹窗 MUST NOT 显示误导性的分配数量提示