コード例 #1
0
        public ActionResult SettlementSummary(SettlementSummaryModelFilterModel filterModel)
        {
            var param = new SettlementSummaryParam();

            filterModel.CopyTo(param);
            var model = new SettlementSummaryModelViewModel()
            {
                FilterModel = filterModel,
                PagedList   = _settlementService.GetSettlementSummaryExtPagedList(param),
            };

            return(View(model));
        }
コード例 #2
0
ファイル: Model.cs プロジェクト: yanh19930226/yunExpress
 public SettlementSummaryModelViewModel()
 {
     StatusList = new List <SelectListItem>()
     {
         new SelectListItem()
         {
             Text = "全部", Value = null
         }, new SelectListItem()
         {
             Text = "未结清", Value = "1"
         }, new SelectListItem()
         {
             Text = "已结清", Value = "2"
         }
     };
     FilterModel = new SettlementSummaryModelFilterModel();
     PagedList   = new PagedList <SettlementSummaryExt>();
 }