28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
using System;
|
|
|
|
namespace FineUIPro.Web.HJGL.BaseInfo
|
|
{
|
|
public partial class WeldingLocationView : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!IsPostBack)
|
|
{
|
|
this.txtWeldingLocationCode.Focus();
|
|
btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
|
|
|
string WeldingLocationId = Request.Params["WeldingLocationId"];
|
|
if (!string.IsNullOrEmpty(WeldingLocationId))
|
|
{
|
|
Model.Base_WeldingLocation WeldingLocation = BLL.Base_WeldingLocationServie.GetWeldingLocationById(WeldingLocationId);
|
|
if (WeldingLocation != null)
|
|
{
|
|
this.txtWeldingLocationCode.Text = WeldingLocation.WeldingLocationCode;
|
|
this.txtWeldingLocationName.Text = WeldingLocation.WeldingLocationName;
|
|
this.txtRemark.Text = WeldingLocation.Remark;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |