This commit is contained in:
wangyidong
2023-10-10 16:50:04 +08:00
parent ba43213c17
commit ca88914a5d
+12 -1
View File
@@ -34,13 +34,24 @@ $(function()
{
if(storyType == 'requirement' && systemMode != 'PLM') return false;
var source = $(this).val();
var $sourceBox = $(this).closest('tr.sourceBox');
var source = $(this).val();
if($.inArray(source, feedbackSource) != -1)
{
if($sourceBox.length > 0)
{
$(this).closest('td').attr('colspan', '1');
$sourceBox.find('.sourceTd').attr('colspan', '1');
}
$('#feedbackBox').removeClass('hidden');
}
else
{
if($sourceBox.length > 0)
{
$(this).closest('td').attr('colspan', '2');
$sourceBox.find('.sourceTd').attr('colspan', '2');
}
$('#feedbackBox').addClass('hidden');
}
});