|
|
@ -287,12 +287,14 @@ |
|
|
|
this.toLocationInfo = location; |
|
|
|
}, |
|
|
|
getScanResult(result, managementTypeParams) { |
|
|
|
console.log(222,result) |
|
|
|
this.fromWarehouseCode =result.fromWarehouseCode |
|
|
|
this.managementType = managementTypeParams |
|
|
|
if (this.showOnePop) { |
|
|
|
if (this.isJustReplay) { |
|
|
|
this.$refs.okToHoldRecordPackRef.itemCode = result.label.itemCode |
|
|
|
this.$refs.okToHoldRecordPackRef.batch = result.label.batch |
|
|
|
this.$refs.okToHoldRecordPackRef.uom = result.package.uom |
|
|
|
this.getResult = result //存储接受的结果 |
|
|
|
this.$refs.scanPopup.closeScanPopup() |
|
|
|
} else { |
|
|
@ -546,6 +548,7 @@ |
|
|
|
} else if (fromWitch == 'itemCodeScanMsg') { |
|
|
|
result.fromLocationCode = this.fromLocationCode |
|
|
|
this.$refs.scanPopup.getScanResult(result) |
|
|
|
console.log(result) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 清除来源库位 |
|
|
|