Ver código fonte

杭州接口调整

Tony Kang 1 ano atrás
pai
commit
f9d383c249

+ 2 - 2
web/building_saas/standard_interface/export/zhejiang_hangzhou.js

@@ -520,7 +520,7 @@ INTERFACE_EXPORT = (() => {
           chaptNo = `${(index + 1) * 100}`;
           for (const proKey in chapterMap) {
             let bName = node.data.name || '';
-            bName = bName.replace(/''/g, '');
+            bName = bName.replace(/ /g, '');
             if (bName.indexOf(proKey) >= 0) {
               chaptNo = `${chapterMap[proKey]}`;
               break;
@@ -668,7 +668,7 @@ INTERFACE_EXPORT = (() => {
               // lnStr = getBillSection(node);
               for (const proKey in chapterMap) {
                 let bName = node.data.name || '';
-                bName = bName.replace(/''/g, '');
+                bName = bName.replace(/ /g, '');
                 if (bName.indexOf(proKey) >= 0) {
                   lnStr = `${chapterMap[proKey]}`;
                   break;