|
|
@ -560,6 +560,11 @@ |
|
|
|
//新增加的批次赋值details |
|
|
|
if (fromLocation.Batchs.length > 0) { |
|
|
|
batch.detail = fromLocation.Batchs[0].detail; |
|
|
|
batch.detail.itemName=packageInfo.itemName; |
|
|
|
batch.detail.itemDesc1=packageInfo.itemDesc1; |
|
|
|
batch.detail.itemDesc2=packageInfo.itemDesc2; |
|
|
|
batch.detail.productionLineCode=this.jobContent.detailProductionLineCode; |
|
|
|
batch.detail.workStationCode=this.jobContent.detailWorkStationCode; |
|
|
|
} |
|
|
|
fromLocation.Batchs.unshift(batch); |
|
|
|
this.getfocus(); |
|
|
@ -757,6 +762,12 @@ |
|
|
|
let batch = this.createBatchInfo(label, balance, packageInfo); |
|
|
|
batch.detail = balance; |
|
|
|
batch.detail.fromLocationCode = balance.locationCode; |
|
|
|
batch.detail.itemName=packageInfo.itemName, |
|
|
|
batch.detail.itemDesc1=packageInfo.itemDesc1, |
|
|
|
batch.detail.itemDesc2=packageInfo.itemDesc2, |
|
|
|
batch.detail.productionLineCode=this.jobContent.detailProductionLineCode, |
|
|
|
batch.detail.workStationCode=this.jobContent.detailWorkStationCode, |
|
|
|
|
|
|
|
location.Batchs.push(batch); |
|
|
|
return location; |
|
|
|
}, |
|
|
|