20220315 代码初始化上传
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user