Merge branch '170_package_bug' into 'master'

* Fix bug #16639,#16599.

See merge request easycorp/zentaopms!849
This commit is contained in:
王怡栋
2021-12-09 03:06:58 +00:00
+2 -2
View File
@@ -60,7 +60,7 @@ function showItem(val)
var select = this;
$(this).children('option').each(function()
{
if($(this).html().indexOf(val) != -1)
if($(this).html() == val)
{
$(this).css('display', '');
}
@@ -79,7 +79,7 @@ function hideItem(select, val)
{
$(select).children('option').each(function()
{
if($(this).html().indexOf(val) != -1)
if($(this).html() == val)
{
$(this).css("display", "none");
}