塔吊
This commit is contained in:
@@ -36,9 +36,7 @@ namespace FineUIPro.Web.HSSE.TowerCrane
|
||||
if (!IsPostBack)
|
||||
{
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
|
||||
|
||||
this.GetButtonPower();
|
||||
this.TowerCraneId = Request.Params["TowerCraneId"];
|
||||
if (!string.IsNullOrEmpty(this.TowerCraneId))
|
||||
{
|
||||
@@ -47,6 +45,8 @@ namespace FineUIPro.Web.HSSE.TowerCrane
|
||||
{
|
||||
this.txtTowerCraneName.Text = rectify.TowerCraneName;
|
||||
this.txtTowerCraneCode.Text = rectify.TowerCraneCode;
|
||||
this.txtVideoAccount.Text = rectify.VideoAccount;
|
||||
this.txtVideoPassword.Text = rectify.VideoPassword;
|
||||
if (rectify.MaxHoist.HasValue)
|
||||
{
|
||||
this.txtMaxHoist.Text = rectify.MaxHoist.Value.ToString("#.##");
|
||||
@@ -111,6 +111,8 @@ namespace FineUIPro.Web.HSSE.TowerCrane
|
||||
}
|
||||
towerCrane.TowerCraneCode = this.txtTowerCraneCode.Text.Trim();
|
||||
towerCrane.TowerCraneName = this.txtTowerCraneName.Text.Trim();
|
||||
towerCrane.VideoAccount = this.txtVideoAccount.Text.Trim();
|
||||
towerCrane.VideoPassword = this.txtVideoPassword.Text.Trim();
|
||||
|
||||
if (!string.IsNullOrEmpty(this.txtMaxHoist.Text))
|
||||
{
|
||||
@@ -141,9 +143,7 @@ namespace FineUIPro.Web.HSSE.TowerCrane
|
||||
towerCrane.TowerCap = "否";
|
||||
}
|
||||
towerCrane.Remark = this.txtRemark.Text.Trim();
|
||||
Funs.DB.SubmitChanges();
|
||||
|
||||
|
||||
Funs.DB.SubmitChanges();
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user