|
@@ -346,11 +346,15 @@ import {
|
|
import {
|
|
import {
|
|
addstorageputList
|
|
addstorageputList
|
|
} from '@/model/warehouse/index'
|
|
} from '@/model/warehouse/index'
|
|
|
|
+import {
|
|
|
|
+ getcomp
|
|
|
|
+ } from '@/model/indexRx'
|
|
import weightCheckPrint from './component/weightCheckPrint.vue'
|
|
import weightCheckPrint from './component/weightCheckPrint.vue'
|
|
import BalanceAlert from '@/components/balanceAlert'
|
|
import BalanceAlert from '@/components/balanceAlert'
|
|
import html2canvas from 'html2canvas'
|
|
import html2canvas from 'html2canvas'
|
|
import axios from 'axios'
|
|
import axios from 'axios'
|
|
import configText from '../../../vue.config.js'
|
|
import configText from '../../../vue.config.js'
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
weightCheckPrint,
|
|
weightCheckPrint,
|
|
@@ -617,8 +621,10 @@ export default {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
localStorage.setItem('serverIp', configText.devServer.proxy['/pb'].target)
|
|
localStorage.setItem('serverIp', configText.devServer.proxy['/pb'].target)
|
|
- if (localStorage.getItem('compNameoptions')) {
|
|
|
|
- var company=JSON.parse(localStorage.getItem('compNameoptions'))
|
|
|
|
|
|
+ getcomp({userMobilePhone:JSON.parse(localStorage.getItem('ws_login_getTenantInfoByUser')).loginInfo.userMobilePhone}).toPromise().then((res)=>{
|
|
|
|
+ this.compNameoptions=res
|
|
|
|
+ if (this.compNameoptions.length>0) {
|
|
|
|
+ var company=this.compNameoptions
|
|
|
|
|
|
var extra=company.filter((item)=>{
|
|
var extra=company.filter((item)=>{
|
|
return item!='黑龙江中天昊元贸易有限公司'
|
|
return item!='黑龙江中天昊元贸易有限公司'
|
|
@@ -747,7 +753,8 @@ export default {
|
|
this.companyNameEWOptions.push({value: extra[i],label:extra[i]})
|
|
this.companyNameEWOptions.push({value: extra[i],label:extra[i]})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
+ })
|
|
// this.getVideos()
|
|
// this.getVideos()
|
|
this.isShowBalance = true
|
|
this.isShowBalance = true
|
|
var _saomaData = JSON.parse(localStorage.getItem('saoma_data')) //判断是否扫码进来的
|
|
var _saomaData = JSON.parse(localStorage.getItem('saoma_data')) //判断是否扫码进来的
|