20241112 合同管理
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user