|
|
@@ -138,6 +138,7 @@
|
|
|
},
|
|
|
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 = '优软商城'
|
|
|
@@ -212,13 +213,21 @@
|
|
|
title = '购物车'
|
|
|
} else if (this.startWith(val, '/mobile/center/user/payCenter')) {
|
|
|
this.showSearchIcon = false
|
|
|
- title = '应付对账'
|
|
|
+ if (_tp) {
|
|
|
+ title = '收款账户'
|
|
|
+ } else {
|
|
|
+ title = '应付对账'
|
|
|
+ }
|
|
|
} else if (this.startWith(val, '/mobile/center/user/invoice')) {
|
|
|
this.showSearchIcon = false
|
|
|
title = '发票管理'
|
|
|
} else if (this.startWith(val, '/mobile/center/vendor/payCenter')) {
|
|
|
this.showSearchIcon = false
|
|
|
- title = '应收对账'
|
|
|
+ if (_tp) {
|
|
|
+ title = '收款账户'
|
|
|
+ } else {
|
|
|
+ title = '应收对账'
|
|
|
+ }
|
|
|
} else if (this.startWith(val, '/mobile/center/user/pay')) {
|
|
|
this.showSearchIcon = false
|
|
|
title = '确认订单'
|