zhouna 4 anni fa
parent
commit
d257f422ed
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/js/allotCheckTask.js

+ 1 - 1
src/js/allotCheckTask.js

@@ -659,7 +659,7 @@ function bindCheckerSelect(){
         $('.selectChecker').attr('title',itemName)
         $('.selectChecker').attr('title',itemName)
         $(".checkerList").css("display", "none")
         $(".checkerList").css("display", "none")
         global_DeptAllId="";
         global_DeptAllId="";
-        const totalArr = global_DeptId?global_DeptCheckers[global_DeptId]:global_Checkers[+global_activeTabCode+4];
+        const totalArr = global_DeptId.trim()?global_DeptCheckers[global_DeptId]:global_Checkers[+global_activeTabCode+4];
         if(!itemId.trim()){
         if(!itemId.trim()){
             renderCheckerTable(totalArr);
             renderCheckerTable(totalArr);
             return
             return