Commit Graph
754 Commits
Author SHA1 Message Date
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
雨天 a1321571d2 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
进页默认静默定位(已授权才执行),地图右下角加准星图标按钮

复用配送上报的授权与 gcj02 取点,只平移地图中心,不改路线拟合
2026-10-25 14:22:48 +08:00
雨天 9dc24fdfd6 chore(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-25 14:05:55 +08:00
雨天 f9ae5a642e chore(小程序): 品牌更名为安惟衡
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
登录页名称/副标题、全局导航标题、A4 与热敏打印抬头统一为

安惟衡 / 供应商进销存配送系统
2026-10-25 14:01:00 +08:00
雨天 482c7c1e89 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
首页 Tab 内嵌仓库管理面板:批次/可用/成本价/报告/入库时间

默认仅看可用,顶部统计库存批次、可用总量、可用货值

批量上传按 Web 流程:上传→识别→候选→人工确认,编辑可直传

新增权限码 warehouse_manage,默认赋予仓管,不映射 Web 菜单

6 条移动端薄路由,全部复用 Web 同一批 service

修复首页未转发 onReachBottom 导致内嵌列表只有第 1 页

修复录单员获授权后点仓库管理回弹(漏传 permissions)
2026-10-25 13:47:33 +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
雨天 b32ff32f98 库存列表支持内联编辑与报告管理
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_id;规格/单位/分类另需 product_manage
- 数字格不用 type=number,滚轮与方向键不再改值
- 点「存在报告」可按批次上传/删除报告(复用既有绑定接口)
- 工具栏「上传报告」改为「批量上传报告」
2026-10-25 10:56:55 +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