示例#1
0
        public IActionResult ETCPAInventoryInputIndex(List <int> sysResource, SysCustomizedListSearchArg arg, int page = 1, int size = 20)
        {
            RolePermissionViewModel model = new RolePermissionViewModel();
            var customizedList            = _sysCustomizedListService.getByAccount("付费方式");

            ViewData["Companys"] = new SelectList(customizedList, "CustomizedValue", "CustomizedValue");
            string flag     = "综保区填写核注清单";
            var    pageList = _exportTransportationService.searchList(arg, page, size, flag);

            ViewBag.Arg = arg;//传参数
            var dataSource = pageList.toDataSourceResult <Entities.ExportTransportation, SysCustomizedListSearchArg>("etCPAInventoryInput", arg);

            return(View(dataSource));//sysImport
        }