...
|
...
|
@@ -21,19 +21,19 @@ export default function() { |
|
|
timeLimit: true,
|
|
|
tableCols: [
|
|
|
{
|
|
|
title: 'ID',
|
|
|
key: 'id',
|
|
|
title: '提现时间',
|
|
|
key: 'withdrawTime',
|
|
|
width: 60,
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
title: '申请时间',
|
|
|
key: 'createTime',
|
|
|
title: '账务ID',
|
|
|
key: 'id',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '结算类型',
|
|
|
key: 'clearingType',
|
|
|
title: '商家名称',
|
|
|
key: 'productName',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
...
|
...
|
@@ -42,18 +42,41 @@ export default function() { |
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '申请金额(元)',
|
|
|
title: '订单号',
|
|
|
key: 'orderCode',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: 'sku',
|
|
|
key: 'productSku',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '商品名称',
|
|
|
key: 'productName',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '业务单据号',
|
|
|
key: 'targetAccount',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '账务类型',
|
|
|
key: 'clearingType',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '子账务类型',
|
|
|
key: 'applyAmount',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '服务费(元)',
|
|
|
title: '服务费金额(元)',
|
|
|
key: 'serviceAmount',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '成功金额(元)',
|
|
|
}, {
|
|
|
title: '提现状态',
|
|
|
key: 'status',
|
|
|
align: 'center',
|
...
|
...
|
@@ -62,40 +85,14 @@ export default function() { |
|
|
const as = row.status;
|
|
|
const asText = as === 2 ? `${withdrawStatus[row.status]}(${row.rejectReason})` : withdrawStatus[as];
|
|
|
ow.lineIndex = params.index;
|
|
|
return (
|
|
|
<p class={{'high-light': as === 2}}>{asText}</p>
|
|
|
);
|
|
|
return (<p class={{'high-light': as === 2}}>{asText}</p>);
|
|
|
},
|
|
|
className: 'status-column'
|
|
|
}, {
|
|
|
title: '业务单据号',
|
|
|
key: 'statementSn',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
title: '说明',
|
|
|
}, {
|
|
|
title: '操作人',
|
|
|
key: 'applyPid',
|
|
|
title: '入账时间',
|
|
|
key: 'createTime',
|
|
|
width: 90,
|
|
|
align: 'center'
|
|
|
}, {
|
|
|
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 class="cell-action-row">
|
|
|
<i-button type="primary" size="small" onClick={() => this.getInfoById(row.id)}>结算明细</i-button>
|
|
|
</div></div>
|
|
|
);
|
|
|
},
|
|
|
className: 'action-column'
|
|
|
}
|
|
|
],
|
|
|
tableData: [],
|
...
|
...
|
|