...
|
...
|
@@ -99,10 +99,10 @@ export default function() { |
|
|
},
|
|
|
{
|
|
|
title: '结算时间',
|
|
|
key: 'createTime',
|
|
|
key: 'clearingTime',
|
|
|
align: 'center',
|
|
|
render(h, params) {
|
|
|
const time = moment.unix(params.row.createTime);
|
|
|
const time = moment.unix(params.row.clearingTime);
|
|
|
return (
|
|
|
<div>
|
|
|
<div>{time.format('YYYY/MM/DD')}</div>
|
...
|
...
|
@@ -125,7 +125,7 @@ export default function() { |
|
|
},
|
|
|
{
|
|
|
title: '商家实收(元)',
|
|
|
key: 'amount',
|
|
|
key: 'realIncome',
|
|
|
},
|
|
|
{
|
|
|
title: '提现状态',
|
...
|
...
|
@@ -142,51 +142,57 @@ export default function() { |
|
|
},
|
|
|
{
|
|
|
title: '提现申请日期',
|
|
|
key: 'applyTime',
|
|
|
key: 'withdrawTime',
|
|
|
align: 'center',
|
|
|
render(h, params) {
|
|
|
const applyTime = moment.unix(params.row.applyTime);
|
|
|
if (!params.row.withdrawTime){
|
|
|
return ""
|
|
|
}
|
|
|
const withdrawTime = moment.unix(params.row.withdrawTime);
|
|
|
return (
|
|
|
<div>
|
|
|
<div>{applyTime.format('YYYY/MM/DD')}</div>
|
|
|
<div>{applyTime.format('HH:mm:ss')}</div>
|
|
|
<div>{withdrawTime.format('YYYY/MM/DD')}</div>
|
|
|
<div>{withdrawTime.format('HH:mm:ss')}</div>
|
|
|
</div>
|
|
|
);
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
title: '提现成功日期',
|
|
|
key: 'applySuccessTime',
|
|
|
key: 'withdrawSuccessTime',
|
|
|
align: 'center',
|
|
|
render(h, params) {
|
|
|
const appSuTime = moment.unix(params.row.applySuccessTime);
|
|
|
if (!params.row.withdrawSuccessTime){
|
|
|
return ""
|
|
|
}
|
|
|
const withdrawSuccessTime = moment.unix(params.row.withdrawSuccessTime);
|
|
|
return (
|
|
|
<div>
|
|
|
<div>{appSuTime.format('YYYY/MM/DD')}</div>
|
|
|
<div>{appSuTime.format('HH:mm:ss')}</div>
|
|
|
<div>{withdrawSuccessTime.format('YYYY/MM/DD')}</div>
|
|
|
<div>{withdrawSuccessTime.format('HH:mm:ss')}</div>
|
|
|
</div>
|
|
|
);
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|
|
|
key: 'action',
|
|
|
width: 180,
|
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
|
const row = params.row;
|
|
|
return (
|
|
|
<div>
|
|
|
<div class="cell-action-row">
|
|
|
<i-button type="primary" size="small" onClick={() => this.getDetailById(row.id)}>
|
|
|
查看明细
|
|
|
</i-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
);
|
|
|
},
|
|
|
className: 'action-column',
|
|
|
},
|
|
|
// {
|
|
|
// title: '操作',
|
|
|
// key: 'action',
|
|
|
// width: 180,
|
|
|
// align: 'center',
|
|
|
// render: (h, params) => {
|
|
|
// const row = params.row;
|
|
|
// return (
|
|
|
// <div>
|
|
|
// <div class="cell-action-row">
|
|
|
// <i-button type="primary" size="small" onClick={() => this.getDetailById(row.id)}>
|
|
|
// 查看明细
|
|
|
// </i-button>
|
|
|
// </div>
|
|
|
// </div>
|
|
|
// );
|
|
|
// },
|
|
|
// className: 'action-column',
|
|
|
// },
|
|
|
],
|
|
|
tableData: [],
|
|
|
pageData: {
|
...
|
...
|
|