Example #1
0
        public ActionResult StockList()
        {
            M_CommonData storeMod = conBll.SelMyStore_Ex(ref err);

            if (!string.IsNullOrEmpty(err))
            {
                function.WriteErrMsg(err); return(null);
            }
            PageSetting setting = stockBll.SelPage(CPage, PSize, storeMod.GeneralID);

            if (Request.IsAjaxRequest())
            {
                return(PartialView("StockList_List", setting));
            }
            return(View(setting));
        }
Example #2
0
        public ActionResult StockList()
        {
            M_Store_Info storeMod = storeBll.SelModelByUser(mu.UserID);
            F_Stock      filter   = new F_Stock()
            {
                NodeID    = DataConvert.CLng(Request["NodeID"]),
                ProID     = DataConvert.CLng(Request["ProID"]),
                StockType = DataConvert.CLng(Request["StockType"]),
                StoreID   = storeMod.ID,
                ProName   = Request["ProName"],
                AddUser   = Request["AddUser"],
                SDate     = Request["SDate"],
                EDate     = Request["EDate"]
            };
            PageSetting setting = stockBll.SelPage(CPage, PSize, filter);

            if (Request.IsAjaxRequest())
            {
                return(PartialView("StockList_List", setting));
            }
            return(View(setting));
        }
Example #3
0
        public IActionResult StockList()
        {
            if (!B_ARoleAuth.AuthCheckEx(ZLEnum.Auth.shop, "stock"))
            {
            }
            F_Stock filter = new F_Stock()
            {
                NodeID    = DataConvert.CLng(RequestEx["NodeID"]),
                ProID     = DataConvert.CLng(RequestEx["ProID"]),
                StockType = DataConvert.CLng(RequestEx["StockType"]),
                ProName   = RequestEx["ProName"],
                AddUser   = RequestEx["AddUser"],
                SDate     = RequestEx["SDate"],
                EDate     = RequestEx["EDate"]
            };
            PageSetting setting = stockBll.SelPage(CPage, PSize, filter);

            if (Request.IsAjaxRequest())
            {
                return(PartialView("~/Areas/User/Views/UserShop/StockList_List.cshtml", setting));
            }
            return(View(setting));
        }