配置id的检索in方式,增加id个数不大于200的校验
This commit is contained in:
@@ -741,23 +741,29 @@ window.onload=function(){
|
||||
// 配置id的搜索下拉框选择切换
|
||||
if ($("#searchForm #seltype").val() == 'compileIdNew') {
|
||||
$("#searchForm #intype").addClass("compileIdCheck");
|
||||
$("#searchForm #intype").addClass("compileIdCheckNum");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("compileIdCheck");
|
||||
$("#searchForm #intype").removeClass("compileIdCheckNum");
|
||||
}
|
||||
// reset时去掉number
|
||||
$("#resetBtn").on("click", function() {
|
||||
if ($("#searchForm #seltype").val() == 'compileIdNew') {
|
||||
$("#searchForm #intype").addClass("compileIdCheck");
|
||||
$("#searchForm #intype").addClass("compileIdCheckNum");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("compileIdCheck");
|
||||
$("#searchForm #intype").removeClass("compileIdCheckNum");
|
||||
}
|
||||
});
|
||||
// 切换时为compileId加上number
|
||||
$("#searchForm #seltype").on("change", function() {
|
||||
if ($("#searchForm #seltype").val() == 'compileIdNew') {
|
||||
$("#searchForm #intype").addClass("compileIdCheck");
|
||||
$("#searchForm #intype").addClass("compileIdCheckNum");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("compileIdCheck");
|
||||
$("#searchForm #intype").removeClass("compileIdCheckNum");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user