From 43a0207d207390abdeeb3ab9155eebf03edd7b1a Mon Sep 17 00:00:00 2001
From: chr <chr@mailcom>
Date: 星期一, 21 四月 2025 09:28:01 +0800
Subject: [PATCH] 优化;

---
 PdmSwPlugin.Common/Entity/Pdm/PdmBom.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/PdmSwPlugin.Common/Entity/Pdm/PdmBom.cs b/PdmSwPlugin.Common/Entity/Pdm/PdmBom.cs
index 5145fec..fa86893 100644
--- a/PdmSwPlugin.Common/Entity/Pdm/PdmBom.cs
+++ b/PdmSwPlugin.Common/Entity/Pdm/PdmBom.cs
@@ -321,6 +321,8 @@
                 if (skipCheck) return false;
                 // 杩涘叆绯荤粺鐨勪笉瀹℃牳
                 if (BomInfo.inKeeDeeDb == true) return false;
+                // 涓嶅湪BOM鏄庣粏琛ㄤ腑涓嶆彁浜�
+                if (component.ExcludeFromBOM) return false;
                 //if (_drawInfo.isSpecial) return false;
                 // 寰呭鏍哥殑涓嶉噸澶嶆彁浜�
                 if (drawStatus == "submitted" || drawStatus == "resubmitted") return false;
@@ -350,6 +352,11 @@
         public string NeedStopCheckIn()
         {
             if (skipCheck) return null;
+            /// 2025-03-12 淇敼閲戣澏鎻掍欢鎷︽埅闂
+            if (produceWay == "鏍囧噯浠�") return null;
+            if (drawInfo.isSpecial) return null;
+            /// 2025-03-12 淇敼閲戣澏鎻掍欢鎷︽埅闂 END
+
             if (BomInfo.inKeeDeeDb == true) return null;
             if (IsHistoryData)
             {

--
Gitblit v1.9.1