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