|
@@ -21,7 +21,7 @@
|
|
|
<!-- 使用租户 -->
|
|
|
|
|
|
<div class="hidden-content">
|
|
|
- <el-input ref="hiddenFocus" type="password" class="input-Style" v-model="barCode" size="small" @focus="focus" @blur="blur" autocomplete="new-password"
|
|
|
+ <el-input ref="hiddenFocus" type="password" class="input-Style" v-model="barCode" size="small" @focus="focus" @blur="blur" autocomplete="off"
|
|
|
@keyup.enter.native="payCode" placeholder="扫码枪内容"></el-input>
|
|
|
<div v-show="isOpenCodeGun" class="code-scan-text">扫码枪已连接</div>
|
|
|
<div v-show="!isOpenCodeGun" @click="setCodeGun" class="code-scan-text">点我扫码</div>
|
|
@@ -403,6 +403,7 @@
|
|
|
//判断当前账号公司是否是二维码上公司
|
|
|
if (this.userINfo.userCompany != _userCompId) {
|
|
|
this.$message.error('当前身份不可操作');
|
|
|
+ this.barCode = ''
|
|
|
return
|
|
|
}
|
|
|
//判断二维码上的仓库当前账号是否有权限操作
|
|
@@ -438,6 +439,7 @@
|
|
|
this.getQRCodeData(this.tmp)
|
|
|
}else{
|
|
|
this.$message.error('当前身份不可操作');
|
|
|
+ this.barCode = ''
|
|
|
return
|
|
|
}
|
|
|
|
|
@@ -482,6 +484,7 @@
|
|
|
},
|
|
|
focus() {
|
|
|
console.log("当前焦点状态")
|
|
|
+ this.barCode = ''
|
|
|
this.isOpenCodeGun = true
|
|
|
},
|
|
|
blur() {
|