|
|
@@ -138,7 +138,6 @@
|
|
|
},
|
|
|
initHeader: function (val, query) {
|
|
|
this.showSearchIcon = false
|
|
|
- let _tp = this.$route.query.type
|
|
|
this.showHeader = val && val !== '/' && val !== '/mobile/applyPurchase/list' && !this.startWith(val, '/mobile/supplier')
|
|
|
// this.showSearch = val !== '/' && !this.startWith(val, '/mobile/search')
|
|
|
let title = '优软商城'
|
|
|
@@ -213,8 +212,8 @@
|
|
|
title = '购物车'
|
|
|
} else if (this.startWith(val, '/mobile/center/user/payCenter')) {
|
|
|
this.showSearchIcon = false
|
|
|
- if (_tp) {
|
|
|
- title = '收款账户'
|
|
|
+ if (this.$route.query.switchType === 'account') {
|
|
|
+ title = '付款账户'
|
|
|
} else {
|
|
|
title = '应付对账'
|
|
|
}
|
|
|
@@ -223,7 +222,7 @@
|
|
|
title = '发票管理'
|
|
|
} else if (this.startWith(val, '/mobile/center/vendor/payCenter')) {
|
|
|
this.showSearchIcon = false
|
|
|
- if (_tp) {
|
|
|
+ if (this.$route.query.switchType === 'account') {
|
|
|
title = '收款账户'
|
|
|
} else {
|
|
|
title = '应收对账'
|