소스 검색

重复编号,检查范围调整

MaiXinRong 4 년 전
부모
커밋
05350570c9
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/lib/ledger.js
  2. 1 1
      app/public/js/ledger_check.js

+ 1 - 1
app/lib/ledger.js

@@ -743,7 +743,7 @@ class checkData {
             }
         };
         for (const topLevel of this.checkBills.children) {
-            if ([1, 3, 4].indexOf(topLevel.node_type) < 0) continue;
+            if ([1, 2, 3, 4].indexOf(topLevel.node_type) < 0) continue;
 
             addXmjCheck(topLevel);
         }

+ 1 - 1
app/public/js/ledger_check.js

@@ -126,7 +126,7 @@ const ledgerCheckUtil = {
             }
         };
         for (const topLevel of ledgerTree.children) {
-            if ([1, 3, 4].indexOf(topLevel.node_type) < 0) continue;
+            if ([1, 2, 3, 4].indexOf(topLevel.node_type) < 0) continue;
 
             addXmjCheck(topLevel);
         }