From ee4806a4b2ec94ec63b4cb9b58447d9863baebe5 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期四, 27 三月 2025 09:02:41 +0800
Subject: [PATCH] 修改问题

---
 Wms/WMS.BLL/SysServer/PalletsServer.cs |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/Wms/WMS.BLL/SysServer/PalletsServer.cs b/Wms/WMS.BLL/SysServer/PalletsServer.cs
index 8691b93..d024fa9 100644
--- a/Wms/WMS.BLL/SysServer/PalletsServer.cs
+++ b/Wms/WMS.BLL/SysServer/PalletsServer.cs
@@ -163,14 +163,18 @@
                     {
                         throw new Exception("鏈煡鍒拌澶囨墍灞炲尯鍩熶俊鎭�");
                     }
-                    if (!areaInfo.AreaName.Contains("鎺ユ枡璁惧"))
+                    //125璁惧鏄帴鏂欏拰娣锋枡涓�浣撴満
+                    if (deviceCode != "125")
                     {
-                        throw new Exception("鍙兘缁戝畾鎺ユ枡璁惧");
-                    }
-                    if (areaInfo.WareHouseNo != "M03")
-                    {
-                        throw new Exception("鍙湁澶у崟浣撹溅闂存墠鑳界粦瀹氳澶�");
-                    }
+                        if (!areaInfo.AreaName.Contains("鎺ユ枡璁惧"))
+                        {
+                            throw new Exception("鍙兘缁戝畾鎺ユ枡璁惧");
+                        }
+                        if (areaInfo.WareHouseNo != "M03")
+                        {
+                            throw new Exception("鍙湁澶у崟浣撹溅闂存墠鑳界粦瀹氳澶�");
+                        }
+                    }                    
                 }
                 //寮�鍚簨鍔�
                 db.BeginTran();

--
Gitblit v1.8.0