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 += "检测单位不能为空!"; }