@using WX.CRM.WebHelper; @{ ViewBag.Title = "佣金规则明细查询"; Layout = "~/Views/Shared/_Index_Layout2.cshtml"; //string stime = (new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1)).AddMonths(1).AddDays(-1).ToString("yyyy-MM-dd"); //string etime = (new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1)).AddMonths(1).AddDays(-1).ToString("yyyy-MM-dd"); string stime_his = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).AddMonths(-2).ToString("yyyy-MM-dd"); string etime_his = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).AddMonths(-1).AddDays(-1).ToString("yyyy-MM-dd"); }
@Html.ToolButton("btnQuery", "icon-search", "查询", true) @Html.Action("ToolBar", "Control", ViewBag.ToolBar as ToolBar) @etime_his 之前的的数据请使用历史查询
@Html.Raw(ViewBag.gridTable)