|
@@ -38,6 +38,9 @@
|
|
:columns="columns"
|
|
:columns="columns"
|
|
:data="loadData"
|
|
:data="loadData"
|
|
bordered>
|
|
bordered>
|
|
|
|
+ <template slot="changeNum" slot-scope="text, record">
|
|
|
|
+ {{ text||'0' }}
|
|
|
|
+ </template>
|
|
</s-table>
|
|
</s-table>
|
|
</a-card>
|
|
</a-card>
|
|
|
|
|
|
@@ -77,7 +80,7 @@ export default {
|
|
columns: [
|
|
columns: [
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
{ title: '商户名称', dataIndex: 'officialPartnerName', align: 'center' },
|
|
{ title: '商户名称', dataIndex: 'officialPartnerName', align: 'center' },
|
|
- { title: '收取乐豆个数', dataIndex: 'changeNum', width: 200, align: 'center' }
|
|
|
|
|
|
+ { title: '收取乐豆个数', scopedSlots: { customRender: 'changeNum' }, dataIndex: 'changeNum', width: 200, align: 'center' }
|
|
// { title: '交易时间', dataIndex: 'createDate', width: 200, align: 'center' }
|
|
// { title: '交易时间', dataIndex: 'createDate', width: 200, align: 'center' }
|
|
],
|
|
],
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|