Tony Kang 7 ay önce
ebeveyn
işleme
d1a9ecc4b2

+ 10 - 1
web/building_saas/standard_interface/export/zhejiang_xiangshan.js

@@ -323,7 +323,16 @@ INTERFACE_EXPORT = (() => {
             if (cur.data.sectionCode) {
               return cur.data.sectionCode;
             }
-            cur = cur.parent;
+            if (cur.parent) {
+              cur = cur.parent;
+              const flag = node.parent.getFlag();
+              if (flag === fixedFlag.ONE_SEVEN_BILLS) {
+                return (cur.data.name || '').replace(/[^0-9]/g, '');                
+              }
+            } else {
+              break;
+            }
+            // cur = cur.parent;
           }
           return (cur.data.name || '').replace(/[^0-9]/g, '');
         } else {

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

@@ -34,7 +34,7 @@ const IMPORT_VIEW = (() => {
   // 导入相关事件监听器
   let importData = null;
   let areaKey = '';
-  const onlyImportMatchBillsCompilations = ['广东@中山', '浙江@杭州'];
+  const onlyImportMatchBillsCompilations = ['广东@中山', '浙江@杭州', '广西@广西'];
   function importListener() {
     // 文件选择变更
     $('#interface-import-file').change(function () {