|
@ -255,9 +255,7 @@ |
|
|
that.toLocationCode = that.subList[0].toLocationCode |
|
|
that.toLocationCode = that.subList[0].toLocationCode |
|
|
that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes) |
|
|
that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes) |
|
|
that.detailSource = getDataSource(that.subList) |
|
|
that.detailSource = getDataSource(that.subList) |
|
|
if (that.scanMessage) { |
|
|
|
|
|
this.$refs.scanPopup.simulateScan(that.scanMessage); |
|
|
|
|
|
} |
|
|
|
|
|
//获取管理模式,封装参数 |
|
|
//获取管理模式,封装参数 |
|
|
var itemCodes = [] |
|
|
var itemCodes = [] |
|
|
this.detailSource.forEach(item => { |
|
|
this.detailSource.forEach(item => { |
|
@ -279,6 +277,9 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
if (that.scanMessage) { |
|
|
|
|
|
this.$refs.scanPopup.simulateScan(that.scanMessage); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
@ -313,7 +314,6 @@ |
|
|
var qty = label.qty; |
|
|
var qty = label.qty; |
|
|
var itemCode = label.itemCode; |
|
|
var itemCode = label.itemCode; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var detail = this.detailSource.find(r => r.itemCode == itemCode); |
|
|
var detail = this.detailSource.find(r => r.itemCode == itemCode); |
|
|
if (detail == undefined) { |
|
|
if (detail == undefined) { |
|
|
this.showErrorMessage("物料号【" + itemCode + "】不在列表中") |
|
|
this.showErrorMessage("物料号【" + itemCode + "】不在列表中") |
|
@ -380,6 +380,7 @@ |
|
|
this.showErrorMessage("包装[" + packingNumber + "]" + "批次[" + batch + "]不在任务列表中") |
|
|
this.showErrorMessage("包装[" + packingNumber + "]" + "批次[" + batch + "]不在任务列表中") |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|