20250303
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user