From 65d027e559479c61fa0bf6aeebce1acd64ba4af4 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Mon, 24 Nov 2025 11:18:29 +0800 Subject: [PATCH] 1 --- .../TestPackageManagementDataIn.aspx.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/TestPackageManagementDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProcessControl/TestPackageManagementDataIn.aspx.cs index 064cf122..2070da75 100644 --- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/TestPackageManagementDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/TestPackageManagementDataIn.aspx.cs @@ -212,10 +212,10 @@ namespace FineUIPro.Web.CQMS.ProcessControl errorInfos.Add(new ErrorInfo { Row = (i+2).ToString(), Column = "计划试验日期", Reason = "不是日期格式!" }); } } - else - { - errorInfos.Add(new ErrorInfo { Row = (i+2).ToString(), Column = "计划试验日期", Reason = "此项为必填项!" }); - } + //else + //{ + // errorInfos.Add(new ErrorInfo { Row = (i+2).ToString(), Column = "计划试验日期", Reason = "此项为必填项!" }); + //} if (!string.IsNullOrWhiteSpace(completedDate)) { try @@ -227,10 +227,10 @@ namespace FineUIPro.Web.CQMS.ProcessControl errorInfos.Add(new ErrorInfo { Row = (i+2).ToString(), Column = "试验完成日期", Reason = "不是日期格式!" }); } } - else - { - errorInfos.Add(new ErrorInfo { Row = i.ToString(), Column = "试验完成日期", Reason = "此项为必填项!" }); - } + //else + //{ + // errorInfos.Add(new ErrorInfo { Row = i.ToString(), Column = "试验完成日期", Reason = "此项为必填项!" }); + //} if (!string.IsNullOrWhiteSpace(completedState)) { if (completedState != "已完成" && completedState != "未完成")