Files
SupplierSystem/miniprogram/utils
雨天 791071cb16
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
feat(小程序入库): 上传批次报告随入库绑定
「待审核」卡片加「上传报告」:文件进 quality-reports 桶后走新增的只解析
接口(复用 quality.report.meta + productNamesMatch,不写表),返回报告品名
与待入库行的匹配建议;勾选后报告挂在行上(按行 key、增量 setData,
重识别不丢)。

入库时随行提交 reports;服务端在 bulkStockInbound 提交成功后按
inventory_id 建报告行(status=30 + match_source=manual),逐份 SAVEPOINT。
绑定失败不阻断入库,返回 report_bindings 让小程序提示去 Web 补挂。
2026-10-21 18:44:51 +08:00
..