* Update Code.

This commit is contained in:
zhouxudong
2022-08-04 02:59:02 +00:00
parent 883c61e32a
commit 4ac799f1d5
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -352,7 +352,7 @@ $(document).on('change', "#plansBox select[name^='plans']", function()
* @access public
* @return void
*/
function budgetOverrunTips(projectID = 0)
function budgetOverrunTips()
{
var selectedProgramID = $('#parent').val();
var budget = $('#budget').val();
@@ -363,6 +363,7 @@ function budgetOverrunTips(projectID = 0)
return false;
}
if(typeof(projectIDi) == 'undefined') projectID = 0;
$.get(createLink('project', 'ajaxGetAvailableBudget', 'projectID=' + projectID + "&selectedProgramID=" + selectedProgramID + "&budget=" + budget), function(data)
{
var data = JSON.parse(data);
+1 -1
View File
@@ -4,7 +4,7 @@ $(function()
{
var programID = $(this).val();
setAclList(programID);
budgetOverrunTips(projectID);
budgetOverrunTips();
/* Determine whether the project can change the project set. */
link = createLink('project', 'ajaxCheckProduct', 'programID=' + programID + '&projectID=' + projectID);