diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index 4c9099f5..7e42c0cc 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -2075,6 +2075,7 @@ namespace Tnb.ProductionMgr if (wmsCarryCodes != null && wmsCarryCodes.Count > 0) { Log.Error($"载具{materialBoxCode}状态为{wmsCarryH.carry_status},但有条码{JsonConvert.SerializeObject(wmsCarryCodes)}"); + throw Oops.Bah($"提报失败,载具异常"); } BindCarryCodeInput bindCarryCodeInput = new BindCarryCodeInput();