| | |
| | | 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, |
| | |
| | | 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()); }); |
| | | //绑定条码到工单 |
| | |
| | | FLOW_SN = wipSN.SN, |
| | | TRAY_SN = wipSN.TRAY_SN, |
| | | STATUS = BIZ_MES_WO_SN.STATUSs.NotInput.GetValue(), |
| | | QTY = 1, |
| | | }); |
| | | } |
| | | } |