20210520
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
using BLL;
|
||||
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.Check
|
||||
{
|
||||
public partial class ProgressCompletionView : PageBase
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public string ProgressCompletionId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["ProgressCompletionId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["ProgressCompletionId"] = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 项目id
|
||||
/// </summary>
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["ProjectId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["ProjectId"] = value;
|
||||
}
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
ProgressCompletionId = Request.Params["ProgressCompletionId"];
|
||||
if (!string.IsNullOrEmpty(ProgressCompletionId))
|
||||
{
|
||||
|
||||
Model.JDGL_ProgressCompletion ProgressCompletion = BLL.ProgressCompletionService.GetProgressCompletionById(ProgressCompletionId);
|
||||
if (ProgressCompletion != null)
|
||||
{
|
||||
this.ProjectId = ProgressCompletion.ProjectId;
|
||||
if (ProgressCompletion.Months != null)
|
||||
{
|
||||
this.txtMonths.Text = string.Format("{0:yyyy-MM}", ProgressCompletion.Months);
|
||||
}
|
||||
if (ProgressCompletion.PlanNum != null)
|
||||
{
|
||||
this.txtPlanNum.Text = ProgressCompletion.PlanNum.ToString();
|
||||
}
|
||||
if (ProgressCompletion.RealNum != null)
|
||||
{
|
||||
this.txtRealNum.Text = ProgressCompletion.RealNum.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user