页面默认存在name值为entity.recommendationDepartment的文本框
为什么show和hide同时存在,show不生效,条件完全满足
if(flag || honerType == 2){
$("input[name='entity.recommendationDepartment']").parent().parent().show();
$("input[name='entity.recommendationDepartment']").parent().parent().prev().show();
}else{
$("input[name='entity.recommendationDepartment']").parent().parent().prev().hide();
$("input[name='entity.recommendationDepartment']").parent().parent().hide();
}