From bdd84cc48ba7b2527584c44d174da8e7d20c5375 Mon Sep 17 00:00:00 2001 From: zhaowc <526854230@qq.com> Date: 星期三, 18 九月 2024 16:37:13 +0800 Subject: [PATCH] 增加对申请入库时对平库库位的校验 --- Wms/WMS.Entity/BllSoEntity/BllExportAllot.cs | 7 +------ Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs | 4 +++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs b/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs index f45a092..69e37ea 100644 --- a/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs +++ b/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs @@ -1563,7 +1563,9 @@ throw new Exception("璇烽�夋嫨鎵�灞炰粨搴�"); } //楠岃瘉鏄惁涓哄钩搴撳叆搴� - if (houseNo == "W02") + var houseType = Db.Queryable<SysWareHouse>().First(a => a.WareHouseNo == houseNo);//鑾峰彇浠撳簱绫诲瀷 + //楠岃瘉鏄惁涓哄钩搴撳叆搴� + if (houseType.Type == "2") { throw new Exception("骞冲簱璇蜂娇鐢≒DA鎵嬫寔杩涜骞冲簱鍏ュ簱"); } diff --git a/Wms/WMS.Entity/BllSoEntity/BllExportAllot.cs b/Wms/WMS.Entity/BllSoEntity/BllExportAllot.cs index 0c8a94d..2b9bd85 100644 --- a/Wms/WMS.Entity/BllSoEntity/BllExportAllot.cs +++ b/Wms/WMS.Entity/BllSoEntity/BllExportAllot.cs @@ -54,12 +54,7 @@ /// Nullable:True /// </summary> public string LotNo {get;set;} - /// <summary> - /// Desc:鍌ㄤ綅鍦板潃 - /// Default: - /// Nullable:True - /// </summary> - public string LocatNo { get; set; } + /// <summary> /// Desc:鎵规鎻忚堪 -- Gitblit v1.8.0