|
@@ -242,6 +242,7 @@ const _handlerScan = async (code) => {
|
|
|
if (matchBarcodeList.value.length == 1) {
|
|
if (matchBarcodeList.value.length == 1) {
|
|
|
activeBarcode.value = matchBarcodeList.value[0]
|
|
activeBarcode.value = matchBarcodeList.value[0]
|
|
|
searchLocation.value = ''
|
|
searchLocation.value = ''
|
|
|
|
|
+ searchBarcode.value=code
|
|
|
_getLocation(activeBarcode.value)
|
|
_getLocation(activeBarcode.value)
|
|
|
} else if (matchBarcodeList.value.length > 1) {
|
|
} else if (matchBarcodeList.value.length > 1) {
|
|
|
tips.value='请选择产品批次'
|
|
tips.value='请选择产品批次'
|
|
@@ -259,6 +260,7 @@ const _handlerScan = async (code) => {
|
|
|
searchLocation.value = ''
|
|
searchLocation.value = ''
|
|
|
activeBarcode.value = {}
|
|
activeBarcode.value = {}
|
|
|
locationList.value=[]
|
|
locationList.value=[]
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}else if(scanType.value == 3){
|
|
}else if(scanType.value == 3){
|
|
|
scanSuccess()
|
|
scanSuccess()
|