chenshilong %!s(int64=4) %!d(string=hai) anos
pai
achega
1eed3e5cec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/building_saas/main/js/models/calc_program.js

+ 1 - 1
web/building_saas/main/js/models/calc_program.js

@@ -1125,7 +1125,7 @@
    // 取树结点的调价系数。
    getCoe: function (node, tender) {
      if (tender == tenderTypes.ttReverseGLJ)
-       return (calcTools.isVP_or_GLJR(node)) ? node.data.rationQuantityCoe : node.data.quantityCoe.labour
+       return calcTools.isVP_or_GLJR(node) ? node.data.rationQuantityCoe : (node.data.quantityCoe ? node.data.quantityCoe.labour : 0)
      else if (tender == tenderTypes.ttReverseRation)
        return node.data.rationQuantityCoe;
    }