/// <summary> /// 跳过指令 /// </summary> /// <returns></returns> public ActionResult PickSkip(PickViewModel model) { GetLoginInfo(); if (Login_Info == null) { return(Content("<script>location.href='/Home'</script>")); } service = new PickGoodsBase(Login_Info.User_ID, Login_Info.User_Name, Login_Info.Token); try { service.SetParameter("ToTrayNO", model.ToTrayNO); service.SetParameter("ToDoNO", model.ToDoNO); service.SetParameter("PaperNO", model.PaperNO); //service.SetParameter("FromLocationNO", model.FromLocationNO); //service.SetParameter("CheckLocationNO", model.CheckLocationNO); service.SetParameter("Barcode", model.Barcode); //service.SetParameter("PickBarcode", model.PickBarcode); service.SetParameter("DealQty", model.DealQty); service.ExecuteBusinessCheck("RF_PickSkip", "*"); service.ExecuteBusinessProcess("RF_PickSkip"); return(Content("")); } catch (Exception ex) { Loger.Error(ex); return(Content(ex.Message)); } }
/// <summary> /// 提交出库箱 /// </summary> /// <returns></returns> public ActionResult SubmitTrayNO(PickViewModel model) { GetLoginInfo(); if (Login_Info == null) { return(Content("<script>location.href='/Home'</script>")); } service = new PickGoodsBase(Login_Info.User_ID, Login_Info.User_Name, Login_Info.Token); try { service.SetParameter("ToTrayNO", model.ToTrayNO); service.ExecuteBusinessCheck("RF_PickCheck", "*"); service.ExecuteBusinessProcess("RF_PickCheck"); return(Content("")); } catch (Exception ex) { Loger.Error(ex); return(Content(ex.Message)); } }