20230607新增月报费用取值,上报集团报表(月报)默认自动取值功能新增
This commit is contained in:
@@ -90,6 +90,21 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
var getMont = Funs.DB.SeDin_MonthReport.FirstOrDefault(x => x.MonthReportId == this.MonthReportId);
|
||||
if (getMont != null)
|
||||
{
|
||||
if (getMont.ReporMonth < Funs.GetNewDateTime("2023-06-01"))
|
||||
{
|
||||
this.txtCost1.InnerText = "安全防护投入(元)";
|
||||
this.txtCost2.InnerText = "劳动保护及职业健康投入(元)";
|
||||
this.txtCost3.InnerText = "安全技术进步投入(元)";
|
||||
this.txtCost4.InnerText = "安全教育培训投入(元)";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtCost1.InnerText = "安全施工(元)";
|
||||
this.txtCost2.InnerText = "职业健康(元)";
|
||||
this.txtCost3.InnerText = "环境保护(元)";
|
||||
this.txtCost4.InnerText = "文明施工(元)";
|
||||
}
|
||||
|
||||
this.CompileManId.SelectedValue = getMont.CompileManId;
|
||||
this.AuditManId.SelectedValue = getMont.AuditManId;
|
||||
this.ApprovalManId.SelectedValue = getMont.ApprovalManId;
|
||||
|
||||
Reference in New Issue
Block a user