From 490c16e0ef8ad720716d7531faf4558103cd6ea0 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 19 6月 2024 14:35:31 +0800
Subject: [PATCH] 3
---
yiqi_pda/pages/outBound/index.vue | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/yiqi_pda/pages/outBound/index.vue b/yiqi_pda/pages/outBound/index.vue
index ba4e80d..de99da2 100644
--- a/yiqi_pda/pages/outBound/index.vue
+++ b/yiqi_pda/pages/outBound/index.vue
@@ -63,6 +63,8 @@
methods: {
// 鑾峰彇宸ヤ欢淇℃伅
async onSearchContainter(OP80NewCode) {
+ this.inputFocus=false
+ this.initFocus(100);
const param = {
OP80NewCode: OP80NewCode
}
@@ -71,16 +73,24 @@
if(!this.workPieceData.some(item=>item.workPieceID==data.workPieceID)) {
this.workPieceData.push(data)
}
- console.log(this.workPieceData,'dsts');
- this.inputFocus=false
- setTimeout(()=>{
- this.inputFocus=true
- },100)
+ //console.log(this.workPieceData,'dsts');
+ // setTimeout(()=>{
+ // this.OP80NewCode = '' ;//姣忔鍒峰畬灏辨竻绌鸿緭鍏ユ 銆怑ditby shaocx,2024-06-12銆�
+ // this.inputFocus=true
+ // },100)
}catch(e){
+ //debugger
+ this.initFocus(100);
//TODO handle the exception
console.log(e);
}
},
+ initFocus(num){
+ setTimeout(()=>{
+ this.OP80NewCode = '' ;//姣忔鍒峰畬灏辨竻绌鸿緭鍏ユ 銆怑ditby shaocx,2024-06-12銆�
+ this.inputFocus=true
+ },num)
+ },
// 鑾峰彇鎵爜闀垮害
// async listbycode(){
// try{
--
Gitblit v1.9.3