From 257e141d4b8e7f29c5324f9d733ef3df31843c6a Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期五, 15 三月 2024 11:23:32 +0800
Subject: [PATCH] 入库问题修改

---
 Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs b/Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs
index 14130cd..c3031a1 100644
--- a/Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs
+++ b/Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs
@@ -1789,9 +1789,9 @@
                 }
                 //鏍规嵁鍗曟嵁鍙疯幏鍙栧叆搴撳崟鎬诲崟
                 var notice = Db.Queryable<BllArrivalNotice>().First(a => a.IsDel == "0" && a.ASNNo == model.AsnNo);
-                if (notice.Status != "0" && notice.Status != "1")
+                if (notice.Status != "0" && notice.Status != "1" && notice.Status != "2")
                 {
-                    throw new Exception("-1:鍏ュ簱鍗曠姸鎬佷笉鏄瓑寰呮墽琛屾垨鎵ц瀹屾垚!");
+                    throw new Exception("-1:璇ュ崟鎹凡鍏冲崟!");
                 }
                 if (string.IsNullOrEmpty(model.LotNo))
                 {

--
Gitblit v1.8.0