修改质量月报

This commit is contained in:
2024-04-22 14:09:36 +08:00
parent d1e5badc5b
commit 01ca8c35b8
6 changed files with 353 additions and 222 deletions
@@ -6,6 +6,7 @@ using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using Newtonsoft.Json.Linq;
using System.Threading;
namespace FineUIPro.Web.CQMS.ManageReportNew
{
@@ -308,22 +309,28 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
{
if (!string.IsNullOrEmpty(this.txtStartDate.Text.Trim()) && !string.IsNullOrEmpty(this.txtEndDate.Text.Trim()))
{
if (Funs.GetNewDateTime(this.txtStartDate.Text.Trim()) > Funs.GetNewDateTime(this.txtEndDate.Text.Trim()))
{
Alert.ShowInTop("开始时间不能大于结束时间!", MessageBoxIcon.Warning);
return;
}
if (AddOrUpdate == "update")
{
lodAllGrid("1");
}
else
{
lodAllGrid("0");
}
PageContext.RegisterStartupScript("refresh();");
}
}
protected void btnLoad_Click(object sender, EventArgs e) {
if (AddOrUpdate == "update")
{
lodAllGrid("1");
PageContext.RegisterStartupScript("rehiden();");
}
else
{
lodAllGrid("0");
PageContext.RegisterStartupScript("rehiden();");
}
}
#endregion
#region Grid1方法