zhangweicheng před 3 roky
rodič
revize
c29ccf5b4f

+ 3 - 3
web/building_saas/main/js/views/main_tree_col.js

@@ -84,15 +84,15 @@ let MainTreeCol = {
             }
             return "";
         },
-        comonUnitFee:function (node) {
+        commonUnitFee:function (node) {
             if (calcTools.isRationItem(node))
-              return node.data.feesIndex?.common?.unitFee
+              return node.data.feesIndex && node.data.feesIndex.common?  node.data.feesIndex.common.unitFee:'';
             else
               return "";
         },
         commonIndex:function (node) {
             if (calcTools.isBill_FB(node))
-                return node.data.feesIndex?.common?.unitFee
+                return node.data.feesIndex&&node.data.feesIndex.common?node.data.feesIndex.common.unitFee:'';
             else
                 return "";
         },