发票分角色
This commit is contained in:
@@ -288,7 +288,7 @@ export default {
|
||||
return {
|
||||
offline: '非离线',
|
||||
check1: 0,
|
||||
office: false,
|
||||
office: null, // 是否为办公室
|
||||
scanSrc: '',
|
||||
upload: uploadInvoiceScan,
|
||||
limit: 1,
|
||||
@@ -342,12 +342,15 @@ export default {
|
||||
'sidebar',
|
||||
'avatar',
|
||||
'name',
|
||||
'token', // 角色编号
|
||||
'id' // 人员编号
|
||||
])
|
||||
},
|
||||
created() {
|
||||
this.fetchData()
|
||||
this.searchTable1()
|
||||
console.log(this.token)
|
||||
Number(this.token) === 8 ? this.office = true : this.office = false // 是否为办公室,8是办公室,2是采购部
|
||||
},
|
||||
methods: {
|
||||
offlineChange2() { // 切换离线非离线(内)
|
||||
|
||||
Reference in New Issue
Block a user