public ActionResult StocInOut(StocInOutModels model) { //권한 체크=================================================== if (!chk.chkPermission("StocInOut", "PER_SELECT")) { return(RedirectToAction("Index", "Home", new { msg = chk.alertStr })); } //=========================================================== model = act.StocInOutBase(model); ProdDbModels actProd = new ProdDbModels(); EtsDbModels actEtc = new EtsDbModels(); EtsReqModels tmpModel = new EtsReqModels(); tmpModel.AjaxEseCode = (string)Session["ESE_CODE"]; tmpModel.AjaxNationCode = model.schNation; model.arrayStation = actEtc.EtsReqChkStation(tmpModel); model.cateList1 = actProd.GetCategorySelectBox(1, 0); //1차 카테고리 가져오기 model.cateList2 = actProd.GetCategorySelectBox(2, model.cate1); model.cateList3 = actProd.GetCategorySelectBox(3, model.cate2); model.cateList4 = actProd.GetCategorySelectBox(4, model.cate3); model = act.GetStocInOut(model); //리스트 가져오기 ViewData["pageing"] = comM.setPaging(model.Paging); //페이징 HTML 만들기 return(View(model)); }
public ActionResult EtsReqSelect(ProdListModels model) { ProdDbModels actProd = new ProdDbModels(); //DB커넥션 클래스 선언 model = actProd.GetProdListList(model); //리스트 가져오기 ViewData["pageing"] = comM.setPaging(model.Paging); //페이징 HTML 만들기 return(View(model)); }
public ActionResult StocReqSelect(ProdListModels model) { ProdDbModels actProd = new ProdDbModels(); //DB커넥션 클래스 선언 model.cateList1 = actProd.GetCategorySelectBox(1, 0); //1차 카테고리 가져오기 model.cateList2 = actProd.GetCategorySelectBox(2, model.cate1); model.cateList3 = actProd.GetCategorySelectBox(3, model.cate2); model.cateList4 = actProd.GetCategorySelectBox(4, model.cate3); model = actProd.GetProdListList(model); //리스트 가져오기 ViewData["pageing"] = comM.setPaging(model.Paging); //페이징 HTML 만들기 return(View(model)); }
// GET: Ets 배송 일반 배송 신청 - 보관상품 선택하기 public ActionResult EtsReqSelect() { ProdDbModels actProd = new ProdDbModels(); //DB커넥션 클래스 선언 ProdListModels model = new ProdListModels(); //페이징 설정 초기화 model.Paging.page = 1; model.Paging.pageNum = 10; model.sortKey = "SEQNO"; //리스트 가져오기 model = actProd.GetProdListList(model); ViewData["pageing"] = comM.setPaging(model.Paging); //페이징 HTML 만들기 return(View(model)); }
// GET : 상품 선택 public ActionResult StocReqSelect() { ProdDbModels actProd = new ProdDbModels(); //DB커넥션 클래스 선언 ProdListModels model = new ProdListModels(); //페이징 설정 초기화 model.Paging.page = 1; model.Paging.pageNum = 10; model.sortKey = "SEQNO"; model.Item.EST_CODE = (string)Session["EST_CODE"]; model.Item.ESE_CODE = (string)Session["ESE_CODE"]; //리스트 가져오기 model.cateList1 = actProd.GetCategorySelectBox(1, 0); //1차 카테고리 가져오기 model = actProd.GetProdListList(model); ViewData["pageing"] = comM.setPaging(model.Paging); //페이징 HTML 만들기 return(View(model)); }