|
|
@@ -165,7 +165,7 @@ import { computed, onMounted, ref } from 'vue'
|
|
|
import { playVoiceBin, scanError, scanSuccess } from '@/utils/android'
|
|
|
import BarcodeCount from '@/views/inbound/blindCollection/components/BarcodeCount.vue'
|
|
|
import ResetData from '@/views/inbound/blindCollection/components/ResetData.vue'
|
|
|
-import { showConfirmDialog, showDialog, showToast } from 'vant'
|
|
|
+import { closeDialog, showConfirmDialog, showDialog, showToast } from 'vant'
|
|
|
import { barcodeIsData } from '@/views/inbound/blindCollection/task/hooks/barcodeIsData'
|
|
|
import { closeLoading, showLoading } from '@/utils/loading'
|
|
|
import { binData } from '@/views/inbound/blindCollection/task/hooks/binData'
|
|
|
@@ -353,6 +353,9 @@ const _setBoxCacheData = (code,data) => {
|
|
|
}).then(() => {
|
|
|
barcodeRef.value?.focus()
|
|
|
});
|
|
|
+ setTimeout(()=>{
|
|
|
+ closeDialog()
|
|
|
+ },3000)
|
|
|
}
|
|
|
}else {
|
|
|
scanSuccess()
|