Explorar el Código

过滤取消调用的情况

MaiXinRong hace 2 años
padre
commit
5981da4865
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/lib/ledger.js

+ 1 - 0
app/lib/ledger.js

@@ -964,6 +964,7 @@ class checkData {
             cb.qty = parseFloat(cb.samount);
         });
         finalStageChange.forEach(sc => {
+            if (!sc.qty) return;
             const c = changeIndex[sc.cid];
             if (c) {
                 c.used = true;