InitBasfTcc11
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
|
||||
namespace FineUIPro.Web.PublicInfo.BaseInfo
|
||||
{
|
||||
public partial class PipingClassDetailView : PageBase
|
||||
{
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
|
||||
string pipingClassDetailId = Request.Params["PipingClassDetailId"];
|
||||
if (!string.IsNullOrEmpty(pipingClassDetailId))
|
||||
{
|
||||
Model.View_Base_PipingClassDetail pipingClassDetail = BLL.Base_PipingClassDetailService.GetViewPipingClassDetailById(pipingClassDetailId);
|
||||
if (pipingClassDetail != null)
|
||||
{
|
||||
this.hdPipingClassId.Text = pipingClassDetail.PipingClassId;
|
||||
this.txtPipingClass.Text = pipingClassDetail.PipingClassName;
|
||||
this.txtWeldTypeCode.Text = pipingClassDetail.WeldTypeCode;
|
||||
this.txtDetectionTypeCode.Text = pipingClassDetail.DetectionTypeCode;
|
||||
this.txtDetectionRateCode.Text = pipingClassDetail.DetectionRateCode;
|
||||
if (pipingClassDetail.SizeMin.HasValue)
|
||||
{
|
||||
this.txtSizeMin.Text = pipingClassDetail.SizeMin.ToString();
|
||||
}
|
||||
if (pipingClassDetail.SizeMax.HasValue)
|
||||
{
|
||||
this.txtSizeMax.Text = pipingClassDetail.SizeMax.ToString();
|
||||
}
|
||||
if (pipingClassDetail.ThicknessMin.HasValue)
|
||||
{
|
||||
this.txtThicknessMin.Text = pipingClassDetail.ThicknessMin.ToString();
|
||||
}
|
||||
if (pipingClassDetail.ThicknessMax.HasValue)
|
||||
{
|
||||
this.txtThicknessMax.Text = pipingClassDetail.ThicknessMax.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
this.hdPipingClassId.Text = Request.Params["PipingClassId"];
|
||||
if (!string.IsNullOrEmpty(this.hdPipingClassId.Text))
|
||||
{
|
||||
this.txtPipingClass.Text = BLL.Base_PipingClassService.GetPipingClassByPipingClassId(this.hdPipingClassId.Text.Trim()).PipingClassCode;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user