From 4296c52351dee64e6ba09c7af712182e8e0e663c Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期六, 20 九月 2025 10:41:13 +0800 Subject: [PATCH] 修改领料出库可选择成品库 --- Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs index 139e9d3..5cdeeb8 100644 --- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs +++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs @@ -1067,10 +1067,10 @@ inspectStatus = "0,1"; break; case "9"://鐢熶骇棰嗘枡鍑哄簱 - if (house != "W02") - { - throw new Exception("鐢熶骇棰嗘枡鍑哄簱鍙兘閫夋嫨鍘熸枡搴�"); - } + //if (house != "W02") + //{ + // throw new Exception("鐢熶骇棰嗘枡鍑哄簱鍙兘閫夋嫨鍘熸枡搴�"); + //} skuType = "(0,1,3)"; inspectStatus = "1"; break; @@ -3338,6 +3338,22 @@ throw new Exception(e.Message); } } + public string GetHouseByPalletNo(string palletNo) + { + try + { + var datail = Db.Queryable<DataStockDetail>().First(m => m.IsDel == "0" && m.PalletNo == palletNo); + if (datail == null) + { + throw new Exception("鏈煡璇㈠埌鎵樼洏淇℃伅"); + } + return datail.WareHouseNo; + } + catch (Exception e) + { + throw new Exception(e.Message); + } + } public List<OutCommandDto> IssueOutHouseLk(string soNo, string outMode, int userId, string url, out string str) { -- Gitblit v1.8.0