From 9e594c0b3732721f65a87015c8c6af427b0b29c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=B0=20=E6=9C=B1?= <501697962@qq.com> Date: Wed, 3 Nov 2021 09:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E8=BE=83=20=E4=B8=8D=E5=8C=BA?= =?UTF-8?q?=E5=88=86=20=E5=A4=A7=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NX.ERP.U8/Store/MaterielStoreOutDAL.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NX.ERP.U8/Store/MaterielStoreOutDAL.cs b/NX.ERP.U8/Store/MaterielStoreOutDAL.cs index e6f6979..19e5b97 100644 --- a/NX.ERP.U8/Store/MaterielStoreOutDAL.cs +++ b/NX.ERP.U8/Store/MaterielStoreOutDAL.cs @@ -153,7 +153,10 @@ namespace NX.ERP.U8.Store throw new Exception($"未知订单明细行:{detail.SorceDetailId}"); } - if (alllocate.MaterialCode != detail.InvCode) + + //var U8INV = new NX.ERP.U8.MaterialDAL(); + ///var invd = U8INV.GetModel(detail.InvCode); + if (alllocate.MaterialCode.ToUpper() != detail.InvCode.ToUpper()) { throw new Exception($"订单明细存货编号与出库存货编号不符:{detail.InvCode}"); }