集团三库

This commit is contained in:
2026-09-10 18:51:12 +08:00
parent dc6abc4cbb
commit 5be709c0e6
131 changed files with 25364 additions and 970 deletions
@@ -191,7 +191,7 @@ namespace FineUIPro.Web.CQMS.Check
RewardAndPunish.Remark = this.txtRemark.Text.Trim();
RewardAndPunish.DataSource = "0";
RewardAndPunish.SysTemType = this.SysTemType;
if (string.IsNullOrEmpty(this.hdId.Text.Trim()))
{
RewardAndPunish.RewardAndPunishID = Guid.NewGuid().ToString();
@@ -207,9 +207,19 @@ namespace FineUIPro.Web.CQMS.Check
}
ShowNotify("保存成功!", MessageBoxIcon.Success);
//更新三库事故事件
string message = string.Empty;
SanKuDataSummaryReportService.UpdateSafetyRewardRecord(RewardAndPunish.RewardAndPunishID, ref message);
if (!string.IsNullOrWhiteSpace(message))
{
ShowNotify(message, MessageBoxIcon.Warning);
}
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
#region
/// <summary>
@@ -272,16 +282,16 @@ namespace FineUIPro.Web.CQMS.Check
this.txtRewardAndPunishCode.Text = $"{type}00001";
}
}
protected void drpRewardAndPunishType_Click(object sender, EventArgs e)
{
if (this.drpType.SelectedValue == "1")
{
ConstValue.InitConstValueDropDownList(this.drpRewardAndPunishType, "RewardType", false);
ConstValue.InitConstValueDropDownList(this.drpRewardAndPunishType, BLL.ConstValue.Group_RewardType, false);
}
else
{
ConstValue.InitConstValueDropDownList(this.drpRewardAndPunishType, "PunishType", false);
ConstValue.InitConstValueDropDownList(this.drpRewardAndPunishType, BLL.ConstValue.Group_PunishType, false);
}
}
}