zhangweicheng 5 jaren geleden
bovenliggende
commit
79bae2d0e2
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      web/building_saas/main/js/views/project_glj_view.js

+ 2 - 2
web/building_saas/main/js/views/project_glj_view.js

@@ -327,9 +327,9 @@ projectGljObject={
             if(rg.projectGLJID == projectGLJData.id) rationIDMap[rg.rationID] = true;
          } 
          for(let r of projectObj.project.Ration.datas){
-            if(rationIDMap[r.ID] || (r.subType == rationType.gljRation && r.projectGLJID== projectGLJData.id)){
+            if(rationIDMap[r.ID] || (r.type == rationType.gljRation && r.projectGLJID== projectGLJData.id)){
               rations.push(r);
-            }
+            } 
          } 
       }
       this.relatedRationSheetData = rations;