|
@ -91,7 +91,7 @@ export function getDataSource(subList) { |
|
|
let items = []; |
|
|
let items = []; |
|
|
subList.forEach(detail => { |
|
|
subList.forEach(detail => { |
|
|
var item = items.find(r => |
|
|
var item = items.find(r => |
|
|
r.itemCode == detail.itemCode && r.batch == detail.batch ) |
|
|
r.itemCode == detail.itemCode) |
|
|
if (item == undefined) { |
|
|
if (item == undefined) { |
|
|
item = createItemInfo(detail); |
|
|
item = createItemInfo(detail); |
|
|
let newDetail = createDetailInfo(detail); //
|
|
|
let newDetail = createDetailInfo(detail); //
|
|
|