|
@@ -412,9 +412,9 @@ class StageIm {
|
|
|
if (!posRange) { return; }
|
|
|
for (const p of posRange) {
|
|
|
if (this.ctx.helper.checkZero(p.contract_qty) && this.ctx.helper.checkZero(p.contract_qty)) { continue; }
|
|
|
- let lp = this._.find(gclBills.pos, { name: p.name });
|
|
|
+ let lp = this._.find(gclBills.pos, { name: p.name, position: p.position || '' });
|
|
|
if (!lp) {
|
|
|
- lp = { name: p.name };
|
|
|
+ lp = { name: p.name, position: p.position || '' };
|
|
|
gclBills.pos.push(lp);
|
|
|
}
|
|
|
lp.jl = this.ctx.helper.add(lp.jl, p.gather_qty);
|