100 Commits
Author SHA1 Message Date
Ubuntu de14fb01f0 feat: 供应商系统 2026-11 阶段成果(分公司模板/真还原预览、商品远程搜索、主系统联调、加工幂等修复)
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
- 分公司类型模板:超管配置隐藏路由/菜单 + 中文文案覆盖,仅对挂类型的分公司生效(后端 service/routes、前端 Provider/守卫/配置页)
- 超管模板 iframe 真还原预览:28 个业务页注册、白名单点选编辑、空/示例数据 fixture、白名单漂移检测工具
- 商品/SKU 下拉远程搜索:服务端关键词搜索 + 前端 useRemoteOptionSearch/SearchableSelect 接入(订单/采购/商品等页)
- 主系统联调:子系统主动解绑主系统授权(幂等重试/本地兜底)、追加修改 price_amend 视图代理与 amend-price 转发
- 修复:仓内加工重复建单幂等(已完成需求单 guard、order 任务一商品一单 guard)
- 修复:出入库记录只取前 100 条 → 服务端分页 + 真实总数
- 其它:库存/订单若干修复、分公司管理响应式布局、i18n 文案、设计文档与回归测试
2026-11-07 20:10:48 +08:00
Ubuntu 73228d2eac fix(红队): 收口单位伪造、BOM jsonb、成本口径与出库兜底
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
单位取库内/冻结看订单单位;BOM JSON.stringify;单位不一致成本按库存量;库存0不写全额标记;补货释放清新列;人工追价默认售价。
2026-11-04 13:30:24 +08:00
Ubuntu c46afe7bdd 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
补 pickingSettlement orderUnit;补货释放清空库存单位快照;单位不一致不降低已履约覆盖。
2026-11-04 13:21:03 +08:00
Ubuntu 136b2e1076 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-11-04 13:16:24 +08:00
Ubuntu e7b48ab77a 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-11-04 13:13:10 +08:00
Ubuntu 44e2041282 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
下游 auto 无重量不再用件数扣库存;单位不一致 stock_cover_qty 标记全额、新列记录库存量;清理新列;BOM 读回;人工申请用计划量。
2026-11-04 13:12:18 +08:00
Ubuntu b789aea353 feat(加工): 小程序 BOM/分配与分拣标准名对齐
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
补人工追价入口;移动端 BOM/成品预览;分拣任务标准商品名优先。
2026-11-04 13:05:40 +08:00
Ubuntu 63a268c0f6 feat(加工): 小程序 BOM/分配对齐与人工追价入口
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
小程序领料 BOM/成品预览;移动端加工完成支持人工分配;订单完结后人工发起主系统 price-qty 申请。
2026-11-04 13:03:56 +08:00
Ubuntu 5dd169832c feat(商品管理): 增加仓内加工原材料 BOM 配置
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-11-04 12:49:27 +08:00
Ubuntu 5c9c2b96f6 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
新增 stock_cover_stock_qty/unit;单位不一致按库存可用量全额抵扣并按库存单位预留;停用自动计划变更与重试。
2026-11-03 17:14:18 +08:00
Ubuntu 30e6a159f2 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-11-03 16:51:51 +08:00
Ubuntu 62bffa148e 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
分拣只写本地实收 stage30;主系统追加修改等订单完结后人工发起。
2026-11-03 16:04:37 +08:00
Ubuntu 184028adc9 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-11-03 15:36:41 +08:00
Ubuntu 11c617d0f7 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
成品完工写入的 stock_cover_qty 不是库存抵扣,采购成本价继续显示完工分摊 unit_cost。
2026-11-03 15:36:06 +08:00
Ubuntu bb5918d518 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
镜像自采完成时标记 independent_inbound 并回写 inspection_id;历史数据迁移补齐,入库列表可见。
2026-11-03 14:55:37 +08:00
Ubuntu 9225b76d60 fix(加工BOM): 补齐新建原材料商品文案
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-11-03 14:45:24 +08:00
Ubuntu 6ad746cc11 fix(订单实收): 按主系统 handoff 收口写入与回填口径
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
移除采购/验收额外叠加库存抵扣的偏离;回填改为 quantity/unit + stage=0,匹配配送系统设计。
2026-11-03 14:37:19 +08:00
Ubuntu 39569df290 refactor(仓内加工): 对齐主系统批次口径
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-11-03 14:18:58 +08:00
Ubuntu fae4854759 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-11-03 14:15:48 +08:00
Ubuntu 4386c92873 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
补列表/改量/提交接口与面板;补齐 BOM 原料待验可见性与复用测试;真实链路已跑通。
2026-11-03 14:05:46 +08:00
Ubuntu cf0d6192f2 fix(仓内加工): 补齐原料采购表 RLS,避免 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-11-03 14:00:09 +08:00
Ubuntu 9487af6616 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-11-03 13:50:17 +08:00
Ubuntu 844a576252 feat(仓内加工): 移植 BOM、原料采购、完工分配与加工页面
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
适配供应商系统:商品 BOM、按加工单自动原料采购、成品免入库回写、加工分配预览/人工分配、订单 BOM 弹窗。
2026-11-03 13:49:38 +08:00
Ubuntu 598e3a652b 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-11-03 13:21:57 +08:00
Ubuntu b56293f9bf 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-11-03 13:17:55 +08:00
Ubuntu 07f849f22b 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
订单列表新增实收合计列;采购/验收按缺口量写入时加回 stock_cover_qty,避免完结少算。
2026-11-03 13:15:56 +08:00
Ubuntu 3ccb07acf6 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-11-03 13:08:26 +08:00
Ubuntu 09e0d657ed 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
只有真人改配/本次称重才写 stage40;避免 loaded=required 把 20 斤覆盖成 30 个。
2026-11-03 13:06:33 +08:00
Ubuntu d487e5525c 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
避免 RLS 下跨 schema 回填被静默阻止。
2026-11-03 13:03:52 +08:00
Ubuntu 42c5824646 test(订单实收): 对齐建单 INSERT 列位
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-11-03 13:02:12 +08:00
Ubuntu b7f5cc3ce9 test(订单实收): 对齐规格落库 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-11-03 13:01:37 +08:00
Ubuntu c4fa89a92a 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
移植配送系统 68555db7:demand_* 留档、received_* 单一字段、stage 防倒序;下单/采购/验收/分拣/配送/完结/管理员修正接入,订单详情优先读持久实收。
2026-11-03 12:58:35 +08:00
Ubuntu d3426e0ebe 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
主系统接口已就绪;只有显式 MAIN_SYSTEM_PLAN_CHANGE_ENABLED=0 才关闭,避免新订单默认只写 pending。
2026-11-03 11:28:25 +08:00
Ubuntu 1d4c6c6031 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-11-03 11:25:23 +08:00
Ubuntu 106b5d56cd 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
避免 auto/同单位商品逐行触发主系统计划变更;单位一致、按数量或未选择重量模式不写 outbox。
2026-11-03 11:24:47 +08:00
Ubuntu 00cd9dd424 fix(主系统计划): 用主系统供应商编码换 token
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
之前把本地 branch_code 当 supplier_code,换 token 403;改为从导入台账 main_supplier_code 取值。
2026-11-03 11:23:38 +08:00
Ubuntu 7f1e934ad1 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
避免分拣完成推进后才改计划,被主系统 prepare_status>=30 拒绝;称重修改后 request_id 带重量可重新同步。
2026-11-03 11:14:23 +08:00
Ubuntu c36054a39e 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-11-03 10:42:51 +08:00
Ubuntu 7d16de4b6f fix(主系统计划): 缺主系统行 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-11-03 10:16:25 +08:00
Ubuntu 75de81cd64 fix(主系统计划): 对齐主系统 order_item_id 与 request_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
主系统接口要求主系统订单行 UUID;从导入台账 payload.mainOrderItemId 读取并写入 outbox;request_id 归一化为主系统允许字符集。
2026-11-03 10:15:36 +08:00
Ubuntu 3d1fab9ffc docs(env): 增加主系统备货计划变更开关
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-11-02 17:47:03 +08:00
Ubuntu b18e0c3f0a 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 库存单位称重出库;订单单位不一致时分拣后更新本地计划/实收并写 outbox,主系统接口开关默认关可重试。
2026-11-02 17:43:40 +08:00
Ubuntu 020f364572 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
修复盘点/删除库存触发的 order_item_fulfillment_one_source 约束冲突:旧行 direct_delivery_cover=true 与新来源并存。
2026-11-02 16:19:15 +08:00
Ubuntu a8ffd15039 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-11-02 16:12:12 +08:00
Ubuntu d69f371cfa 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
历史已完成/已退货/已取消分拣不再永久锁死批次;保留 active pick_status<40 校验。
2026-11-02 16:05:06 +08:00
Ubuntu b8d26123df 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
去掉真实删除单独文案/按钮;单条与全选当前页统一走删除:有可用量先清空,已无可用量移除批次记录。
2026-11-02 16:00:24 +08:00
Ubuntu f1dee6e24d test(库存): 真实删除批次回归用例
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-11-02 15:45:02 +08:00
Ubuntu 8aee4f9016 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
方案A:available<=0 且无活动抵扣/未出库分拣引用时物理删除;流水/报告保留,关联单据 inventory_id 置空;新增真实删除入口与审计。
2026-11-02 15:44:42 +08:00
Ubuntu a54fa6c665 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
对齐配送系统 0ae4e129/1f1cbd76:定位不再重规划、结束配送不就近重排;腾讯驾车默认关闭,地址解析保留。
2026-10-29 15:01:58 +08:00
Ubuntu 4e0cf2e217 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-28 21:38:19 +08:00
Ubuntu 41d66aca6f feat(客户商城): 下单客户商品溯源模块
order_customer 只能看自己 customer_portal_users 绑定订单;首页内嵌 customer-trace-panel;不返回内部字段。
2026-10-28 21:34:09 +08:00
Ubuntu 3c91777bc5 style(客户账号): 手机号/用户名登录切换对齐配送系统 2026-10-28 21:24:07 +08:00
Ubuntu 6cf2ac38c9 style(客户列表): 开户入口/按钮文案对齐配送系统 2026-10-28 21:16:41 +08:00
Ubuntu b8bbf21599 feat(客户商城): 下单客户账号与小程序商城二期
正常客户开户/停用/重置;order_customer 三重闸;mall-panel 商品、地址、下单;价格/客户由服务端推导;菜单与账户入口修复。
2026-10-28 21:06:36 +08:00
Ubuntu 64c5230aa8 fix(商城管理): 报价单改价回写客户商品库
按配送系统口径:报价单内商品改价同时写 customer_skus.sale_price;不在报价单只写客户商品库;保留共享报价单并发锁。
2026-10-28 20:30:44 +08:00
Ubuntu 94de4e60de feat(商城管理): 客户商品库后台一期
新增 /customers/mall 卡片管理、Excel 导入、上下架/描述/收藏/移出;复用客户销售价接口;修复共享报价单并发改价、i18n、迁移空 schema、并发计数。
2026-10-28 20:23:43 +08:00
Ubuntu 415e5a58c0 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
status=50 本身不等于出库;按 inventory_logs/picking_items.outbound_at 判断,已出库则另开补单,避免新行把已完成/已出库的日单重新拉回未完成。
2026-10-28 18:15:06 +08:00
Ubuntu de67d6ca3a 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-28 10:49:39 +08:00
Ubuntu 521e1ae13d feat(main-system): 消费 preparations.quantity_changed 同步订单计划数量
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
- webhook 消费:event_id+prep_id 幂等、revision 防乱序,业务失败 200 靠对账兜底
- 未出库:订单数量/金额/分拣 required_qty/库存抵扣差额/已分配备货/自采/结算同步
- 已出库/备货完成竞态/共享行缺订单行 id:不覆盖,落冲突台账 + 站内通知
- 定时对账兜底:mainSystemReturnFollow + 事件消费者 quantity_sync
- 迁移两张台账表;新增 13 条单测
2026-10-28 10:37:52 +08:00
Ubuntu 04e6d2b5a4 fix(客户列表): 列宽改百分比自适应(table-fixed + colgroup)去掉横向滚动条——12 列合计 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
2026-10-28 09:13:42 +08:00
Ubuntu 2fa6385bb8 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-27 21:54:36 +08:00
Ubuntu 317107576c test(极简流转): 补齐新增回写依赖的 mock
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-27 21:54:31 +08:00
Ubuntu 41f3f17738 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
后端只返回 needs_processing_badge(订单行仓内加工/未完工加工需求单);前端徽标与筛选用新字段,needs_processing 仍只驱动原加工/入库流程。
2026-10-27 21:41:00 +08:00
Ubuntu a8329122a9 Revert "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
This reverts commit 70149fc7c0.
2026-10-27 21:34:54 +08:00
Ubuntu 70149fc7c0 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
前端徽标/筛选已存在;后端补订单行加工方式/归属与未完工加工需求单判定,返回 needs_processing/processing_method。只读展示,不改入库门槛。
2026-10-27 21:33:21 +08:00
Ubuntu 5b101a3023 fix(库存抵扣): 修复改批次成本重算 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
UPDATE cover_qty 子查询多一个右括号;补记账本 INSERT 的 / 显式 text 转换,避免 inconsistent types deduced。已在本地同事务重放通过。
2026-10-27 21:28:09 +08:00
Ubuntu b78d120f9e 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
有价格目标时只显示目标行:报价单/商品库标记、报价单名+客户名、当前销售价、右侧输入;隐藏通用成本明细;补客户名与当前价文案。
2026-10-27 21:15:22 +08:00
Ubuntu d71b2c9208 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-27 19:43:26 +08:00
Ubuntu 8a8cea1567 fix(价格回写): 补名称解析与商品库兜底 upsert
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;syncCustomerMappings 未建客户商品库行时 upsert 兜底;避免价格静默丢失;共享报价单仍跳过。
2026-10-27 19:40:09 +08:00
Ubuntu 85a1f74ac0 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
参考配送系统口径并适配供应商:报价单优先,共享单跳过;无报价单只更新已存在 customer_skus,不新建;加菜/0价/同值跳过;下单写全部、改单只写变价行;非阻塞+合并审计。
2026-10-27 19:04:50 +08:00
Ubuntu ce55c8648a 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
按供应商报价单/客户商品库结构落地:迁移价格字段与手工标记;报价单/商品库改价、指定报价单与共享单409、同值不改、0/null拒绝、superadmin操作分公司、自动加成/完成回写/报价单编辑/订单改成本不覆盖人工价;录单取价新增客户商品库档;成本排行铅笔编辑。未部署。
2026-10-27 18:49:02 +08:00
Ubuntu 89e9a83be8 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
报价单标签弱化、销售价与单位成本用分隔符、毛利率只保留一处;仍不含二期铅笔改价。
2026-10-27 17:54:12 +08:00
Ubuntu b8a7837027 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-27 17:51:23 +08:00
Ubuntu f524e6b6db docs(UI规则): 加入极简界面与三端体验保护原则
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-27 12:55:29 +08:00
Ubuntu 9d96d774ed 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-27 12:39:13 +08:00
Ubuntu 05d1449b35 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
定时强推、极简流转、无分拣、配置纠偏、分拣强制到50均触发备货完成回写;非阻塞、对账兜底。
2026-10-27 12:32:02 +08:00
Ubuntu 8084d36cb0 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
待取货/免配送单不经过发车,原回写只在 50→60;分拣强制到 50 时补回写,避免主系统停在待备货。
2026-10-27 12:30:22 +08:00
Ubuntu 0b999f75f0 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
无可用验收单时按本行无入库继续补分拣/核货并写 no_inventory 审计;不再整单关闭 pending,也不抛 backfill_inspection_missing 阻断配送。
2026-10-27 10:56:22 +08:00
Ubuntu f93e10b848 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
- loaded_qty 仍可改且保留审计
- picked_qty/weight 变更写 picking_qty_edit 审计
- 核货补录不覆盖已有分拣/核货/照片证据
- loading_photos 追加去重,不再覆盖旧照片
2026-10-27 09:23:00 +08:00
Ubuntu a3c6cd6ffc 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
- 打印/手写/混排分流提示词,手写不按印刷表头硬套
- 单位列数字与数量列斤/9/5语义交换,单位9/5按斤
- 3行以上5/9触发纠正重识别,异常转人工提示
- 右栏/页边商品独立成行,品名不粘数量
- 保留原7字段接口
2026-10-26 22:27:04 +08:00
Ubuntu 495d5907ca 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
手工采购完成仍受允许成本价为0开关控制;配送核货自动收口不被0成本卡住。
2026-10-26 17:23:08 +08:00
Ubuntu f1fe645f8c 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
早期任务下单即建 picking_items;仅实际已拣/已核货/已出库才锁定 cover,未开拣允许重算。
2026-10-26 17:03:48 +08:00
Ubuntu db0cbb0fd9 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
- 状态行库存抵扣仍打开批次明细
- 操作列库存抵扣立即重跑并刷新,覆盖我方录单
- 非主系统单只重算本单 cover,不重新分配供应商
- 独立进货单仍禁止抵扣
2026-10-26 16:54:13 +08:00
Ubuntu 05b81348c4 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
- 下单即建分拣/配送,待取货/散客/独立进货守卫
- 30/40/45 直接发车/分拣,入库与分拣二选一
- 分拣完成补上游、清理 pending 验收,直接配送补分拣
- 库存抵扣/计划/实收 FIFO,软扣部分扣减,并发出库串行
- 结束配送不被库存不足/待入库残留阻断
- 待验收并发唯一索引(含 name-only),finalize 共享连接修复
- 售后自动绑定订单明细、客户取货/采购并发修复
- 仓库表格自适应、弹窗滚动锁闪烁修复
2026-10-26 16:42:53 +08:00
Ubuntu 05aaced454 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
- 补 order_status<90 及零售/自提/免入库/独立入库过滤,按订单去重
- 角标进入页面日期窗口同步未来5天,与角标一致
2026-10-26 10:29:24 +08:00
Ubuntu ea5cc46b67 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
- 菜单链接携带 nav_pending/nav_days,页面消费后清理
- 订单/售后/入库/加工/分拣/配送进入后切待办并按角标窗口+下单日查询
- 角标接口返回实际天数;配送角标与配送页同口径(orders 主表 LEFT JOIN)
- 完成关键动作后即时刷新角标
2026-10-25 21:43:18 +08:00
Ubuntu 7dc99d012d 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
- 详情底部保存会带 orderPatch.delivery_address;地址变化后执行坐标解析与路线重算
- 解析失败返回 delivery_address_geocode_failed,前端提示重新核验地址
- 补充契约测试
2026-10-25 19:51:24 +08:00
Ubuntu 40c2614870 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
- 地址保存后返回 geocoded/route_replanned/geocode_failed
- 详情与列表行内编辑在解析失败时用警告提示,不再只提示保存成功
- 补充契约测试
2026-10-25 19:42:37 +08:00
Ubuntu ab6f95fdc7 feat(报价单): 导入成本价/销售价(Excel 预览、自动列名映射、按商品名+规格匹配)
- 表单与详情均提供导入入口
- 先预览后应用,只改成本价/销售价,不动数量/客户/状态
- 自动识别列名并支持手动调整
- 补三语文案与契约/工具测试
2026-10-25 19:42:33 +08:00
Ubuntu 684958ea1f fix(导航角标): 下单日窗口+未来5天、去除轮询、下单即时刷新
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
- 订单角标按 created_at 统计,窗口向后含未来5天
- 移除60s轮询;切页/下单事件/页面可见时刷新
- 下单成功主动刷新当前菜单,带 refresh=1 绕过缓存
2026-10-25 16:55:39 +08:00
Ubuntu 9470e82132 feat(订单): 订单管理默认下单日/待处理;新增商品显示录单原始名称
- 订单管理默认日期字段改为下单日,默认状态组改为待处理
- 录单新增商品项显示「新增(原始名称)」
2026-10-25 16:55:35 +08:00
Ubuntu 0ffaab35d6 feat(导航角标): 查询天数可配置(默认30天,仅分公司管理员)
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
- system_configs.nav_badge_days 1~365,分支级;超管固定30
- scope=days 默认,10 个 counter 统一滚动窗口;缓存 key 含 days
- 系统配置页新增仅分公司管理员可见卡片
- 保留 today/month/all 与切页单菜单刷新
2026-10-25 15:53:22 +08:00
Ubuntu 298c1e5e5a feat(数据看板): 顶部客户多选,预测复用,成本卡按客户过滤 + 表格自适应
- 顶部 SearchableMultiSelect,URL customer_code 逗号串;客户变化后台刷新不卸载筛选框
- 需求预测移除重复客户下拉,使用顶部 customerCodes
- 成本/毛利/净利卡接客户过滤;无单号期间成本按当窗客户数分摊
- 需求预测表格 100% 自适应宽度,百分比列宽
- 补 dashboard 契约/helper 测试
2026-10-25 15:53:22 +08:00
Ubuntu d02c999069 feat(财务概览): 客户筛选支持多选,修复多码下游成本明细 500
- SearchableMultiSelect + customer_code 逗号串;单码 SQL 保持 =,多码 ANY
- 期间无单号成本按真实有单已选客户数分摊;净利公式未改
- 修复 bindShared/listOrderCostDetails 把数组当标量导致的 PG 42809
- 补 helper/契约测试
2026-10-25 15:53:22 +08:00
Ubuntu fbddcaae1e feat(导航角标): Web 侧边栏待办数字角标(本月/切页单菜单刷新)
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
- 新增只读 GET /api/workflow/nav-badges?scope=today|month|all,按 menuKey 返回待办数;默认自然月
- 10 个菜单:订单/采购/备货/供需变更/待竞价/入库/加工/分拣/配送/售后预警;权限、分公司、作业角色隔离
- 每 key 20s 缓存;菜单切换只刷新当前 key(menus=...&refresh=1),初始/60s/可见时全量
- 配送管理增加“全部日期”入口,便于查看跨日待配送
- 补前后端测试与契约
2026-10-25 13:34:07 +08:00
Ubuntu d996d7cdfa 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
- 主系统商品备注随备货下发(order_item_remark)
- 定向拉取时对比行级台账上一轮备注,变更后更新本地订单行 remark(供应商备货页可见)
- 只更新主系统备注确实变化的行,不覆盖未被主系统修改的本地备注
- 无新增表/字段结构;类型检查通过
2026-10-24 18:36:01 +08:00
Ubuntu 83eb8f9c12 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
- 库存抵扣成本按目标抵扣量幂等更新,作废/退货清 cover_qty;多批次展示按加权均价;商品成本排行纳入库存抵扣成本并改标签为“成本”
- 主系统事件:allocated 定向 order_code、returned 等批量状态核对、clamped/全量兜底下调频、失败不计 applied
- 订单完成:零价闸门排除已退货行;供应商系统关闭“主数据不卡流程”入口与执行接口
- 迁移 20261080/20261081;补充相关契约/回归测试
2026-10-24 18:24:05 +08:00
Ubuntu 372214c453 feat(主系统事件): 按定稿答复调整——每个 supplier_code 各拉一遍+游标/去重按(分公司,供应商)、首轮不传 since 并做初态全量对账、cursor 400 重置、批量重推建议≤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
2026-10-24 13:51:10 +08:00
Ubuntu 0f25a92fec feat(主系统对接): 接入 5 项配合——事件补账消费(游标+去重)、备货 cursor/order_code 定向拉取、批量状态、批量撤报告;接收端确认已在生产;全量拉取降为30分钟
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-24 13:47:05 +08:00
Ubuntu 6ebfa93016 perf(对账): 查询超时护栏(SET+RESET) + 每轮90s预算 + 自愈补录增量窗口(最近3天/50单) + 配套索引;附需主系统配合清单(M1-M5)
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-24 13:19:58 +08:00