feat:代理现金余额不足100元展示、店铺业务员选择展示与筛选
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m34s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m34s
This commit is contained in:
27
openspec/changes/update-shop-salesperson-selection/tasks.md
Normal file
27
openspec/changes/update-shop-salesperson-selection/tasks.md
Normal file
@@ -0,0 +1,27 @@
|
||||
## 1. API Contract
|
||||
|
||||
- [x] 1.1 更新店铺创建和编辑请求类型,支持可空的 `business_owner_account_id`。
|
||||
- [x] 1.2 更新店铺列表查询类型,支持 `business_owner_account_id` 筛选参数。
|
||||
- [x] 1.3 更新店铺列表和详情响应类型,读取业务员 ID、名称和脱敏手机号字段。
|
||||
- [x] 1.4 复用启用平台账号查询接口,读取 `account_id`、`account_name`、`phone_masked` 作为候选项。
|
||||
|
||||
## 2. Shop Form UI
|
||||
|
||||
- [x] 2.1 在店铺新建和编辑表单增加可搜索、可清空的“平台业务员”下拉选择。
|
||||
- [x] 2.2 候选项展示账号名和手机号摘要,仅查询并展示启用的平台账号。
|
||||
- [x] 2.3 支持清空已选择业务员,并按 `business_owner_account_id: null` 提交。
|
||||
- [x] 2.4 已停用业务员不出现在编辑候选项中。
|
||||
|
||||
## 3. Shop List And Detail UI
|
||||
|
||||
- [x] 3.1 在店铺列表增加业务员列,展示业务员名称和手机号摘要。
|
||||
- [x] 3.2 在店铺列表搜索区增加按业务员筛选项,并提交选中的 `business_owner_account_id`。
|
||||
- [x] 3.3 在店铺详情展示业务员名称和手机号摘要;已停用但历史绑定的业务员仍正常显示。
|
||||
|
||||
## 4. Verification
|
||||
|
||||
- [ ] 4.1 验证创建、编辑、清空业务员和无可选账号状态。
|
||||
- [ ] 4.2 验证列表业务员展示和按业务员筛选正确。
|
||||
- [ ] 4.3 验证详情对历史停用业务员仍能展示名称和手机号摘要。
|
||||
- [x] 4.4 确认页面不引入分销、佣金或发展层级文案。
|
||||
- [x] 4.5 运行相关前端校验,并执行 `openspec validate update-shop-salesperson-selection --strict`。
|
||||
Reference in New Issue
Block a user