diff --git a/SGGL/FineUIPro.Web/CQMS/PersonManage/WelderItemEdit.aspx b/SGGL/FineUIPro.Web/CQMS/PersonManage/WelderItemEdit.aspx index 347d5650..773172d7 100644 --- a/SGGL/FineUIPro.Web/CQMS/PersonManage/WelderItemEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/PersonManage/WelderItemEdit.aspx @@ -37,19 +37,19 @@ - - + + - - + + - + @@ -64,14 +64,14 @@ - - + + - - + + @@ -89,14 +89,14 @@ - - + + - - + + diff --git a/SGGL/FineUIPro.Web/CQMS/PersonManage/WelderItemEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/PersonManage/WelderItemEdit.aspx.cs index 701a9f8a..37b3fecc 100644 --- a/SGGL/FineUIPro.Web/CQMS/PersonManage/WelderItemEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/PersonManage/WelderItemEdit.aspx.cs @@ -67,6 +67,23 @@ namespace FineUIPro.Web.CQMS.PersonManage { this.drpWeldingMode.SelectedValue = welderQualify.WelderMode; } + if (welderQualify.IsAudit == true) + { + this.txtQualificationItem.Enabled = false; + this.txtWeldingMethod.Enabled = false; + this.txtMaterialType.Enabled = false; + this.txtWeldingLocation.Enabled = false; + this.txtWeldType.Enabled = false; + this.ckbIsCanWeldG.Enabled = false; + this.txtThicknessMin.Enabled = false; + this.txtThicknessMax.Enabled = false; + this.txtSizesMin.Enabled = false; + this.txtSizesMax.Enabled = false; + this.txtThicknessMin2.Enabled = false; + this.txtThicknessMax2.Enabled = false; + this.txtSizesMin2.Enabled = false; + this.txtSizesMax2.Enabled = false; + } } } var w = BLL.SitePerson_PersonService.GetSitePersonByProjectIdPersonId(this.CurrUser.LoginProjectId, this.hdWelderId.Text); diff --git a/SGGL/FineUIPro.Web/HJGL/PersonManage/WelderItemEdit.aspx.cs b/SGGL/FineUIPro.Web/HJGL/PersonManage/WelderItemEdit.aspx.cs index 68f28bea..0a6b2451 100644 --- a/SGGL/FineUIPro.Web/HJGL/PersonManage/WelderItemEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/PersonManage/WelderItemEdit.aspx.cs @@ -67,23 +67,23 @@ namespace FineUIPro.Web.HJGL.PersonManage { this.drpWeldingMode.SelectedValue = welderQualify.WelderMode; } - } - if (welderQualify.IsAudit == true) - { - this.txtQualificationItem.Enabled = false; - this.txtWeldingMethod.Enabled = false; - this.txtMaterialType.Enabled = false; - this.txtWeldingLocation.Enabled = false; - this.txtWeldType.Enabled = false; - this.ckbIsCanWeldG.Enabled = false; - this.txtThicknessMin.Enabled = false; - this.txtThicknessMax.Enabled = false; - this.txtSizesMin.Enabled = false; - this.txtSizesMax.Enabled = false; - this.txtThicknessMin2.Enabled = false; - this.txtThicknessMax2.Enabled = false; - this.txtSizesMin2.Enabled = false; - this.txtSizesMax2.Enabled = false; + if (welderQualify.IsAudit == true) + { + this.txtQualificationItem.Enabled = false; + this.txtWeldingMethod.Enabled = false; + this.txtMaterialType.Enabled = false; + this.txtWeldingLocation.Enabled = false; + this.txtWeldType.Enabled = false; + this.ckbIsCanWeldG.Enabled = false; + this.txtThicknessMin.Enabled = false; + this.txtThicknessMax.Enabled = false; + this.txtSizesMin.Enabled = false; + this.txtSizesMax.Enabled = false; + this.txtThicknessMin2.Enabled = false; + this.txtThicknessMax2.Enabled = false; + this.txtSizesMin2.Enabled = false; + this.txtSizesMax2.Enabled = false; + } } } var w = BLL.SitePerson_PersonService.GetSitePersonById(this.hdWelderId.Text);