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 != "未完成")