* Finish task#9033.

This commit is contained in:
qiyu-xie
2021-01-15 17:24:26 +08:00
parent 269ec964e4
commit cd2c7278b7
5 changed files with 37 additions and 23 deletions
+2 -4
View File
@@ -293,19 +293,17 @@ function setBudgetTipsAndAclList(parentProgramID)
{
if(parentProgramID != 0)
{
$('.budgetSpan').removeClass('hidden');
parentProgram = PGMList[parentProgramID];
programBudget = parentProgram.budget;
PGMBudgetUnit = budgetUnitList[parentProgram.budgetUnit];
budgetNotes = programBudget != 0 ? (programBudget + PGMBudgetUnit) : future;
$('.budgetSpan').html(PGMParentBudget + budgetNotes);
$('#budget').attr('placeholder', PGMParentBudget + budgetNotes);
$('.aclBox').html($('#subPGMAcl').html());
}
else
{
$('.budgetSpan').addClass('hidden');
$('#budget').removeAttr('placeholder');
$('.aclBox').html($('#PGMAcl').html());
}
}