From b3aa8a4429343e0efcdeef78ea96c45d4023474f Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期日, 26 十月 2025 10:32:08 +0800
Subject: [PATCH] 添加/编辑入库单去掉生产日期和过期日期验证

---
 Wms/Wms/Controllers/BllAsnController.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Wms/Wms/Controllers/BllAsnController.cs b/Wms/Wms/Controllers/BllAsnController.cs
index f9aa4a9..59cb896 100644
--- a/Wms/Wms/Controllers/BllAsnController.cs
+++ b/Wms/Wms/Controllers/BllAsnController.cs
@@ -172,6 +172,10 @@
         {
             try
             {
+                if (models.ListArrivalNotice.Count > 50)
+                {
+                    throw new Exception("鍗曟瀵煎叆鏈�澶�50鏉℃暟鎹�");
+                }
                 var claimsIdentity = this.User.Identity as ClaimsIdentity;
                 if (claimsIdentity == null)
                 {

--
Gitblit v1.8.0