From 29861afeb7708546e38e18b129880c0807def565 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 04 十二月 2024 16:16:19 +0800 Subject: [PATCH] 优化了一些已知问题 --- Tiger.Business.MES/Transaction/YadaPacking.cs | 26 ++++---------------------- 1 files changed, 4 insertions(+), 22 deletions(-) diff --git a/Tiger.Business.MES/Transaction/YadaPacking.cs b/Tiger.Business.MES/Transaction/YadaPacking.cs index afed3d3..d6f5e44 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,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