20231016月报安全工时、累计工时优化
This commit is contained in:
@@ -214,6 +214,14 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
Alert.ShowInTop("当前月份的月报已存在!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
var getNMonthReport = Funs.DB.SeDin_MonthReport.FirstOrDefault(x =>x.ProjectId == this.CurrUser.LoginProjectId && x.States != Const.State_3);
|
||||
if (getNMonthReport != null)
|
||||
{
|
||||
Alert.ShowInTop("存在未完成月报,请先办理完成!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ManagerMonth_SeDinEdit.aspx?Month={0}", txtMonth.Text.Trim()), "添加月报表"));
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user