fix: some
Some checks failed
构建并部署前端到测试环境 / build-and-deploy (push) Failing after 28m40s

This commit is contained in:
luo
2026-09-18 18:11:53 +08:00
parent 5e7f5eaba4
commit 08889d2e42
55 changed files with 2888 additions and 414 deletions

View File

@@ -0,0 +1,23 @@
## 1. 核销申请弹窗
- [x] 1.1 弹窗由 `ElDialog` 改为右侧 `ElDrawer`,保留表单校验、关闭重置与底部提交/取消操作
- [x] 1.2 收款方式改为远程搜索下拉:携带 `keyword``page_size=20``enabled=true`,防抖并发且丢弃过期响应
- [x] 1.3 核销账单候选默认按 20 条分页加载,新增来源 / 来源单号 / 核销状态 / 店铺 / 起止时间筛选表单
- [x] 1.4 店铺筛选使用远程搜索(复用账单列表页 `customer_id` + `ShopService.getShops` 范式)
- [x] 1.5 筛选条件变化回到第 1 页;翻页保持已选账单与已填核销金额
- [x] 1.6 代办原因按所选账单责任员工判定(超管且非本人时展示并必填,本人办理不展示不提交)
## 2. 我的佣金
- [x] 2.1 页面顶部新增超管可见的全局店铺下拉(远程搜索,复用 `ShopService.getShops`
- [x] 2.2 `currentShopId` 改为超管取所选店铺、非超管取自身 `shop_id`
- [x] 2.3 超管未选择店铺时展示选择提示,不再以「未关联店铺」阻断
- [x] 2.4 三个页签(佣金明细 / 提现记录 / 提现资料)与概览均使用所选 `shop_id`
- [x] 2.5 切换店铺时重置分页并刷新概览与当前页签数据
## 3. 验证
- [x] 3.1 改动文件 `npx eslint` 通过(必要时 `--fix`
- [x] 3.2 `npx vue-tsc --noEmit` 通过
- [x] 3.3 `npx vite build --mode production` 通过
- [x] 3.4 `npx openspec validate update-writeoff-application-and-superadmin-commission --strict` 通过