|
|
@ -104,8 +104,10 @@ export function calcHandleQty(detailSource) { |
|
|
|
item.handleQty = new Decimal(0).toNumber(); |
|
|
|
item.qty = new Decimal(0).toNumber(); |
|
|
|
for (let detail of item.subList) { |
|
|
|
if (detail != undefined && detail.scaned) { |
|
|
|
item.handleQty = calc.add(item.handleQty, detail.handleQty); |
|
|
|
if (detail != undefined ) { |
|
|
|
if(detail.scaned){ |
|
|
|
item.handleQty = calc.add(item.handleQty, detail.handleQty); |
|
|
|
} |
|
|
|
item.qty = calc.add(item.qty, detail.qty); |
|
|
|
} |
|
|
|
} |
|
|
|