修改质量月报
This commit is contained in:
@@ -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方法
|
||||
|
||||
Reference in New Issue
Block a user