雨天
|
ea58103df9
|
fix(delivery-note): 生产时间列移到备注之后
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
列序改为 编号/产品/单位/总数量/单价/金额/备注/生产时间;
列宽 130/150 对调,合计仍 920。
|
2026-10-20 10:09:51 +08:00 |
|
雨天
|
84b69c1b1b
|
fix(delivery-note): 无生产时间数据时整列不渲染
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
后端未下发 batch_production_dates 或整单没有日期 ⇒ 退回原 7 列
版式(列宽恢复 70/300/70/110/110/130/130);部分行有日期时
才出该列,无日期的行留空。
|
2026-10-20 10:09:21 +08:00 |
|
雨天
|
2613b8f800
|
fix(delivery-note): 生产时间列移到金额之后
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
列序改为 编号/产品/单位/总数量/单价/金额/生产时间/备注;列宽合计仍 920。
|
2026-10-20 10:07:53 +08:00 |
|
雨天
|
072d02b687
|
feat(delivery-note): 送货单图片增加生产时间列
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
生产时间取本单实际出库批次的 inventory.production_date,跨批逐行
显示;未出库不猜批次、该格留空。订单详情只新增
batch_production_dates 字段,取数下沉到 service。
|
2026-10-20 10:05:12 +08:00 |
|
Ubuntu
|
d7a9b717bd
|
fix(订单范围): 子表归属谓词去掉写死别名 t0(修录单员详情「暂无明细」)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
真机:录单员列表有单、详情「暂无明细」。根因是子表谓词写成
EXISTS(... o.order_code = t0.order_code ...),而网关给 order_items 的别名是 t5
⇒ PG 报 missing FROM-clause entry for table "t0" ⇒ 前端 fetchOrderItems 吞错返回 []。
· orderOwnerScope 新增别名无关的父单谓词:
order_code IN (SELECT order_code FROM orders WHERE created_by::text = $val);
· order_items / order_item_fulfillments / picking_items 三张子表统一走父单归属(不按自身字段过滤);
orders 本身仍按 created_by;
· 新增真库回归单测(事务造数 + ROLLBACK):自己单 头+明细+履约+分拣可见、他人单全 0、admin 不过滤;
· 设计文补 7.1 真机回归与修正。
验证:根/server tsc 0 错;orderOperatorScope* 37 条 + 相关子集 75 条全过;
全量后端 557 文件通过,1 文件(mainSystemWriteback 2 条)为 HEAD 既有失败。
设计门禁 6 通过/3 红(check-migrations、check-ai-cost、check-env-coverage,均为既有基线)。
|
2026-10-20 09:44:20 +08:00 |
|
Ubuntu
|
658506f3d6
|
feat(库存抵扣): 弹窗展示本行实际抵扣批次(含已扣光批次)——手动指定/FIFO分拣/出库流水三级取数,后端只读接口 + 三语文案
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-20 09:34:58 +08:00 |
|
Ubuntu
|
3fe891e769
|
feat(订单范围): 录单员(operator)只能看到/操作自己录的订单
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
开发者 2026-10-19:录单员只能看自己录的单,看不到其他人订单。
· 唯一口径 orderOwnerScope.ts:isOperatorScoped(非超管、非 admin、含 operator)
+ assertOperatorOwnOrder(403 order_scope_forbidden)+ assertOrderAccess(分公司边界 + operator 归属,
合并原先 orderWorkflowService / orderDeleteService 两份重复实现);
· 三层收口:① 订单列表 SQL(stats/count/list 共用同一 where)② 详情/写入单点
assertOrderAccess(覆盖 Web 25 处 + 小程序 + MCP + 状态推进)③ /api/data 通用网关
(Web 详情/明细/导出走 supabase:orders/order_items 的 select/update/delete 注入可信表达式);
· 补上原先没有 assert 的入口:散客确认、分享链接、主系统核货事实、批量动作、批量重新分配(SQL 层收窄)、
删单/恢复/彻底删除、回收站列表、小程序录单/管理端、MCP 订单详情与改单;
· 历史 created_by 为空的单:operator 看不到;不做参与过就放行(参与制另立需求);
· 未动状态链/分配/财务口径/表结构;未加索引与迁移。
验证:根与 server tsc 0 错;orderOperatorScope 31 条 + 相关 6 文件 67 条全过;
全量后端 556 文件通过、2 条失败为 mainSystemWriteback 既有失败(HEAD 同样失败);
本地真库 CTE + PREPARE/EXPLAIN 验证三视角可见数(operator 1/4、admin 4/4、finance 4/4)。
|
2026-10-20 09:32:07 +08:00 |
|
Ubuntu
|
298d3f0393
|
feat(权限): 供需变更审核/待报价/验收图片复核 改为管理员按需开启(默认仅 admin)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
· 新增三个专用码 price_qty_review / bid_quote / inspection_review(默认只授 admin),
三个菜单项改挂专用码;inspection-review 删除写死的 roles:['operator','admin'];
· 权限目录/模块元数据登记(角色权限页可见、可勾选、有对应功能描述);
· operator 收敛白名单加这三个码:**不默认授予**,但管理员勾选后不会被下次迁移删掉(实测通过);
· 订单垃圾桶弹窗加宽(max-w-4xl → 6xl),列不再挤成竖排。
· 契约测试 19 条:三菜单项用新码、operator 默认不可见、admin 可见、只授单码可见、角色页可展示。
未动后端接口权限(避免突然 403);直连 URL 仍可达(本次只隐藏菜单)。
|
2026-10-20 09:31:19 +08:00 |
|
Ubuntu
|
6b799ff13d
|
feat(分拣): 销售价为 0 的商品不允许完成分拣,提示前往订单管理设置销售价(后端拦截,小程序零改动;独立进货/散客豁免)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-20 09:08:38 +08:00 |
|
Ubuntu
|
d7bf5bbb2e
|
revert(回写): 恢复「销售价≤0 不发送」(主系统成本价 0 会拒绝完成);保留待审改价不下发价格的门禁
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-20 08:12:03 +08:00 |
|
Ubuntu
|
39a5dd749b
|
fix(回写): 存在待审改价/改量申请时不下发价格——防止主系统成本价在审批通过前被定时重试强制改写
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-20 08:08:52 +08:00 |
|
Ubuntu
|
de15530ddd
|
feat(回写): 销售价为 0 也照常回写备货完成(方案A)——分拣完成必须让主系统知道,价格是否接受由主系统判断,被拒进台账按轮重试
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-20 08:04:10 +08:00 |
|
Ubuntu
|
56fe7de7a2
|
feat(客户列表): 主系统绑定客户隐藏「上门取货」开关;后端改该开关返回 409(待取货只由主系统免入库决定)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 20:42:45 +08:00 |
|
Ubuntu
|
dac43897bb
|
fix(回写): 回写价格永不省略——有审核价用审核价,否则用本行销售价(=配送系统采购价),修待取货单被拒「供货价格必须大于 0」
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 20:31:36 +08:00 |
|
Ubuntu
|
2c5e6c9a6b
|
fix(回写): 无可审核价时按本行销售价(=供货价)回写主系统——修待取货单被拒「供货价格必须大于 0」导致一直待备货
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 20:30:36 +08:00 |
|
Ubuntu
|
230facb813
|
fix(配送): 撤回误用的厂商级免入库判定,统一按「待取货」语义(主系统免入库 ⇒ 骑手上门取货);保留备货台账级判定与其任务清理
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 20:22:08 +08:00 |
|
Ubuntu
|
b18d791c34
|
fix(配送): 供应商免入库订单不得生成配送任务(promote 前清理未完成任务)——生产 bug:待取货单出现配送任务
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 20:16:00 +08:00 |
|
Ubuntu
|
23cb69b6b7
|
fix(报价单): 提交配送商审核的成功提示改为按实际结果报数(提交 N 个 / 跳过 M 个无变化)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 20:02:30 +08:00 |
|
Ubuntu
|
411cffec8d
|
fix(报价单): 提交基准改为「最近一次已通过价」;superseded/pending 不再导致全量重发,仅 rejected 强制重发
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 19:58:39 +08:00 |
|
Ubuntu
|
9aa783546c
|
fix(报价单): 提交配送商审核的基准改为「上次已通过且价未变才跳过」;被驳回的行即使未改价也可重发
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 19:56:13 +08:00 |
|
Ubuntu
|
819af0752d
|
feat(报价单): 提交配送商审核只提交相比上次提交有变动的价格;全无变动返回 no_price_change 并说明原因(方案A)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 19:54:56 +08:00 |
|
Ubuntu
|
6f4c656bef
|
fix(编辑报价单): 本单客户查询为空时回退使用请求客户,避免 500「请至少选择一个客户」(线上未部署的补发)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 18:54:12 +08:00 |
|
Ubuntu
|
c6e16640ec
|
fix(编辑报价单): RLS 上下文改事务级 set_config(true) 且单出口 COMMIT——修「报价单不存在」500(会话级残留 '' 污染连接池)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 18:52:22 +08:00 |
|
Ubuntu
|
9bf1fe89e7
|
fix(编辑报价单): resolveEditCustomerSplit 补 RLS 租户上下文——生产 500(无 app.branch_code 查到 0 客户→传空客户给编辑服务)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 18:49:05 +08:00 |
|
Ubuntu
|
b95eb2a654
|
fix(报价单): 提交配送商审核后不再跳转到不存在的 /customers/supply-review(生产 bug:被兜底重定向到看板),改为留在列表并刷新
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 18:37:54 +08:00 |
|
Ubuntu
|
2ee38fb400
|
fix(拆单脚本): 互斥旧生效单时排除源单自身(生产演练发现源单被误置 status=3)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 18:26:17 +08:00 |
|
Ubuntu
|
a180ee7320
|
fix(报价单): 修红队 #5 幂等并发(advisory 锁双检)、#4b hash 覆盖自动定价并规范化排序;锁移入 service 保持路由层零 SQL
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 18:23:20 +08:00 |
|
Ubuntu
|
bb8acfc0ba
|
fix(报价单): 修红队二轮高危——拆单预检排除源单(防静默删客户)、版本行显式挂新单号、锁键带分公司、幂等SQL移入service、按建立时间保留首客户
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 18:09:30 +08:00 |
|
Ubuntu
|
9922d20240
|
feat(报价单): 批量建单返回失败清单(b) + Idempotency-Key 幂等去重(c)(红队 #4)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 18:01:13 +08:00 |
|
Ubuntu
|
5040e30ba8
|
fix(报价单): 建单加 (branch,客户) advisory 锁堵并发重复;拆分脚本复制版本行/强制生效/跳过已有生效单/按建立顺序保留
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 17:48:53 +08:00 |
|
雨天
|
22be54affe
|
财务页清理说明性小字(概览/毛利/采购成本)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
经营总览、商品毛利、订单采购成本(全部 Tab)与 AI 成本深度分析
移除说明性小字,只保留标题/数值/空态/告警/按钮/tooltip。
- FinanceOverview:KPI 提示、空态提示条、模块卡描述、成本结构说明
- CostAccountingPanel:各 Tab 的 KPI/结构/排行/其他成本/商品成本 Tab 说明
- CostRootCausePanel:副标题与空态说明
仅展示层,未改任何取数/口径/计算;i18n 词条保留未删。
|
2026-10-19 17:47:56 +08:00 |
|
Ubuntu
|
8a08686e1a
|
test(回归): 按新裁决更新 SEC-4 边界用例与散客入口契约;路由裸 SQL 移入 service
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 17:44:46 +08:00 |
|
Ubuntu
|
35213fd2a0
|
fix(quotes): createQuoteSheetApi 返回类型补 created_count/sheets(verifier S2 类型缺口)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 17:42:34 +08:00 |
|
Ubuntu
|
53a6714dd3
|
fix(报价单拆分脚本): 每张单独立事务、提交后才计数(修 verifier S7 虚报)、workflowApi 补 created_count 类型
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 17:41:57 +08:00 |
|
Ubuntu
|
82bc0af32f
|
fix(报价单拆分): 修 verifier 阻断项——后端 tsc 类型、编辑只回传本单客户(防本单变多客户/追加客户挂两张单)、拆分脚本排除主键并改提交后计数
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 17:38:59 +08:00 |
|
Ubuntu
|
375a32b6d8
|
feat(报价单+权限): 一客户一单(新建按客户拆分/编辑追加建新单/老数据脚本)+ 角色权限改管理员维护 + 散客改为客户下拉项 + 竞价状态与软删收尾
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
|
2026-10-19 17:33:55 +08:00 |
|
雨天
|
c8eefca8de
|
修迁移20261053: U+0130 折 i 不依赖 lower()
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
本地迁移实跑报 P0001「U+0130 未折成 i(实际 İ箱12瓶)」。
根因:该迁移假设 PG lower(\x27İ\x27)=\x27i\x27,但这一行为随数据库 ctype 变化 ——
本机 Windows/libc(Chinese_China.936)下 lower(\x27İ\x27) 原样返回 \x27İ\x27。
修法:norm_spec 内显式 translate(..., chr(304) || chr(775), \x27i\x27),
İ 与 i+U+0307 都收敛为单个 i;与原 UTF-8 locale 下的行为等价,
对已应用该迁移的环境是 no-op。并补组合点 U+0307 守卫。
本地已验证:20261053–20261064 全部应用成功。
|
2026-10-19 17:16:29 +08:00 |
|
Ubuntu
|
5fa2bbfd55
|
fix(audit-20261019): T1-T9 审计修复、存储归属与审计日志列宽
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
- T1 资金/库存/报价/自采 P1(BIZ-1/2/3/4/10/13/14)
- T2 主系统反向事件墓碑/改派/孤儿处理(BIZ-6/8/9)
- T3 选分公司 ticket、trust proxy、角色权限收口(SEC-2/3/4)
- T4 缺列/RLS/tenant 名单/FK/迁移执行器(DATA-1..8)
- T5 401 登出/分页/映射口径/blob/ZIP 中文名(FE-1..4/BIZ-15)
- T6 测试脚本目标守卫/config fail-fast/容器配置(OPS-2..8)
- T7 前后端测试与 lint 门禁清零
- T8 应付卡片按关联订单日(口径 A)
- T9 存储对象全链路归属校验、敏感列禁写、审计 target_id 超长修复
|
2026-10-19 16:16:51 +08:00 |
|
Ubuntu
|
601a207b1e
|
style(商品): 表格内下拉统一 compact(对齐配送,避免控件撑破列宽)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
14 列 + 全尺寸下拉放不下;配送做法是 compact。给搜索型下拉统一加 compact。
|
2026-10-19 15:51:03 +08:00 |
|
Ubuntu
|
fc364eeb66
|
style(商品): 表头单行截断(对齐配送「单…/税…/预警数…」效果)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
供应商这页 14 列,表头之前会竖排。参照配送:th 加 whitespace-nowrap + truncate,超长表头显示省略号而不是换行。
|
2026-10-19 15:45:42 +08:00 |
|
Ubuntu
|
7fd1b782b3
|
style(商品): 单元格统一 overflow-hidden(对齐配送做法),去掉 min-width 兜底
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
- 参照配送:列宽百分比 + 单元格 overflow-hidden;供应商这页控件多,之前缺的就是单元格裁剪
- 移除上一版 min-w-[1320px](改回自适应,窄屏靠单元格裁剪+横向滚动)
|
2026-10-19 15:38:46 +08:00 |
|
Ubuntu
|
da6747ee6c
|
style(商品): 表格加 min-width 1320px,避免百分比列宽在窄屏被压扁
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
上一版 table-fixed+w-full 把 14 列压在容器宽度内,每列不足控件最小宽度 ⇒ 状态/操作溢出。
加 min-w-[1320px]:容器不足时横向滚动,列宽保持可读。
|
2026-10-19 15:32:49 +08:00 |
|
Ubuntu
|
00688458fc
|
style(商品): 列表改 table-fixed + 显式百分比列宽(14 列合计 100%)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
上一个版本改用 table-fixed 但只写了 4 列宽度、其余由浏览器均分 ⇒ 14 列每列约 5%,
控件溢出、文字竖排(用户截图反馈)。本次为**每一列**显式百分比且合计 100%:
3/3/17/5/8/9/8/5/5/8/12/6/6/5。
验证:tsc 0 错;products 测试 19 passed。
|
2026-10-19 15:31:39 +08:00 |
|
Ubuntu
|
2a7495c4a5
|
Revert "style(商品): 列表改 table-fixed + 百分比列宽(UI 对齐配送系统 · 第 1/7 页)"
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
This reverts commit e59fba0dce.
|
2026-10-19 15:28:42 +08:00 |
|
Ubuntu
|
a56ce76e4b
|
Revert "style(分类): 列表改 table-fixed + 满宽(UI 对齐配送系统 · 第 2/7 页)"
This reverts commit c7747ca34e.
|
2026-10-19 15:28:42 +08:00 |
|
Ubuntu
|
c7747ca34e
|
style(分类): 列表改 table-fixed + 满宽(UI 对齐配送系统 · 第 2/7 页)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
- 分类管理列表:min-w-full → w-full table-fixed,窄屏不再横向溢出
- 验证:tsc 0 错;products 测试 19 passed
|
2026-10-19 15:27:40 +08:00 |
|
Ubuntu
|
e59fba0dce
|
style(商品): 列表改 table-fixed + 百分比列宽(UI 对齐配送系统 · 第 1/7 页)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
用户要求:供应商系统 7 个列表页参考配送系统做界面优化(只改 UI,不动业务)。
- 商品管理列表:table-fixed + 列宽百分比(选择/序号 3%、商品 20%、单位 6%、规格 8%),
其余列由 table-fixed 均分剩余宽度,窄屏不再把控件挤到竖排
- 验证:tsc 0 错;products 测试 19 passed
|
2026-10-19 15:26:34 +08:00 |
|
Ubuntu
|
0f5f992f9c
|
fix(报价单): 补 quote_price_proposals.applied 列(逐行审批进度)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
本地报 column "applied" does not exist:逐行通过/驳回用 applied 存 approved_codes/rejected_codes,
但租户表没有该列。迁移:tenant_template + 所有 tenant_% schema 加 applied JSONB(可重放)。
|
2026-10-19 14:30:39 +08:00 |
|
Ubuntu
|
dd57b0286b
|
feat(审核): 支持逐行通过/驳回(部分同意)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
用户要求:每行商品可单独驳回;部分同意 = 只处理选中的行。
- approve/reject 接 included_supplier_sku_codes:只处理选中行,其余保持待审
- 全部处理完才终态;有通过⇒已通过(被驳回行记 rejected_codes),全驳回⇒已驳回
- 明细行新增「驳回」按钮(按我方 SKU);通过/驳回都支持传选中行
- 测试:后端 34 passed、面板 7 passed
|
2026-10-19 14:22:38 +08:00 |
|
Ubuntu
|
e5bd52de33
|
feat(审核): 已映射行也可「改映射」;绑定前清理旧镜像
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
用户要求:供应商侧审核时要能调整我方商品(自动配对之后仍可改)。
- 面板:所有行(含已映射/自动匹配)显示「改映射」,复用选择器
- 服务:绑定前先把同一配送 SKU 的旧镜像行清空(partial unique 要求)
|
2026-10-19 14:11:12 +08:00 |
|