Browse Source

fix: 广东中山接口,导出项目人材机时过滤掉消耗量为0的

vian 4 years ago
parent
commit
1319f30dde

+ 3 - 0
web/building_saas/standard_interface/export/guangdong_zhongshan.js

@@ -836,6 +836,9 @@ INTERFACE_EXPORT = (() => {
       let temMechs = [];
       if (isBidSubmission || isControl) { //导出到招标文件中,不输出这一部分。
         for (let g of pgljData.gljList) {
+          if (!g.quantity) {
+            continue;
+          }
           let type = g.type + "";
           gljKeyMap[gljUtil.getIndex(g)] = g;
           type = type.charAt(0);