From 823cba39bb6a8790847fd1db61c7f2bb35f7586c Mon Sep 17 00:00:00 2001 From: gaofei <181547018@qq.com> Date: Wed, 30 Nov 2022 15:51:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9=E7=84=8A?= =?UTF-8?q?=E5=B7=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CQMS/PersonManage/WelderItemEdit.aspx | 26 +++++++------- .../CQMS/PersonManage/WelderItemEdit.aspx.cs | 17 ++++++++++ .../HJGL/PersonManage/WelderItemEdit.aspx.cs | 34 +++++++++---------- 3 files changed, 47 insertions(+), 30 deletions(-) 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);