|
@@ -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 || '' };
|