| | |
| | | // //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")) |
| | | //{ |
| | |
| | | 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()); }); |
| | | //绑定条码到工单 |