From ac62296dbb8778bf41a344b12a96884cdc6dc3db Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Thu, 11 Apr 2024 15:13:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/CQMS/PersonManage/TestRecordEdit.aspx.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SGGL/FineUIPro.Web/CQMS/PersonManage/TestRecordEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/PersonManage/TestRecordEdit.aspx.cs index 9ad3367f..cb5fe0d1 100644 --- a/SGGL/FineUIPro.Web/CQMS/PersonManage/TestRecordEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/PersonManage/TestRecordEdit.aspx.cs @@ -205,11 +205,11 @@ namespace FineUIPro.Web.CQMS.PersonManage { err += "检查人不能为空!"; } - if (string.IsNullOrEmpty(NDTResult)) + if (string.IsNullOrEmpty(NDTResult) && IsAppearanceOK == "是") { err += "无损检测结果不能为空!"; } - if (string.IsNullOrEmpty(CheckUnit)) + if (string.IsNullOrEmpty(CheckUnit) && IsAppearanceOK == "是") { err += "检测单位不能为空!"; }