Просмотр исходного кода

报表,中间计量表相关

MaiXinRong 2 недель назад
Родитель
Сommit
da27b46935
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/lib/stage_im.js

+ 1 - 1
app/lib/stage_im.js

@@ -415,7 +415,7 @@ class StageIm {
         const posRange = this.pos.getLedgerPos(node.id);
         if (!posRange) { return; }
         for (const p of posRange) {
-            if (this.ctx.helper.checkZero(p.contract_qty) && this.ctx.helper.checkZero(p.contract_qty)) { continue; }
+            if (this.ctx.helper.checkZero(p.contract_qty) && this.ctx.helper.checkZero(p.qc_qty) && this.ctx.helper.checkZero(p.qc_minus_qty)) { continue; }
             let lp = this._.find(gclBills.pos, { name: p.name, position: p.position || '' });
             if (!lp) {
                 lp = { name: p.name, position: p.position || '' };