diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs index 334e96a3..6bce7c2f 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs @@ -264,12 +264,12 @@ namespace Tnb.ProductionMgr string equip_code = input.equip_code; string label_code = input.label_code; string warehouse_id = "2"; - if (!string.IsNullOrEmpty(equip_code)) + if (string.IsNullOrEmpty(equip_code)) { throw Oops.Bah("请传机台号"); } - if (!string.IsNullOrEmpty(label_code)) + if (string.IsNullOrEmpty(label_code)) { throw Oops.Bah("请传标签号"); }