|
@@ -21,7 +21,7 @@
|
|
<div class="contetn_right">
|
|
<div class="contetn_right">
|
|
<ItemWrap
|
|
<ItemWrap
|
|
class="contetn_right-top contetn_lr-item"
|
|
class="contetn_right-top contetn_lr-item"
|
|
- title="采购金额TOP100加盟商(2022年)"
|
|
|
|
|
|
+ :title="'采购金额TOP100加盟商('+curYear+'年)'"
|
|
mode="left"
|
|
mode="left"
|
|
>
|
|
>
|
|
<div class="table-head">
|
|
<div class="table-head">
|
|
@@ -34,7 +34,7 @@
|
|
</ItemWrap>
|
|
</ItemWrap>
|
|
<ItemWrap
|
|
<ItemWrap
|
|
class="contetn_right-bottom contetn_lr-bitem"
|
|
class="contetn_right-bottom contetn_lr-bitem"
|
|
- title="销售数量/金额TOP100产品(2022年)"
|
|
|
|
|
|
+ :title="'销售数量/金额TOP100产品('+curYear+'年)'"
|
|
mode="left"
|
|
mode="left"
|
|
>
|
|
>
|
|
<div class="tab-panel">
|
|
<div class="tab-panel">
|
|
@@ -74,7 +74,8 @@ export default {
|
|
return {
|
|
return {
|
|
curTab: 1,
|
|
curTab: 1,
|
|
jmsTotal: 0,
|
|
jmsTotal: 0,
|
|
- cpTotal: 0
|
|
|
|
|
|
+ cpTotal: 0,
|
|
|
|
+ curYear: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
filters: {
|
|
filters: {
|
|
@@ -86,6 +87,7 @@ export default {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.$tv.requestFocus(this.$refs.curTab2)
|
|
this.$tv.requestFocus(this.$refs.curTab2)
|
|
})
|
|
})
|
|
|
|
+ this.curYear = new Date().getFullYear()
|
|
},
|
|
},
|
|
mounted () {},
|
|
mounted () {},
|
|
methods: {
|
|
methods: {
|