Browse Source

修改毛利润排行页面表格数据不显示问题

zq-0828-newMenu
zq 15 hours ago
parent
commit
171e47708a
  1. 5
      src/views/super/Ranking/RankBatchList.vue

5
src/views/super/Ranking/RankBatchList.vue

@ -152,7 +152,7 @@
<img src="@/assets/register/close.svg"> <img src="@/assets/register/close.svg">
</span> </span>
</div> </div>
<GuipTable :data="tableData1" style="width: 100%" max-height="218"> <GuipTable :tableData="tableData1" :key="dateCurrent" style="width: 100%" max-height="218">
<el-table-column prop="sort" width="100" label="排行"></el-table-column> <el-table-column prop="sort" width="100" label="排行"></el-table-column>
<el-table-column prop="name" width="200" label="代理商"></el-table-column> <el-table-column prop="name" width="200" label="代理商"></el-table-column>
<el-table-column prop="value_1" width="200" label="销售额"></el-table-column> <el-table-column prop="value_1" width="200" label="销售额"></el-table-column>
@ -211,6 +211,7 @@ export default {
data() { data() {
return { return {
loading: false, loading: false,
dateCurrent:Date.now(),
viewDesc: { viewDesc: {
'month': '月份', 'month': '月份',
'monthTwo': '月份', 'monthTwo': '月份',
@ -572,6 +573,8 @@ export default {
}).then(response => { }).then(response => {
this.$nextTick(() => { this.$nextTick(() => {
that.tableData1 = response.data.list that.tableData1 = response.data.list
that.dateCurrent = Date.now();
console.log(that.tableData1,'tableData1=');
}) })
}).catch(error => { }).catch(error => {
console.error(error, 'error') console.error(error, 'error')

Loading…
Cancel
Save