Esempio n. 1
0
 /// <summary>
 /// 提交出库箱
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 ///
 public ActionResult SubmitTrayNO(SetViewModel model)
 {
     GetLoginInfo();
     if (Login_Info == null)
     {
         return(Content("<script>location.href='/Home'</script>"));
     }
     service = new SetService(Login_Info.User_ID, Login_Info.User_Name, Login_Info.Token);
     try
     {
         service.SetParameter("TrayNO", model.TrayNO);
         service.ExecuteBusinessCheck("RF_SetUpdateTray", "*");
         service.ExecuteBusinessProcess("RF_SetUpdateTray");
         return(Content(""));
     }
     catch (Exception ex)
     {
         Loger.Error(ex);
         return(Content(ex.Message));
     }
 }