Merge branch 'sprint/181_zhengrunyu_Fixbug' into 'master'

*Fix bug for start and end time when edit it.

See merge request easycorp/zentaopms!1312
This commit is contained in:
孙广明
2022-01-07 02:15:47 +00:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ function changeDate(planID)
{
if($("#future" + planID).prop('checked'))
{
$("input[name='begin[" + planID + "]']").attr('disabled', 'disabled').val('');
$("input[name='end[" + planID + "]']").attr('disabled', 'disabled').val('');
$("input[name='begin[" + planID + "]']").attr('disabled', 'disabled');
$("input[name='end[" + planID + "]']").attr('disabled', 'disabled');
}
else
{
+1 -1
View File
@@ -63,7 +63,7 @@ $('#future').on('change', function()
{
if($(this).prop('checked'))
{
$('#begin').attr('disabled', 'disabled').val('');
$('#begin').attr('disabled', 'disabled');
$('#end').parents('tr').hide();
}
else