Esempio n. 1
0
        /// <summary>
        /// 仓库翻页
        /// </summary>
        /// <param name="PageIndex"></param>
        /// <returns></returns>
        public ActionResult SetWarehousePage(int PageIndex)
        {
            List <Depots> list = DepotsBLL.GetAllPage(PageIndex, 10);

            ViewData["depotList"] = list;
            ViewData["count"]     = DepotsBLL.GetAll().Count;
            ViewData["PageIndex"] = PageIndex;
            return(View("SetWarehouse"));
        }
Esempio n. 2
0
        public ActionResult SetWarehouse()
        {
            List <Depots> list = DepotsBLL.GetAllPage(1, 10);

            ViewData["depotList"] = list;
            ViewData["count"]     = DepotsBLL.GetAll().Count;
            ViewData["PageIndex"] = 1;
            return(View());
        }