ソースを参照

收货-查询成功扫描定位到条码

zhaohuanhuan 7 ヶ月 前
コミット
ed16d58256

+ 2 - 2
src/views/inbound/takeDelivery/task/index.vue

@@ -83,8 +83,7 @@
             @focus="scanType=4"
           >
             <template #action>
-              <div style="display: flex; align-items: center;flex-direction: column;margin-left: 20px"
-                   v-if="asnInfo.asnNo">
+              <div style="display: flex; align-items: center;flex-direction: column;margin-left: 20px" v-if="asnInfo.asnNo">
                 <div style="height: 20px;font-size: 12px">已收/预计</div>
                 <div style="font-size: 16px;font-weight: bold">{{ asnInfo.receivedQuantity}}/{{ asnInfo.expectedQuantity }}
                 </div>
@@ -288,6 +287,7 @@ const setBarcode = (code, type) => {
       taskInfo.value=res.data
       taskNo.value=code
     }
+    scanType.value=2
     uniqueCodeList.value=[]
     scanSuccess()
   }).catch(err=>{

+ 1 - 1
src/views/robot/takeDelivery/task/index.vue

@@ -277,7 +277,6 @@ const setBarcode = (code, type) => {
       }
       containerNo.value=''
       stopTimer()
-
     }else {
       if(!type){//切换任务成功重启计时器
         currentTime.value=getCurrentTime()
@@ -287,6 +286,7 @@ const setBarcode = (code, type) => {
       taskInfo.value=res.data
       taskNo.value=code
     }
+    scanType.value=2
     uniqueCodeList.value=[]
     scanSuccess()
   }).catch(err=>{