浏览代码

上报检测问题

MaiXinRong 4 年之前
父节点
当前提交
ef529ba1b6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/lib/ledger.js

+ 1 - 1
app/lib/ledger.js

@@ -689,7 +689,7 @@ class checkData {
                     errorType: 's2b_lost_' + l,
                 });
             }
-            if (!this.checkResult.source.bills.find(x => {return x.ledger_id === b.ledger_id})) {
+            if (!this.checkResult.source.bills.find(x => {return x.ledger_id === bills.ledger_id})) {
                 this.checkResult.source.bills.push(bills);
                 if (posRange && posRange.length > 0) this.checkResult.source.pos.push(...posRange);
             }