Ubuntu
|
e21dc4db62
|
fix(商品名): 核货与报价单统一取商品档案名——skus.sku_name → order_items.item_name → picking_items.item_name(单一实现+真库PREPARE与行为演练)
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 11:12:11 +08:00 |
|
Ubuntu
|
a8c80f71b5
|
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 10:42:21 +08:00 |
|
雨天
|
437106f18d
|
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
原生 input+datalist 弹的是浏览器自己的候选/历史记录,不能搜索也不能新建;
改为 SearchableSelect(搜索 + 新建分类),portal 抬高层级避免被弹窗裁切。
|
2026-10-21 10:24:43 +08:00 |
|
Ubuntu
|
43ab4f17fa
|
fix(报价单i18n): 补 toast.saveItemOk/saveItemFail/invalidPrice 三语(线上弹窗显示原始 key);新增契约测试扫描本页 t() 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:47:24 +08:00 |
|
雨天
|
173ffccb7e
|
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
新增商品改为栅格第一格的卡片(与商品卡片同版式):搜索框 + 右上角 X、
成本/售价同排自适应、销售比例手填、右下角保存报价单;空明细也能看到。
销售比例按手填值落库,不再由成本/售价反算;填了须 >=100,否则拦下。
|
2026-10-21 09:42:23 +08:00 |
|
Ubuntu
|
b26a7c6e15
|
style(报价单卡片): 商品选择框宽度收敛为 w-64,不再撑满整行
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:24:03 +08:00 |
|
Ubuntu
|
d745bf028d
|
fix(报价单卡片): 补 allowCreateFromQuery/createFromQueryLabel 等参数——新建商品项之前根本没渲染(下拉只剩「无匹配项」)
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:22:55 +08:00 |
|
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
|
004cc7f337
|
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:06:18 +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
|
191a8c53ba
|
fix(库存): 撤销误加的删除守卫触发器(quantity>available 不等于活订单预留,会导致批次永远删不掉);孤儿依赖已用官方 cleanup 清理
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:43:47 +08:00 |
|
Ubuntu
|
403ba2bf4e
|
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 21:37:00 +08:00 |
|
Ubuntu
|
2f31f6d62d
|
fix(退回补送): 幂等键改为(分公司+退货码+SKU),去掉 order_code——主系统确认一码=一次退回事件;修同码跨订单重复建售后/补送单(实测同码换订单返回 duplicated)
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:30:38 +08:00 |
|
Ubuntu
|
b947c8258f
|
fix(退回补送): 建补送单前复用同原单未完结补送单——修重复调用命中唯一索引报 500;实测同订单同退货码第2次返回 duplicated=true
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:25:35 +08:00 |
|
Ubuntu
|
8c2f9e33e7
|
fix(迁移): 20261070 改为逐租户 schema 建索引(orders 在租户 schema,原写法 42P01)
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:17:28 +08:00 |
|
Ubuntu
|
a20debbd73
|
feat(迁移): 同一原单只允许一张未完结补送单(orders 部分唯一索引)——从数据库层防重复建单
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:17:20 +08:00 |
|
Ubuntu
|
881d8f5211
|
fix(退回补送): 打通租户上下文/RLS/必填列——改用官方 acquireTenantSessionClient、补 branch_code 与 amount、显式 numeric 转换;本地端到端验证通过(退回→补送单已到45待分拣→原单折减→台账映射)
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 17:31:51 +08:00 |
|
Ubuntu
|
54511665ed
|
feat(退回对接): 退回通知复用既有 webhook(X-Signature)新增事件 preparations.returned——对方零新增凭据/端点,落售后+生成补送单
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 17:13:09 +08:00 |
|
Ubuntu
|
c4b3a547cf
|
fix(退回对接): ingest 接口复用既有 supplier_integration 对接令牌鉴权,不再要求用户账号/权限——部署后主系统用现有凭据即可调用
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:57:21 +08:00 |
|
Ubuntu
|
e178af35e7
|
docs(handoff): 主系统「商品退回」对接提示词(可直接转发对方 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 16:25:35 +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
|
b9be5b70cc
|
feat(退回补送): 接通入口——主系统推送接口 POST /after-sales/returns/ingest + 台账 last_return_code 轮询兜底(挂到对账链路);对接契约写入设计文档
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 15:57:20 +08:00 |
|
Ubuntu
|
e284cbad04
|
feat(退回补送): 台账记录补送单指向(保留原单追溯)+ 回写优先取补送单并重置回写状态——补送完成即可按原 prep 重新回写主系统
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 15:49:40 +08:00 |
|
Ubuntu
|
88fe717581
|
feat(退回补送): 退回货处置接口——重新入库(待检不可用)/丢弃(scrap) + 质量确认(合格转可用/不合格记废弃),方案B
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 15:46:38 +08:00 |
|
Ubuntu
|
75e77ba67c
|
feat(退回补送): 原单按实供量折减——order_items.returned_qty 累加 + orders 金额/重量按 (quantity-returned_qty) 重算(统计/结算自动按净供货,避免与补送单双计)
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 15:42:08 +08:00 |
|
Ubuntu
|
bdb4fbea98
|
feat(退回补送): 主系统退回即生成售后记录 + 补送单(普通订单 source=return_resupply,幂等,提交后复用既有分配/库存抵扣链路)
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 15:37:02 +08:00 |
|
Ubuntu
|
239c1c3bc0
|
feat(迁移): 主系统退回/补送数据层——orders.source+linked_order_code、after_sale_returns 退回处置列与幂等唯一索引(纯附加)
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 15:35:38 +08:00 |
|
Ubuntu
|
535a164a53
|
docs(设计): 主系统「商品退回」与补送方案确认稿(退回即生成补送单/独立作业/原prep回写/退回货待检再转可用)
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 15:30:03 +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
|
a196401614
|
fix(dev): devServer.allowedHosts 改为显式白名单(默认含 deepseek.xdjchuanhui.com)——修经 nginx 域名访问 dev 报 Invalid Host header,同时保持不用 'all'
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:33:49 +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
|
87f8529625
|
feat(产地): 新增公开查询接口 GET /api/public/order-origin(主系统按订单号+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
用户设计:不做主系统批次映射,改成主系统来问供应商。
- 入参 main_order_code + main_sku;用本地镜像 main_system_sku_mappings 换成我方 SKU
- 取该订单出库批次 picking_items.outbound_batches → inventory.origin(批次优先)→ skus.origin(兜底)
- 免鉴权;只返回 { origin },不泄漏 SKU/批次/订单等其它字段
- 查不到 / 异常一律 200 { origin: null },不 5xx、不影响调用方
- 冒烟:GET /api/public/order-origin?... 返回 200(本地无对应数据时为 null)
|
2026-10-20 13:23:30 +08:00 |
|
Ubuntu
|
5a54480bdc
|
feat(产地): 上报带主系统订单号 + 主系统 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
- 供应商 SKU → 主系统 SKU:默认读本地只读镜像 main_system_sku_mappings(active),
抽成可注入 resolveMainSku(测试用纯函数,避免依赖租户上下文)
- 未映射 ⇒ 跳过不上报(仅日志),不影响取货/到仓主流程
- preparations/status body 增 order_code + sku_code(主系统可据此直接定位订单行)
- 测试:16 passed(注入解析器后原两条用例恢复)
|
2026-10-20 13:13:14 +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 |
|