|
@@ -329,13 +329,14 @@
|
|
|
userCompany: localStorage.getItem('ws-pf_compId'),
|
|
|
userName: localStorage.getItem('ws-pf_staffName'),
|
|
|
}
|
|
|
-
|
|
|
- },
|
|
|
- mounted() {
|
|
|
- listenfullscreen(this.setScreen)
|
|
|
+ listenfullscreen(this.setScreen)
|
|
|
getcomp({userMobilePhone:this.UserInfo.loginInfo.userMobilePhone}).toPromise().then((res)=>{
|
|
|
this.compNameoptions=res
|
|
|
})
|
|
|
+ },
|
|
|
+
|
|
|
+ mounted() {
|
|
|
+
|
|
|
// this.complogin({username: Cookies.get('ws_login_account'),
|
|
|
// password: Cookies.get('ws_login_pwd'),
|
|
|
// companyName: this.compName})
|
|
@@ -408,6 +409,7 @@
|
|
|
// this.barCode = ''
|
|
|
//判断当前账号公司是否是二维码上公司
|
|
|
if (this.userINfo.userCompany != _userCompId) {
|
|
|
+ console.log("请切换公司在试!")
|
|
|
this.$message.error('当前身份不可操作');
|
|
|
this.barCode = ''
|
|
|
return
|
|
@@ -550,6 +552,7 @@
|
|
|
//扫码枪扫码后显示弹框
|
|
|
this.getQRCodeData(this.tmp)
|
|
|
}else{
|
|
|
+ console.log("你没有该权限,不可操作")
|
|
|
this.$message.error('当前身份不可操作');
|
|
|
this.barCode = ''
|
|
|
return
|