Commit Graph
263 Commits
Author SHA1 Message Date
Ubuntu 898b36b3a6 feat(报价单卡片): 选不到商品时当场新建——接入录单同款 QuickCreateProductModal(复用 createCatalogProductForOrderLine),建成即回填并刷新商品列表
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-21 09:20:49 +08:00
Ubuntu c27cd340f4 feat(报价单卡片): 选择商品旁新增「新建商品」入口(新标签打开商品管理?new=1)与「刷新」商品列表
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-21 09:18:03 +08:00
Ubuntu eeec09f9dd 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-21 09:15:14 +08:00
Ubuntu 1b92efe5ea fix(报价单卡片): 删除重复商品时按对象身份定位要删的行,避免 index 漂移导致删一行消失两行
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-21 09:14:02 +08:00
Ubuntu ac99fbd53a fix(报价单卡片): 补 quotes.itemCol.sku 三语文案(页面上显示原始 key 的问题)
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-21 09:12:42 +08:00
Ubuntu 90db4b2160 feat(报价单卡片): 新增商品按钮移到「添加客户」右侧、文案 + 新增商品;内联卡片补齐 X 清除/删除图标/销售比例
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-21 09:11:21 +08:00
Ubuntu b61fdd7b5a fix(报价单卡片): 清理 JSX 中的全角空格(eslint no-irregular-whitespace)
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-21 09:09:18 +08:00
Ubuntu 64ec325574 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-21 09:08:58 +08:00
Ubuntu c5cefd66db feat(报价单): 卡片视图内联新增商品(复用 append-items 接口,含成本价/销售价/单位校验),判重口径仍为同 SKU
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-21 09:06:56 +08:00
Ubuntu e2909a88fb feat(库存): 入库时间取该批次最早一次入库流水(stock_in/inspection_in),列表返回 inbound_at;撤销用创建时间兜底
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 22:19:52 +08:00
Ubuntu eab91c266e feat(库存报告): 匹配批次同时展示入库时间与生产日期(方案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 22:08:54 +08:00
Ubuntu dee4ee2e3c 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-20 22:08:28 +08:00
Ubuntu ee6d691f1f Revert "feat(库存): 「删除批次」改为物理删除 inventory 行(留操作日志、保留流水;仍被未完结订单占用时 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
This reverts commit 5fe80d572d.
2026-10-20 22:04:36 +08:00
Ubuntu 5fe80d572d feat(库存): 「删除批次」改为物理删除 inventory 行(留操作日志、保留流水;仍被未完结订单占用时 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-20 22:02:03 +08:00
Ubuntu 38002e0706 feat(库存入库): 保质期单位默认「月」(AI 解析有条目时仍以解析结果为准)
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 21:55:11 +08:00
Ubuntu 15b84002f9 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 21:53:58 +08:00
Ubuntu 10a18eb4d7 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 21:52:17 +08:00
Ubuntu 4c30bfde8b 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-20 16:03:55 +08:00
Ubuntu 8dc94a5fcb fix(库存): 移除误插入到 adjustItem 声明前的重复 effect(修 a24ff11 的 TS2448,typecheck 已通过)
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 14:39:44 +08:00
Ubuntu a24ff111a3 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-20 14:39:01 +08:00
Ubuntu 54c9a0671d 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-20 14:05:36 +08:00
Ubuntu 7f48d5e9a8 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 12:57:45 +08:00
Ubuntu 09554c6491 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 12:55:08 +08:00
Ubuntu 57934332ce 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-20 12:50:35 +08:00
Ubuntu fe4e1d70a6 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
开发者报障:弹窗打开默认高亮当前绑定行,点它只关闭不保存 ⇒ 要确认同一行必须
先点别的再点回来。

· 打开时无选中态;当前绑定行改为弱提示(左侧 2px 靛蓝细条 + aria-current);
· 点任意一行(含当前绑定行)都立即保存(后端同 SKU 走幂等分支,不重复改明细);
· 不可抵扣行仍禁用,搜索/过滤/展示/文案不变;两个入口共用同一组件,一处修复覆盖两处;
· 新增 render 测试 7 条(含"点当前已绑定且不可抵扣那行"场景与连点幂等)+ 契约测试更新;
· 设计文补 2026-10-20 修订说明。

验证:tsc 0 错;src/components/order + src/i18n 181 条、orderManagement 124 条全过;变异校验可抓住原 bug。
2026-10-20 12:29:36 +08:00
Ubuntu d52415cb78 feat(库存): 后端新增「按批次查报告」「删除报告」接口 + 前端 API(库存修改弹窗编辑/删除报告的第一步)
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 11:23:26 +08:00
Ubuntu 81b69e31a8 feat(库存): 列表列改名「存在报告」并显示该批次已绑定报告数量(后端返回 batch_report_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-20 11:02:32 +08:00
Ubuntu 2bce30150a feat(产地): 批次级产地可录入(inventory.origin)
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
第 2 步:修改可用库存 →「批次属性」新增产地输入,只影响本批次。
- 后端 UpdateInventoryBatchInput 增 batchOrigin(批次级写 inventory.origin,'' 清空,≤200 字)
- 路由透传 batch_origin;商品档案 origin 仍写 skus(默认值)
- 前端弹窗批次区新增「产地(本批次)」,三语文案
- typecheck 前后端各 0 错;库存单测未跑(下一步补)
2026-10-20 10:47:08 +08:00
Ubuntu 57e2576b21 fix(库存): 上传报告弹窗多报告选中串选——选中状态改为按「报告id::批次id」复合键(此前只按批次id,两个报告会互相联动)
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 10:35:06 +08:00
Ubuntu d56c4a8bb1 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-20 10:32:55 +08:00
Ubuntu 65649fe941 feat(库存): 批次报告上传改为「上传报告」并支持选择报告类型(批次/农残/检疫/年度),后端 report_type 透传
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 10:32:34 +08:00
Ubuntu bccbab34d1 fix(订单): 取消库存抵扣改用应用内对话框,去掉浏览器默认 confirm
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 10:23:25 +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 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 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 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 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
雨天 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 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
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