From eacc0a4856b448c937c10d49d6da7db9b9ad6346 Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Fri, 24 May 2024 10:13:35 +0800 Subject: [PATCH] =?UTF-8?q?20240524=20=E4=BF=AE=E6=94=B9=E5=85=B1=E6=A3=80?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CQMS/ProcessControl/InspectionNotice.aspx.cs | 12 ++++++------ SGGL/WebAPI/WebAPI.csproj.user | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.cs index a5c44d64..5332603e 100644 --- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.cs @@ -185,12 +185,12 @@ namespace FineUIPro.Web.CQMS.ProcessControl return; } //合格的情况下不允许修改 - var model = Funs.DB.ProcessControl_InspectionManagement.FirstOrDefault(x => x.InspectionId == Grid1.SelectedRowID); - if (model.IsOnceQualified == true) - { - Alert.ShowInTop("该共检通知单已合格,不允许修改!", MessageBoxIcon.Warning); - return; - } + //var model = Funs.DB.ProcessControl_InspectionManagement.FirstOrDefault(x => x.InspectionId == Grid1.SelectedRowID); + //if (model.IsOnceQualified == true) + //{ + // Alert.ShowInTop("该共检通知单已合格,不允许修改!", MessageBoxIcon.Warning); + // return; + //} PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InspectionNoticeEdit.aspx?InspectionId={0}", Grid1.SelectedRowID, "编辑 - "))); } diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index bd497c6b..5fe155da 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Release|Any CPU + Debug|Any CPU true