Browse Source

fix: 招标搜索搜素后清空已选标讯

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 year ago
parent
commit
71a7c24e08
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/web/staticres/js/superSearch.js

+ 5 - 0
src/web/staticres/js/superSearch.js

@@ -1025,6 +1025,11 @@ function beforeSubmit(from){
     }
   }
 
+  // 搜索清空已勾选
+  $('.custom-checkbox').prop('checked', false)
+  selectDataIds = []
+  $('#checkNum-bid').html(0)
+
   // 关键词不为空时 存sessionStorage值
   if (searchKeywords !== "") {
     sessionStorage.setItem('is-click-search', 1)