feat: 接入新参数:套餐分配生效条件选择,资产详情前代后代换货标识
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 7m0s

This commit is contained in:
luo
2026-07-23 17:06:05 +08:00
parent d7c2c146fe
commit 5e15127a89
16 changed files with 230 additions and 56 deletions

View File

@@ -6,7 +6,7 @@
## 2. Allocation Expiry Condition UI
- [x] 2.1 在套餐授权/分配弹框提供“跟随套餐默认”“购买即生效”“实名生效”三选一。
- [x] 2.1 在套餐授权/分配弹框提供“跟随套餐默认”“购买即生效”“实名激活时生效”三选一。
- [x] 2.2 选择“跟随套餐默认”时显式提交 `expiry_base_override: null`
- [x] 2.3 在已分配套餐编辑弹框显示“仅影响后续新订单,不影响已购买套餐”提示。
- [x] 2.4 在已分配套餐详情或编辑弹框显示默认值、覆盖值和最终值的后端中文名称。
@@ -20,7 +20,7 @@
## 4. Policy Integrity and Verification
- [x] 4.1 前端不从默认值和覆盖值计算或修改 `effective_expiry_base`
- [x] 4.2 验证新建分配时三种选项分别提交 `null``from_purchase``from_realname`
- [x] 4.2 验证新建分配时三种选项分别提交 `null``from_purchase``from_activation`,且不提交 `from_realname`
- [x] 4.3 验证编辑覆盖值和恢复默认均只影响后续新订单,不影响已购买套餐。
- [x] 4.4 验证页面可区分默认值、覆盖值和最终生效条件,并正确显示后端中文名称。
- [x] 4.5 运行相关前端校验,并执行 `openspec validate update-package-allocation-expiry-base-override --strict`