diff --git a/src/common/detail.js b/src/common/detail.js index 5c6570a0..a4a580f9 100644 --- a/src/common/detail.js +++ b/src/common/detail.js @@ -91,7 +91,7 @@ export function getDataSource(subList) { let items = []; subList.forEach(detail => { var item = items.find(r => - r.itemCode == detail.itemCode && r.batch == detail.batch ) + r.itemCode == detail.itemCode) if (item == undefined) { item = createItemInfo(detail); let newDetail = createDetailInfo(detail); //