From e703b41ee825c66016f5f0fb80b5564d901ae666 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 28 十月 2024 15:06:19 +0800
Subject: [PATCH] 优化出入库
---
src/components/view/b1-sample.vue | 68 +++++++++++++++++-----------------
1 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/src/components/view/b1-sample.vue b/src/components/view/b1-sample.vue
index c7a18b0..1db786b 100644
--- a/src/components/view/b1-sample.vue
+++ b/src/components/view/b1-sample.vue
@@ -366,7 +366,7 @@
<el-button type="primary" @click="confirmShelves" :loading="upLoadShelves">纭� 瀹�</el-button>
</span>
</el-dialog>
- <input type="password" id="ScanCodeInfo" v-model="codeInfo" @keyup.enter="keyup" style="opacity: 0;height: 0px;margin: 0px;padding: 0px;position: absolute;top: 0;"></input>
+ <!-- <input type="password" id="ScanCodeInfo" v-model="codeInfo" @keyup.enter="keyup" style="opacity: 0;height: 0px;margin: 0px;padding: 0px;position: absolute;top: 0;"></input> -->
</div>
</template>
@@ -412,39 +412,39 @@
codeInfo:null,
}
},
- watch:{
- storageVisible(newVal){
- if(newVal){
- // this.$message.success('鎵爜锛氭墦寮�')
- let input = document.getElementById('ScanCodeInfo');
- input.focus();
- this.startTime = setInterval(()=>{
- input.focus()
- },1000)
- }else{
- // this.$message.warning('鎵爜锛氬叧闂�')
- clearInterval(this.startTime)
- }
- },
- exportVisible(newVal){
- if(newVal){
- // this.$message.success('鎵爜锛氭墦寮�')
- let input = document.getElementById('ScanCodeInfo');
- input.focus();
- this.startTime = setInterval(()=>{
- input.focus()
- },1000)
- }else{
- // this.$message.warning('鎵爜锛氬叧闂�')
- clearInterval(this.startTime)
- }
- },
- isEdit(newVal){
- if(!newVal){
- this.shelves = {}
- }
- }
- },
+ // watch:{
+ // storageVisible(newVal){
+ // if(newVal){
+ // // this.$message.success('鎵爜锛氭墦寮�')
+ // let input = document.getElementById('ScanCodeInfo');
+ // input.focus();
+ // this.startTime = setInterval(()=>{
+ // input.focus()
+ // },1000)
+ // }else{
+ // // this.$message.warning('鎵爜锛氬叧闂�')
+ // clearInterval(this.startTime)
+ // }
+ // },
+ // exportVisible(newVal){
+ // if(newVal){
+ // // this.$message.success('鎵爜锛氭墦寮�')
+ // let input = document.getElementById('ScanCodeInfo');
+ // input.focus();
+ // this.startTime = setInterval(()=>{
+ // input.focus()
+ // },1000)
+ // }else{
+ // // this.$message.warning('鎵爜锛氬叧闂�')
+ // clearInterval(this.startTime)
+ // }
+ // },
+ // isEdit(newVal){
+ // if(!newVal){
+ // this.shelves = {}
+ // }
+ // }
+ // },
mounted() {
this.selectList()
},
--
Gitblit v1.9.3