Pārlūkot izejas kodu

feat:广东中山导入,100-900章识别

vian 5 gadi atpakaļ
vecāks
revīzija
6e8b02777a

+ 1 - 1
web/building_saas/standard_interface/import/anhui_maanshan.js

@@ -208,7 +208,7 @@ INTERFACE_IMPORT = (() => {
       return {
         evaluationList: arrayValue(tenderSrc, ['ZgCl', 'ZgClMx']).map(gljRefMapFunc),
         bidEvaluationList: arrayValue(tenderSrc, ['JpCl', 'JpClMx']).map(gljRefMapFunc),
-      }
+      };
     }
 
     // 提取单位工程数据

+ 2 - 2
web/building_saas/standard_interface/import/base.js

@@ -232,7 +232,7 @@ const INTERFACE_EXPORT_BASE = (() => {
       const simpleName = bills.name ? bills.name.replace(/\s/g, '') : '';
       let matched;
       if (!parent) {
-        if (/100章至第700章|100章至700章/.test(simpleName)) {
+        if (/100章至第700章|100章至700章|100章至第900章|100章至900章/.test(simpleName)) {
           matched = target.find(bills => getFlag(bills) === fixedFlag.ONE_SEVEN_BILLS);
         } else if (/包含在清单合计中的材料、工程设备、专业工程暂估/.test(simpleName)) {
           matched = target.find(bills => getFlag(bills) === fixedFlag.PROVISIONAL_TOTAL);
@@ -247,7 +247,7 @@ const INTERFACE_EXPORT_BASE = (() => {
         }
       } else {
         const parentSimpleName = parent.name ? parent.name.replace(/\s/g, '') : '';
-        if (/100章至第700章|100章至700章/.test(parentSimpleName) && /100章总则/.test(simpleName)) {
+        if (/100章至第700章|100章至700章|100章至第900章|100章至900章/.test(parentSimpleName) && /100章总则/.test(simpleName)) {
           matched = target.find(bills => getFlag(bills) === fixedFlag.ONE_HUNDRED_BILLS);
         } else if (/计日工合计/.test(parentSimpleName) && /劳务/.test(simpleName)) {
           matched = target.find(bills => getFlag(bills) === fixedFlag.LABOUR_SERVICE);