feat: 移除工位模板、AGV 链路增强与产品BOM/混产模板完善

- 移除工位模板体系(handler/logic 全删),同步路由与 seed
- AGV 链路增强:点位锁、车辆状态、退料派车调整,新增海康 RCS Postman 调试集合
- MES 产品BOM/混产模板完善:新增 ProductBOMDialog 组件,调整 handler/logic;日排产达成对比调整
- WMS 业务完善:出入库、检验、备料、退料、成品入库、缺料代报等 handler 与前端页面调整
- 前端通用:双端新增 RemotePageSelect 组件,统一 nextStep 规则/帮助文档/布局/请求拦截
- 文档:更新产线API/案例/部署手册/问题记录等
This commit is contained in:
SunYF
2026-11-18 09:53:42 +08:00
parent 5c9a7e32d2
commit f8482b18f6
122 changed files with 3381 additions and 2004 deletions
@@ -28,6 +28,19 @@ func ListProductProcessesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
}
}
// ProductProcessOverviewHandler GET /product-processes/overview?productCode=
// 产品档案工艺抽屉:按产品聚合当前启用 + 历史版本 + 每套工艺关联的工单号。
func ProductProcessOverviewHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
data, err := logic.New(svcCtx).ProductProcessOverview(r.Context(), r.URL.Query().Get("productCode"))
if err != nil {
httpx.Fail(w, 2233, err.Error())
return
}
httpx.Ok(w, data)
}
}
// DeriveProductProcessHandler GET /product-processes/derive?productCode=&id=
// 建单自动推导:每道工艺带出全部启用的绑定工位,返回 {productProcessId,name,items,combination,warnings}
func DeriveProductProcessHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {