|
@@ -755,9 +755,9 @@ const stageIm = (function () {
|
|
|
if (!posRange) { return }
|
|
|
for (const p of posRange) {
|
|
|
if (checkZero(p.contract_qty) && checkZero(p.qc_qty) && checkZero(p.qc_minus_qty)) { continue; }
|
|
|
- let lp = _.find(lx.pos, {name: p.name});
|
|
|
+ let lp = _.find(lx.pos, {name: p.name, position: p.position || ''});
|
|
|
if (!lp) {
|
|
|
- lp = {name: p.name};
|
|
|
+ lp = {name: p.name, position: p.position || ''};
|
|
|
lx.pos.push(lp);
|
|
|
}
|
|
|
lp.jl = ZhCalc.add(lp.jl, p.gather_qty);
|