From 40aed839db4c9002a54e681c3eb3dcfe889f01c9 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期五, 27 九月 2024 14:23:26 +0800
Subject: [PATCH] 模板GetHWDate更新

---
 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