|
@@ -411,8 +411,8 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
- getcomp({userMobilePhone:JSON.parse(localStorage.getItem('ws_login_getTenantInfoByUser')).loginInfo.userMobilePhone}).toPromise().then((res)=>{
|
|
|
|
- this.compNameoptions=res
|
|
|
|
|
|
+ // getcomp({userMobilePhone:JSON.parse(localStorage.getItem('ws_login_getTenantInfoByUser')).loginInfo.userMobilePhone}).toPromise().then((res)=>{
|
|
|
|
+ this.compNameoptions=localStorage.getItem("ws-pf_compName").split(',')
|
|
if (this.compNameoptions.length>0) {
|
|
if (this.compNameoptions.length>0) {
|
|
var company=this.compNameoptions
|
|
var company=this.compNameoptions
|
|
var extra=company.filter((item)=>{
|
|
var extra=company.filter((item)=>{
|
|
@@ -559,7 +559,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- })
|
|
|
|
|
|
+ // })
|
|
this.selectWarehouse()
|
|
this.selectWarehouse()
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
@@ -747,7 +747,6 @@
|
|
this.isShowPrintType = true
|
|
this.isShowPrintType = true
|
|
this.onePrint = true //单个打印标识
|
|
this.onePrint = true //单个打印标识
|
|
}
|
|
}
|
|
-
|
|
|
|
},
|
|
},
|
|
check(name, type) {
|
|
check(name, type) {
|
|
if (type == 1) {
|
|
if (type == 1) {
|