Files
SupplierSystem/server
雨天 deeaf2c3d5
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
订单入库: 补规格/生产日期/保质期/产地 + 拍照改识别 + 去 AI 判定
开发者:入库要填规格(商品有就带过去)/生产日期/保质期/生产地区,让仓库侧数据全;「拍照鉴别是否合格」去掉但代码别删;照片改为识别商品信息(复用库存入库那套);结果默认为合格、前端隐式。

- 卡片新增 card-r3:规格/生产日期/保质期/产地(选填);规格由商品库 skus.spec 预填(列表带出)
- 拍照改走 recognizeStockInboundLines(/mobile/inventory/recognize-lines)预填四字段(只补空)
- 去掉 AI 判定:不再调 analyzeInspectionQuality(代码/prompt 保留);去掉 ai-verdict 与结果 picker;移除 !aiDone 入库闸门
- 入库写 inventory.shelf_life + expiry_date(deriveExpiryDate);人工改过的规格/产地才回写 product_catalog.spec/skus.origin(applyArchiveWriteback,同事务)
- 新增契约测试 inspectionInboundFields

注:『合格才入库/须拍照/退回』门槛未动;SQL 无迁移(inventory.shelf_life/expiry_date 既有列)。
2026-10-16 17:37:02 +08:00
..