| | |
| | | ITEMCODE = cG_Detail.S_ITEM_CODE, |
| | | LOGINNAME = model.staff, |
| | | SHIFT = model.shift, |
| | | STARTLOC = startLoc.S_CODE, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | } |
| | |
| | | ITEMSTATE = "待检", |
| | | LOGINNAME = model.staff, |
| | | SHIFT = model.shift, |
| | | STARTLOC = startLoc.S_CODE, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | }); |
| | |
| | | ITEMCODE = cG_Detail.S_ITEM_CODE, |
| | | LOGINNAME = model.staff, |
| | | SHIFT = model.shift, |
| | | STARTLOC = startLoc_New.S_CODE, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | }); |
| | |
| | | ITEMCODE = cG_old_Detail.S_ITEM_CODE, |
| | | LOGINNAME = model.staff, |
| | | SHIFT = model.shift, |
| | | STARTLOC = startLoc_Old.S_CODE, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | } |
| | |
| | | ITEMCODE = cG_new_Detail_Ins.S_ITEM_CODE, |
| | | LOGINNAME = model.staff, |
| | | SHIFT = model.shift, |
| | | STARTLOC = startLoc_New.S_CODE, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | } |
| | |
| | | ITEMCODE = cginfo.S_ITEM_CODE, |
| | | LOGINNAME = model.staff, |
| | | SHIFT = model.shift, |
| | | STARTLOC = model.startLoc, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | } |
| | |
| | | ITEMCODE = woInfo.S_ITEM_CODE, |
| | | LOGINNAME = woInfo.S_LINE_NO, |
| | | SHIFT = "None", |
| | | STARTLOC = startLoc.S_CODE, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | }); |
| | |
| | | ITEMCODE = cginfo.S_ITEM_CODE, |
| | | LOGINNAME = "自动轮询", |
| | | SHIFT = "无", |
| | | STARTLOC = startLoc.S_CODE, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | }); |
| | |
| | | ITEMCODE = outTimeCg.S_ITEM_CODE, |
| | | LOGINNAME = "过期合格回库轮询", |
| | | SHIFT = "None", |
| | | STARTLOC = startLoc_2.S_CODE, |
| | | }; |
| | | SpecHelper.InsertInventoryM(target); |
| | | }); |
| | |
| | | /// 距离过期还有几小时 |
| | | /// </summary> |
| | | public string EXPIRATION_DAY { get; set; } = "0"; |
| | | |
| | | /// <summary> |
| | | /// 创建时的起点货位 |
| | | /// </summary> |
| | | public string STARTLOC { get; set; } |
| | | } |
| | | } |
| | |
| | | |
| | | if (model != null) |
| | | { |
| | | var target = db.Queryable<TN_InventoryM>().First(o => o.RFID == model.RFID); |
| | | if (target != null) |
| | | { |
| | | db.Deleteable<TN_InventoryM>(target).ExecuteCommand(); |
| | | } |
| | | model.EXPIRATION = System.DateTime.Now.AddHours(GetExportTime(model.SPEC)); |
| | | if (db.Insertable<TN_InventoryM>(model).ExecuteCommand() > 0) |
| | | if (db.Storageable<TN_InventoryM>(model).ExecuteCommand() > 0) |
| | | { |
| | | LogHelper.Info($"插入WMS库存明细成功,{log}"); |
| | | } |