feat: 移除工艺物料与混产模板实体、新增产线清线与 PLC 监控实时推送、看板双屏增强
- 移除实体:MES 删除 FlowMaterial(工艺物料)与 MixProductionTemplate(混产模板)全套(schema/ent 生成码/handler/logic),清理关联路由与种子 - 新增功能:产线清线(line_clearance handler + logic)、PLC 监控 WebSocket 实时推送(ws/plc_monitor_hub + handler) - 看板增强:新增管理屏与 KPI 组件(BoardManage/BoardKpi),调整演示屏 Mock 与各看板面板 - MES 完善:PLC 匹配/扭矩扫描/签收、工艺卡 PDF 与工单、AGV 链路、叫料/备料/在制品/短料预测等逻辑与前端调整 - 工位终端:删除离线面板 OfflinePanel,调整主界面/物料面板与 api/store/handler/路由 - WMS:AGV 托盘、物料与 MES 客户端调整及前端帮助/基础数据/叫料/托盘页 - 文档:更新产线API/客户问题/案例/部署手册/问题记录
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"bj_power_mes/ent/workorder"
|
||||
)
|
||||
|
||||
// ============ 工位终端业务操作(P0-3 / 数量不符 / 退库 / 工序间检验记录) ============
|
||||
// ============ 工位终端业务操作(P0-3 / 数量不符 / 退库 / 工艺间检验记录) ============
|
||||
|
||||
// EmergencyCall 应急呼叫:落预警消息(type=emergency_call),预警中心实时展示 + pad 顶部提示。
|
||||
// 纯软件方案(客户 L614 已定:发消息给班组长,不依赖安灯硬件)。
|
||||
@@ -203,9 +203,9 @@ func (s *Service) CancelStationReturn(ctx context.Context, returnNo string, stat
|
||||
return s.ctx.Wms.CancelReturnOrder(ctx, returnNo, stationNo, operator, reason)
|
||||
}
|
||||
|
||||
// ============ 一键生成工序间检验记录(P0-4) ============
|
||||
// ============ 一键生成工艺间检验记录(P0-4) ============
|
||||
|
||||
// InterProcessInspection 工序间检验记录汇总项
|
||||
// InterProcessInspection 工艺间检验记录汇总项
|
||||
type InterProcessInspection struct {
|
||||
OrderNo string `json:"orderNo"`
|
||||
StationNo int `json:"stationNo"`
|
||||
@@ -221,7 +221,7 @@ type InterProcessInspection struct {
|
||||
Binds []InspectionBindItem `json:"binds,omitempty"`
|
||||
}
|
||||
|
||||
// GenerateInterProcessInspection 汇总某工单 PROCESS 类巡检记录(按步骤维度)生成工序间检验记录。
|
||||
// GenerateInterProcessInspection 汇总某工单 PROCESS 类巡检记录(按步骤维度)生成工艺间检验记录。
|
||||
// 返回结构化列表,前端/H5 据此渲染打印(PDF/Excel);每条记录附该 SN 的装配物料绑定明细。
|
||||
func (s *Service) GenerateInterProcessInspection(ctx context.Context, orderNo string) ([]*InterProcessInspection, error) {
|
||||
if orderNo == "" {
|
||||
|
||||
Reference in New Issue
Block a user