比较 不区分 大小写

This commit is contained in:
杰 朱
2021-11-03 09:14:10 +08:00
parent c7ca54c70e
commit 9e594c0b37

View File

@@ -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}");
}