20241112 合同管理

This commit is contained in:
2024-11-12 14:52:33 +08:00
parent 80e534050e
commit 6bee3ffa04
46 changed files with 6562 additions and 81 deletions
@@ -192,5 +192,26 @@ namespace FineUIPro.Web.SES
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
}
#endregion
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void txtSupplementedBudget_TextChanged(object sender, EventArgs e)
{
this.txtTotalBudget.Text = string.Empty;
if (!string.IsNullOrEmpty(this.txtSupplementedBudget.Text.Trim()))
{
string id = Request.Params["id"];
decimal? totalSupp = 0;
var totals = ContractManagementService.GetContractManagementByDataIdFileType(id, "2");
foreach (var item in totals)
{
totalSupp += item.SupplementedBudget;
}
this.txtTotalBudget.Text = (Funs.GetNewIntOrZero(txtInitialBudget.Text.Trim()) + totalSupp + Funs.GetNewDecimalOrZero(this.txtSupplementedBudget.Text.Trim())).ToString();
}
}
}
}