From e561870f9644a5e80925346485fe623da678177f Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期二, 14 十月 2025 10:20:57 +0800
Subject: [PATCH] 调整WMS出库逻辑,原辅料可选择成品库出库;
---
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