MaiXinRong 2 years ago
parent
commit
05b82cda29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/ledger.js

+ 1 - 1
app/lib/ledger.js

@@ -969,7 +969,7 @@ class checkData {
             if (c) {
                 c.used = true;
                 const cb = c.billsIndex[sc.cbid];
-                if (cb) cb.used_qty = helper.add(cb.used_qty, sc.used_qty);
+                if (cb) cb.used_qty = helper.add(cb.used_qty, sc.qty);
             }
         });
         change.forEach(c => {