0915-gaofei

This commit is contained in:
gaofei
2021-09-15 14:50:52 +08:00
parent 176d79aa61
commit c330245a88
51 changed files with 20672 additions and 1060 deletions
@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.JDGL.WBS
{
public partial class CostControlWeekDetailHistoryShow : PageBase
{
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
// 绑定表格
BindGrid();
}
}
/// <summary>
/// 绑定数据
/// </summary>
private void BindGrid()
{
Model.WBS_CostControlDetail costControlDetail = BLL.CostControlDetailService.GetCostControlDetailByCostControlDetailId(Request.Params["Id"]);
List<Model.WBS_CostControlDetailHistory> detailHistorys = BLL.CostControlDetailHistoryService.GetWeekCostControlDetailHistorysByCostControlId(costControlDetail.CostControlId, costControlDetail.Months.Value);
Grid1.DataSource = detailHistorys;
Grid1.DataBind();
}
#endregion
}
}