Exemple #1
0
 /// <summary>
 /// 检查出库箱是否已提交过程,false为未提交
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public ActionResult CheckTrayNOSubmited(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_SetCheckTray", "*");
         service.ExecuteBusinessProcess("RF_SetCheckTray");
         return(Content(service.GetParameter("IsCheck").ToString()));
     }
     catch (Exception ex)
     {
         Loger.Error(ex);
         return(Content(ex.Message));
     }
 }