Commit Graph
11 Commits
Author SHA1 Message Date
雨天 2ab033f79c 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
- Web:出库拍照区从底部按钮上方移到明细标题下方(详情顶部)
- 小程序:从底部 bar 上方移到任务详情顶部(进度行上方)
- 仅位置调整,无逻辑变更;两端 tsc + node --check 通过,前端全量仍基线
2026-10-12 16:01:13 +08:00
雨天 fd96513c11 feat(分拣出库拍照): 采集 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
- 迁移 20261038:picking_tasks.outbound_photos text[](只加列,不动名单)
- confirmPickingComplete 增可选 outboundPhotos(COALESCE 保留历史;不因缺照片拒绝完成);Web/移动端两条路由透传
- Web「完成分拣」区可选拍照区;小程序 wx.chooseMedia + wx.uploadFile 到 delivery-photos 桶
- 新增文案 picking.outboundPhoto.*(三语)+ 小程序面板硬编码
- 与发车核货补拍独立;不改状态链
- 验证:两端 tsc + 小程序 node --check 通过;前端全量基线(3 文件/4 例)、服务端 33 failed(基线);门禁除 check-ai-cost 全绿
- 照片展示位 A/B/C 仍待开发者定,本期只做采集与落库
2026-10-12 15:58:05 +08:00
雨天 fa6b74b81e 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
- 「调整批次」确定后,把批次合计写回该行实拣量:重量单位写重量、计件写数量(两端)
- Web 写 draftWeight/draftQty;小程序复用 patchItemInput + syncItemMeasureFromPlan
- 让发车扣库、批次报告与手选批次数量一致;合计为 0 视为清空计划、不回写
- 超量仍只提醒不拦截

小程序需重新编译。
2026-10-12 13:25:18 +08:00
雨天 a73bebe960 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
整件/不可拆分货物可能必须多取:计划合计超过实拣量只弹提醒,照常写入。Web 用 notify.warning、小程序用 showToast,文案改提醒语气(picking.batch.overNeed 三语)。

小程序需重新编译。
2026-10-12 13:20:59 +08:00
雨天 b583240f34 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
- Web 批次编辑「确定」校验:合计 > 需 则拦下并提示;小程序同款校验(两端)
- 超量计划不会被多扣(发车扣库以实拣量封顶),但会写进 picking_items.outbound_batches,让「计划了却实际扣 0」的批次被挂上批次报告,故在入口拦住
- 新增三语文案 picking.batch.overNeed

无迁移,未动后端逻辑。小程序需重新编译。
2026-10-12 13:17:26 +08:00
雨天 02982efa9e fix(分拣): 批次行补入库日+单位,清小程序打印,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
- 批次行摘要改为「区 入库日 数量单位」(如 冷库B 10-12 5斤),无区时回退「入库日 数量单位」
- 小程序彻底不做打印:移除「一键确认」后的自动下发打印,删除 printPickLabels/printCurrentPick/choosePrintDevice/pickPrintCodes 及相关 state 与 import;同步更新 mpPickingScopeSelect 契约断言
- Web 批次编辑弹窗去掉 ↑↓,删除 moveBatchEditorRow 与 i18n picking.batch.moveUp/moveDown

无迁移,未动后端逻辑。小程序需重新编译。
2026-10-12 13:13:50 +08:00
雨天 2e269a6ca5 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-12 13:09:21 +08:00
雨天 a5c953cc6e fix(小程序分拣): 关闭打印 + 区域按 FIFO 计划显示
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
开发者口径:① 小程序不需要打印 —— 移除每行「打印」按钮,并去掉「确认」时的自动下发标签打印;② 商品所在区按先进先出计划算 —— 显示「这次要从哪些区、各取多少」(B 区够就只显示 B;不够才带上 A + 还差多少),没进计划的批次不显示。

落点:picking-panel(wxml/js)+ pickingAssembly.formatBatchPlanText(批次行改「区域 数量」)。node --check 通过。小程序需重新编译;本次无迁移、未动后端/Web。
2026-10-12 13:03:19 +08:00
雨天 efabb72e94 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
- Web/小程序提交时优先沿用已持久化的 outbound_batches,避免再次保存
  被默认 FIFO 覆盖(Web「已完成单保存修改」会丢手选批次)
- 已出库(≥40)单展示落库计划,不再用剩余库存重算 FIFO
- 批次编辑器行按 batch_id 作 key
2026-10-11 13:52:17 +08:00
雨天 9726d25178 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
- 分拣「完成」按先进先出预分配批次,可手改顺序/数量并持久化到
  picking_items.outbound_batches;发车核货按选择扣库,未选回退纯 FIFO
- 小程序与 Web 分拣明细新增批次摘要与调整弹层;小程序按商品区域分组
- 发车扣库写 operation_logs(操作人/分拣员/品名/批次入库日/数量)
- 新增迁移 20261034、只读批次接口 /picking/outbound-batches 与设计文档
2026-10-11 13:36:33 +08:00
Ubuntu deb3e72750 chore: 以 AI 生鲜配送系统 当前版本作为 SupplierSystem 起点
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
来源仓库:jxc/ai-fresh-delivery
来源提交:f0b1a180e2deb7e4673b9d1c8542619f7bc0f73d
快照树:  09f679334ff38f0ff25e907961c94a8223bcaedd(与来源 HEAD 工作树逐字节一致,3801 个文件)

按约定本仓库不带任何历史提交:来源仓库的历史中含真实凭据
(生产 SSH 私钥 deploy/id_rsa_tencent、server/.env、.env.tencent/.env.production/.env.gitea、
deploy/小程序AppSecret.txt,其中 MP_APPSECRET / S3 AccessKey 经哈希比对与线上同值),
整包推送会把这些凭据永久带入本仓库,故只取「当前版本」的单提交快照。
供应商系统后续开发自本提交开始。
2026-10-08 17:35:43 +08:00