From d1baa8a7633fc7042861916192a5ccc14ae02fa7 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期五, 23 八月 2024 08:52:08 +0800
Subject: [PATCH] 一些更改

---
 Tiger.Business.MES/WorkAction/ThreeInOne.cs |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/Tiger.Business.MES/WorkAction/ThreeInOne.cs b/Tiger.Business.MES/WorkAction/ThreeInOne.cs
index c0d6e5c..072cad6 100644
--- a/Tiger.Business.MES/WorkAction/ThreeInOne.cs
+++ b/Tiger.Business.MES/WorkAction/ThreeInOne.cs
@@ -84,8 +84,13 @@
             {
                 CurCSN.WORK_ORDER = CurPosition.WorkBatch.WO.ORDER_NO;
                 CurCSN.ITEM_CODE = CurPosition.WorkBatch.WO.ITEM_CODE;
-
-                End();
+                action.Data.Data = new
+                {
+                    NeedPrint = false,
+                    NeedScan = false,
+                    Label = "",
+                };
+                action = End();
             }
             //鍘傚唴鏉$爜鏈粦瀹氬鎴锋潯鐮�
             else
@@ -96,7 +101,8 @@
 	                action.Data.Data = new
 	                {
 	                    NeedPrint = false,
-	                    Label = "",
+                        NeedScan = true,
+                        Label = "",
 	                };
 	                action.Data.ShortMsg = new("鎵弿瀹㈡埛鏍囩", ShortMessage.Types.Normal);
                     //action.LocaleMsg = new Locale($"璇锋壂鎻忓巶鍐呮潯鐮乕{0}]闇�瑕佺粦瀹氬鎴锋潯鐮�");
@@ -109,9 +115,10 @@
 	                action.Data.Data = new
 	                {
 	                    NeedPrint = true,
-	                    Label,
+                        NeedScan = true,
+                        Label,
 	                };
-	                action.Data.ShortMsg = new("鎵撳嵃瀹㈡埛鏍囩", ShortMessage.Types.Normal);
+	                action.Data.ShortMsg = new("鎵弿宸叉墦鍗扮殑瀹㈡埛鏍囩", ShortMessage.Types.Normal);
                     //action.LocaleMsg = new Locale($"寮�濮嬫墦鍗板巶鍐呮潯鐮乕{0}]瀵瑰簲鐨勫鎴锋潯鐮�");
                     action.LocaleMsg = new Locale("MES.WorkAction.ThreeInOne.BeginPrint", wipSn.SN);
                 }

--
Gitblit v1.9.3