From e990cf78de3e145f4a4b1493901c8d8caf95e53d Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 05 十二月 2024 11:50:48 +0800
Subject: [PATCH] 解绑优化

---
 Tiger.Business.MES/Transaction/YadaPacking.cs |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/Tiger.Business.MES/Transaction/YadaPacking.cs b/Tiger.Business.MES/Transaction/YadaPacking.cs
index 501eaaa..d6f5e44 100644
--- a/Tiger.Business.MES/Transaction/YadaPacking.cs
+++ b/Tiger.Business.MES/Transaction/YadaPacking.cs
@@ -349,7 +349,6 @@
                             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,
@@ -423,25 +422,9 @@
                     ShippingOrder = IsPrintCustomerLabel ? ship?.ShipDoc ?? "" : "";
                     //缂撳瓨鍑鸿揣鏁伴噺
                     Context.SetOrAdd("CurShipQty", CurShipQty);
-                    //if (Context.ContainsKey("CurShipQty"))
-                    //{
-                    //    Context["CurShipQty"] = CurShipQty;
-                    //}
-                    //else
-                    //{
-                    //    Context.Add("CurShipQty", CurShipQty);
-                    //}
                     //缂撳瓨鍑鸿揣绠辨暟
                     Context.SetOrAdd("CurWaitShipmentCarton", WaitShipmentCarton);
                     Context.SetOrAdd("CurWaitShipment", WaitShipment);
-                    //if (Context.ContainsKey("CurWaitShipmentCarton"))
-                    //{
-                    //    Context["CurWaitShipmentCarton"] = WaitShipmentCarton;
-                    //}
-                    //else
-                    //{
-                    //    Context.Add("CurWaitShipmentCarton", WaitShipmentCarton);
-                    //}
 
                     debug.Log(new StackFrame(true), "***** 12", info => { ConsoleExt.WriteLine(info.ToString()); });
                     //缁戝畾鏉$爜鍒板伐鍗�
@@ -457,7 +440,6 @@
                                 FLOW_SN = wipSN.SN,
                                 TRAY_SN = wipSN.TRAY_SN,
                                 STATUS = BIZ_MES_WO_SN.STATUSs.NotInput.GetValue(),
-                                QTY = 1,
                             });
                         }
                     }

--
Gitblit v1.9.3