Browse Source

修改任务格式化数据方法

intex
lijuncheng 1 day ago
parent
commit
963d52b421
  1. 2
      src/common/detail.js

2
src/common/detail.js

@ -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); //

Loading…
Cancel
Save