Parcourir la source

分部:开放单位、工程量列可编辑,计算单价。

chenshilong il y a 3 ans
Parent
commit
a56e0f598f
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  1. 13 0
      web/building_saas/main/js/views/main_tree_col.js

+ 13 - 0
web/building_saas/main/js/views/main_tree_col.js

@@ -84,6 +84,19 @@ let MainTreeCol = {
             }
             return "";
         },
+        comonUnitFee:function (node) {
+            if (calcTools.isRationItem(node))
+              return node.data.feesIndex?.common?.unitFee
+            else
+              return "";
+        },
+        commonIndex:function (node) {
+            if (calcTools.isBill_FB(node))
+                return node.data.feesIndex?.common?.unitFee
+            else
+                return "";
+        },
+
     },
     readOnly: {
         // Vincent, 2018-01-09