From 28137093fdd7ab9ddd4edfe1774a6f7024166730 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期二, 03 十二月 2024 21:27:57 +0800
Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024

---
 Tiger.Business.MES/Transaction/YadaPacking.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Tiger.Business.MES/Transaction/YadaPacking.cs b/Tiger.Business.MES/Transaction/YadaPacking.cs
index b390da5..501eaaa 100644
--- a/Tiger.Business.MES/Transaction/YadaPacking.cs
+++ b/Tiger.Business.MES/Transaction/YadaPacking.cs
@@ -70,10 +70,10 @@
                 //    //action.LocaleMsg = new("MES.Transaction.PackingNode.Submit.QtyError", input.Qty);
                 //    return SetOutPutMqttMsg(action, input.Locale);
                 //}
-                if (input.Options.ContainsKey("IsPrintCustomerLabel"))
-                {
-                    IsPrintCustomerLabel = input.Options["IsPrintCustomerLabel"].ToBoolean();
-                }
+                //if (input.Options.ContainsKey("IsPrintCustomerLabel"))
+                //{
+                //    IsPrintCustomerLabel = input.Options["IsPrintCustomerLabel"].ToBoolean();
+                //}
 
                 //if (input.Options.ContainsKey("ShippingOrder"))
                 //{
@@ -349,6 +349,7 @@
                             FLOW_SN = input.SN,
                             STATUS = MES_WIP_DATA.STATUSs.Init.GetValue(),
                             ITEM_CODE = CurBatch.WO.ITEM_CODE,
+                            QTY = 1,
                             WORK_ORDER = CurBatch.Batch.ORDER_NO,
                             BATCH_NO = CurBatch.Batch.BATCH_NO,
                             FTY_CODE = CurFactory.FTY_CODE,
@@ -456,6 +457,7 @@
                                 FLOW_SN = wipSN.SN,
                                 TRAY_SN = wipSN.TRAY_SN,
                                 STATUS = BIZ_MES_WO_SN.STATUSs.NotInput.GetValue(),
+                                QTY = 1,
                             });
                         }
                     }

--
Gitblit v1.9.3