Tony Kang 1 year atrás
parent
commit
8c69de21ca
1 changed files with 4 additions and 2 deletions
  1. 4 2
      web/building_saas/standard_interface/export/shandong_common.js

+ 4 - 2
web/building_saas/standard_interface/export/shandong_common.js

@@ -224,7 +224,8 @@ INTERFACE_EXPORT = (() => {
       let flag = data.flagsIndex.fixed.flag;
       switch (flag) {
         case fixedFlag.ONE_SEVEN_BILLS:
-          pass = data.name == "第100章至700章清单" || data.name == "第100章至700章清单合计";
+          // pass = data.name == "第100章至700章清单" || data.name == "第100章至700章清单合计";
+          pass = typeof data.name === 'string' && data.name.includes('第100章至'); 
           break;
         case fixedFlag.PROVISIONAL_TOTAL:
           pass = data.name == "已包含在清单合计中的材料、工程设备、专业工程暂估价合计";
@@ -1139,7 +1140,8 @@ INTERFACE_EXPORT = (() => {
           nodeAttrs.push({ ItemNo: order, ChapterNo: cnode.data.name.substr(chapterIdx - 1, 3), Name: cnode.data.name, Sum: _getFee(cnode) });
           order++;
         });
-        nodeAttrs.push({ ItemNo: order, ChapterNo: '', Name: '第100章至700章清单合计', Sum: _getFee(topNode100To700) });
+        // nodeAttrs.push({ ItemNo: order, ChapterNo: '', Name: '第100章至700章清单合计', Sum: _getFee(topNode100To700) });
+        nodeAttrs.push({ ItemNo: order, ChapterNo: '', Name: topNode100To700.name, Sum: _getFee(topNode100To700) });
         order++;
         if (nodeZXZDJ) {
           // nodeAttrs.push({ItemNo: order, ChapterNo: '', Name: '已包含在清单合计中的材料、工程设备、专业工程暂估价合计', Sum: _getFee(nodeZXZDJ) - fixedSum});