From c9d8baca46a7c6ee27a1f8844112dd5f3a52e44b Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期五, 27 九月 2024 01:30:08 +0800
Subject: [PATCH] 优化了一些已知问题

---
 Tiger.Business.MES/Transaction/CollectNode.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Tiger.Business.MES/Transaction/CollectNode.cs b/Tiger.Business.MES/Transaction/CollectNode.cs
index 8eda39e..b8bf30e 100644
--- a/Tiger.Business.MES/Transaction/CollectNode.cs
+++ b/Tiger.Business.MES/Transaction/CollectNode.cs
@@ -105,7 +105,7 @@
                                     info.InputQty = CurOperInfo(input.Locale).InputQty;
                                     action.Data.OperInfo = info;
                                 }
-                                else if (!IsFinishAllSteps)
+                                else if (Steps.Any() && !IsFinishAllSteps)
                                 {
                                     action.Data.OperInfo = SetOperNodeInfo(CurOperInfo(input.Locale));
                                 }

--
Gitblit v1.9.3