From ed0e737bb5a6361efd6ab2757b77bb2fe893ebb8 Mon Sep 17 00:00:00 2001 From: Demo <Demo@DESKTOP-CPA90BF> Date: 星期四, 07 三月 2024 11:48:22 +0800 Subject: [PATCH] 出库单明细上是否添加添加字段:是否已下发批次,修改取消分配方法,修改下发出库单方法 --- Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs index 334564f..2e0ef38 100644 --- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs +++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs @@ -141,6 +141,7 @@ SupplierLot = stocks.First().SupplierLot, IsWave = "0", WaveNo = "", + IsIssueLotNo = string.IsNullOrWhiteSpace(d.LotNo)? "0":"1", CreateUser = 0, }; @@ -2821,7 +2822,11 @@ if (notice.Type == "1" || notice.Type == "5" || notice.Type == "6" || notice.Type == "7" || notice.Type == "8")//1锛氶鏂欏嚭搴撱�� { - d.LotNo = ""; + if (d.IsIssueLotNo != "1") + { + d.LotNo = ""; + } + } } notice.Status = "0"; -- Gitblit v1.8.0