|
@ -206,9 +206,6 @@ |
|
|
that.jobContent = res.data; |
|
|
that.jobContent = res.data; |
|
|
that.jobStatus = res.data.status; |
|
|
that.jobStatus = res.data.status; |
|
|
that.subList = res.data.subList; |
|
|
that.subList = res.data.subList; |
|
|
that.subList.forEach(item=>{ |
|
|
|
|
|
item.recommend=true |
|
|
|
|
|
}) |
|
|
|
|
|
// that.detailSource = res.data; |
|
|
// that.detailSource = res.data; |
|
|
that.detailSource = getDataSourceBatch(that.subList) |
|
|
that.detailSource = getDataSourceBatch(that.subList) |
|
|
that.toLocationCode = that.subList[0].toLocationCode |
|
|
that.toLocationCode = that.subList[0].toLocationCode |
|
@ -328,7 +325,6 @@ |
|
|
var itemDetail = detail.subList.find(r => { |
|
|
var itemDetail = detail.subList.find(r => { |
|
|
return r.batch == batch && |
|
|
return r.batch == batch && |
|
|
r.fromLocationCode == result.fromLocationCode |
|
|
r.fromLocationCode == result.fromLocationCode |
|
|
&&!r.recommend |
|
|
|
|
|
}) |
|
|
}) |
|
|
if (itemDetail == undefined) { |
|
|
if (itemDetail == undefined) { |
|
|
var isExit; |
|
|
var isExit; |
|
@ -498,7 +494,7 @@ |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
|
|
|
var itemDetail = detail.subList.find(r => |
|
|
var itemDetail = detail.subList.find(r => |
|
|
r.fromLocationCode == result.fromLocationCode&&!r.recommend) |
|
|
r.fromLocationCode == result.fromLocationCode) |
|
|
if (itemDetail == undefined) { |
|
|
if (itemDetail == undefined) { |
|
|
var isExit; |
|
|
var isExit; |
|
|
for (let subItem of detail.subList) { |
|
|
for (let subItem of detail.subList) { |
|
|