|
@@ -990,4 +990,17 @@ function initExpandSearch() {
|
|
|
$("#expandSearchLink").addClass("expandlink");
|
|
|
$(".search_table").css("display","none");
|
|
|
}
|
|
|
+}
|
|
|
+
|
|
|
+//重置查询表单
|
|
|
+function resetSrchForm() {
|
|
|
+ $(".search_table").find(":input").not(":button,:submit,:reset,:hidden").val("").removeAttr("checked").removeAttr("selected");
|
|
|
+ $(".search_table").find("select").each(function(){
|
|
|
+ //$(this).find("option:first").attr("selected","true");
|
|
|
+ //console.info($(this).find("option:first").val());
|
|
|
+ $(this).selectpicker('val',$(this).find("option:first").val());
|
|
|
+ });
|
|
|
+ //$("#"+formId).find(":select").not(":button,:submit,:reset,:hidden").removeAttr("selected");
|
|
|
+ //$("select").val().removeAttr("selected");
|
|
|
+ //$("[name='checkbox']").attr("checked",'true');//全选
|
|
|
}
|