三库
This commit is contained in:
@@ -207,9 +207,18 @@ 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>
|
||||
@@ -259,12 +268,13 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user