TonyKang 6 anni fa
parent
commit
a6ab44bca9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      web/building_saas/report/js/rpt_main.js

+ 1 - 1
web/building_saas/report/js/rpt_main.js

@@ -69,7 +69,7 @@ let zTreeOprObj = {
                     for (let i = items.length - 1; i >= 0; i--) {
                         if (!(items[i].released) && items[i].nodeType === 2) {
                             items.splice(i, 1);
-                        } else if(items[i].hasOwnProperty('flags') && items[i].flags['taxType'] == projectInfoObj.projectInfo.property.taxType ) {
+                        } else if(items[i].hasOwnProperty('flags') && parseInt(items[i].flags['taxType']) !== parseInt(projectInfoObj.projectInfo.property.taxType)) {
                             items.splice(i, 1);
                         } else {
                             if (items[i].items && items[i].items.length > 0) {