Ejemplo n.º 1
0
        public ActionResult ArriveManage()
        {
            int    type    = DataConvert.CLng(Request["Type"], -100);
            int    state   = DataConvert.CLng(Request["State"], 1);
            int    storeID = DataConvert.CLng(Request.QueryString["StoreID"], -100);
            string addon   = Request["addon"] ?? "";

            if (state == 1 && string.IsNullOrEmpty(addon))
            {
                addon = "noexp";
            }
            //, mu.UserID, type, state, addon
            PageSetting setting = avBll.SelPage(CPage, PSize, new Filter_Arrive()
            {
                uid     = mu.UserID,
                type    = type,
                state   = state,
                addon   = addon,
                storeID = storeID
            });

            if (Request.IsAjaxRequest())
            {
                return(PartialView("ArriveManage_List", setting));
            }
            return(View(setting));
        }
Ejemplo n.º 2
0
        public ActionResult ArriveManage()
        {
            M_Store_Info storeMod = storeBll.SelModelByUser(mu.UserID);
            PageSetting  setting  = avBll.SelPage(CPage, PSize, new Filter_Arrive()
            {
                storeID = storeMod.ID
            });

            if (function.isAjax())
            {
                return(PartialView("ArriveManage_List", setting));
            }
            else
            {
                return(View(setting));
            }
        }
Ejemplo n.º 3
0
        public IActionResult ArriveManage()
        {
            PageSetting setting = avBll.SelPage(CPage, PSize, new Filter_Arrive()
            {
                skey = GetParam("skey"),
                type = DataConvert.CLng(GetParam("Type_DP"), -100),
                uid  = DataConvert.CLng(GetParam("IsBind_Hid"), -100)
            });

            if (Request.IsAjaxRequest())
            {
                return(PartialView("Arrive_List", setting));
            }
            else
            {
                return(View(setting));
            }
            //function.Script(this, "showtab('" + IsBind_Hid.Value + "');");
        }
Ejemplo n.º 4
0
        public ActionResult ArriveManage()
        {
            PageSetting setting = avBll.SelPage(CPage, PSize, mu.UserID, DataConvert.CLng(Request["Type"], -100), DataConvert.CLng(Request["State"], -100));

            return(View(setting));
        }