feat: 新增工序签字功能,移除移料指令模块

新增操作工/检验员工序签字功能,支持工艺步骤配置签字要求;删除移料指令相关代码,将移料页签重命名为产线点位(上料/下料);新增成品入库功能及相关权限;优化备料单状态、质量状态逻辑,新增批次序号字段;修复AGV取消后备料单回退状态问题。
This commit is contained in:
SunYF
2026-10-05 20:15:38 +08:00
parent c33acab9c8
commit f1cf57e9b2
181 changed files with 9785 additions and 9699 deletions
@@ -48,12 +48,8 @@ func RegisterHandlers(server *rest.Server, ctx *svc.ServiceContext) {
{Method: http.MethodPost, Path: "/api/sync/flush", Handler: syncFlushHandler(ctx)},
{Method: http.MethodGet, Path: "/api/sync/stats", Handler: syncStatsHandler(ctx)},
// 产线点位 / 上位机移料 / 叫料(代理 MES 内部 API)
// 产线点位 / 叫料(代理 MES 内部 API)
{Method: http.MethodGet, Path: "/api/line/points", Handler: linePointsHandler(ctx)},
{Method: http.MethodGet, Path: "/api/line/moves", Handler: lineMovesHandler(ctx)},
{Method: http.MethodPost, Path: "/api/line/move", Handler: lineMoveHandler(ctx)},
{Method: http.MethodPost, Path: "/api/line/move/arrive", Handler: lineArriveHandler(ctx)},
{Method: http.MethodPost, Path: "/api/line/move/ack", Handler: lineAckHandler(ctx)},
{Method: http.MethodPost, Path: "/api/line/occupy", Handler: lineOccupyHandler(ctx)},
{Method: http.MethodPost, Path: "/api/line/call-material", Handler: lineCallMaterialHandler(ctx)},
{Method: http.MethodGet, Path: "/api/material-requests", Handler: materialRequestsHandler(ctx)},