|
@@ -281,7 +281,6 @@
|
|
|
const result = finalList.reduce(
|
|
const result = finalList.reduce(
|
|
|
(acc, item) => {
|
|
(acc, item) => {
|
|
|
const qty = getQty(item);
|
|
const qty = getQty(item);
|
|
|
- if(isDetails) return acc;
|
|
|
|
|
if (item.extInfo.isLoss == 1) {
|
|
if (item.extInfo.isLoss == 1) {
|
|
|
// 损耗计入损耗数量
|
|
// 损耗计入损耗数量
|
|
|
acc.lossNum = this.add(acc.lossNum, qty);
|
|
acc.lossNum = this.add(acc.lossNum, qty);
|