Browse Source

重复编号,检查范围调整

MaiXinRong 3 năm trước cách đây
mục cha
commit
05350570c9
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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);
         }