* Finish task#8730.

This commit is contained in:
qiyu-xie
2020-12-23 09:28:25 +08:00
parent 65989c2b59
commit 2aedf0c0d6
5 changed files with 38 additions and 26 deletions
+21
View File
@@ -260,3 +260,24 @@ $(function()
}
});
})
/**
* Change budget input.
*
* @access public
* @return void
*/
$(function()
{
$('#future').on('change', function()
{
if($(this).prop('checked'))
{
$('#budget').val('').attr('disabled', 'disabled');
}
else
{
$('#budget').removeAttr('disabled');
}
});
})