This commit is contained in:
2025-03-03 09:57:43 +08:00
parent db314045db
commit c49d5161bf
7 changed files with 356 additions and 38 deletions
@@ -173,6 +173,20 @@ namespace FineUIPro.Web.SES
BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "增加费用增补!");
ShowNotify("Save successfully!", MessageBoxIcon.Success);
}
//费用增补回写到Contract Budget中
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
if (data != null)
{
//decimal? totalBudget = 0;
//var conMaLists = BLL.ContractManagementService.GetContractManagementByDataIdFileType(id, "2");
//foreach (var item in conMaLists)
//{
// totalBudget += item.TotalBudget;
//}
data.Actual_Budget = newContract.TotalBudget;
BLL.SESRelatedDataService.UpdateSESRelatedData(data);
}
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
#endregion