feat: 多系统新增扫码中间件与 AGV 对接,优化拧紧与退库流程

新增扫码中间件支持网络型扫码枪键盘注入,AGV 对接从 WMS 迁至 MES 统一管理;新增拧紧不合格人工处置与 PLC 对账机制,优化退库单关联与工位终端功能,同时清理旧 AGV 任务表,完善数据库与配置项。
This commit is contained in:
SunYF
2026-10-14 17:24:59 +08:00
parent 8e6048c64b
commit f65a52d9e1
170 changed files with 15415 additions and 10572 deletions
@@ -916,5 +916,7 @@ func (s *Service) SaveFlowMaterials(ctx context.Context, flowId int, items []Flo
committed = true
s.ctx.EventLog.Write(ctx, "flow.material.save", "", operator, "process_flow", itoa(flowId),
"保存工艺物料清单(整表覆盖)", map[string]any{"flowId": flowId, "count": len(items)})
// 叫料池重算(B5:物料清单是用量来源,变更立即对齐)
_, _ = s.RecomputePoolAll(ctx)
return nil
}