|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="container">
|
|
|
- <van-nav-bar title="宝时快上" left-arrow fixed placeholder @click-left="goBack"
|
|
|
+ <van-nav-bar title="宝时快上" left-arrow fixed placeholder @click-left="goBack" z-index="100"
|
|
|
@click-right="refresh()">
|
|
|
<template #left>
|
|
|
<van-icon name="arrow-left" size="25" />
|
|
|
@@ -265,6 +265,8 @@ const setBarcode = (code, type) => {
|
|
|
}
|
|
|
const params = { warehouse, container: code }
|
|
|
getWaitPutawayInfo(params).then(res => {
|
|
|
+ reset()
|
|
|
+ scanType.value=2
|
|
|
back.value = true
|
|
|
if (!type) {//切换任务成功重启计时器
|
|
|
currentTime.value = getCurrentTime()
|
|
|
@@ -448,7 +450,8 @@ const onConfirm = () => {
|
|
|
containerNo.value = ''
|
|
|
dataMap.value = {}
|
|
|
dataList.value = []
|
|
|
- inputBarcodeRef.value?.show('', '请扫描容器号', '当前任务已上架完成')
|
|
|
+ showNotify({ type: 'success', message: '当前任务已上架完成,请扫描下一个容器号', duration: 3000 })
|
|
|
+ inputBarcodeRef.value?.show('', '请扫描容器号', '')
|
|
|
stopTimer()
|
|
|
} else {
|
|
|
showNotify({ type: 'success', message: '上架成功,请继续扫描商品进行上架', duration: 3000 })
|