Ver Fonte

宝时快上-界面优化

zhaohuanhuan há 7 meses atrás
pai
commit
4a14f11e78
1 ficheiros alterados com 5 adições e 2 exclusões
  1. 5 2
      src/views/inbound/putaway/task/index.vue

+ 5 - 2
src/views/inbound/putaway/task/index.vue

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