service/Warehouse/InventoryManager.cs
@@ -90,7 +90,7 @@ // if (c_mes_inv_item_barcodes == null) // throw new Exception("002[条码不存在,请核对!"); if (c_mes_inv_item_barcodes.Memo != "期初") if (c_mes_inv_item_barcodes.Memo != "初期物料") throw new Exception("002[条码不是期初条码,无法用期初入库!"); var wmsManager = new WmsBaseMangeer(); @@ -106,7 +106,7 @@ transactionNo: "601" // 事务类型与存储过程匹配 ); if (checkResult.result < "1") if ( Convert.ToInt32(checkResult.result) < 1) throw new Exception($"入库校验失败:{checkResult.strMsg}"); UseTransaction(db =>