Authored by jiran.zhao

'一件代发'

... ... @@ -60,7 +60,7 @@
</Select>
</div>
</filter-item>
<form-item>
<filter-item>
<div class="select-container">
<Input v-model.trim="filters.targetAccount.model" :placeholder="filters.targetAccount.label" />
</div>
... ... @@ -81,7 +81,12 @@
<div class="select-container">
<Input v-model.trim="filters.orderCode.model" :placeholder="filters.orderCode.label" />
</div>
</form-item>
<div class="select-container">
<Button type="primary" @click="search">查询</Button>
<Button type="primary" @click="reset">全部</Button>
<Button>导出</Button>
</div>
</filter-item>
</layout-filter>
<layout-list>
<Table border :columns="tableCols" :data="tableData"></Table>
... ...
... ... @@ -90,23 +90,19 @@ export default function() {
},
tableCols: [
{
title: 'ID',
title: '账务ID',
key: 'id',
align: 'center',
},
{
title: '申请时间',
key: 'createTime',
title: '提现时间',
key: 'withdrawTime',
align: 'center',
},
{
title: '商家名称',
key: 'supplierName',
align: 'center',
render(h, params) {
const time = moment.unix(params.row.createTime);
return (
<div>
<div>{time.format('YYYY/MM/DD')}</div>
<div>{time.format('HH:mm:ss')}</div>
</div>
);
},
},
{
title: '商家收款账户',
... ... @@ -114,17 +110,39 @@ export default function() {
align: 'center',
},
{
title: '申请金额(元)',
key: 'applyAmount',
title: '订单号',
key: 'orderCode',
align: 'center',
},
{
title: '服务费(元)',
key: 'serviceAmount',
title: 'SKU',
key: 'productSku',
align: 'center',
},
{
title: '商品名称',
key: 'productName',
align: 'center',
},
{
title: '业务单据号',
key: 'statementSn',
align: 'center',
},
{
title: '成功金额(元)',
title: '账务类型',
key: 'clearingType',
align: 'center',
},
{
title: '子服务类型',
key: 'subClearingType',
align: 'center',
},
{
title: '服务费金额(元)',
key: 'serviceAmount',
align: 'center',
},
{
title: '提现状态',
... ... @@ -140,32 +158,18 @@ export default function() {
className: 'status-column',
},
{
title: '说明',
key: 'remarks',
},
{
title: '操作人',
key: 'applyPid',
align: 'center',
},
{
title: '操作',
key: 'action',
width: 180,
title: '提现成功日期',
key: 'createTime',
align: 'center',
render: (h, params) => {
const row = params.row;
render(h, params) {
const time = moment.unix(params.row.createTime);
return (
<div>
<div class="cell-action-row">
<i-button type="primary" size="small" onClick={() => this.getDetailById(row.id)}>
提现明细
</i-button>
</div>
<div>{time.format('YYYY/MM/DD')}</div>
<div>{time.format('HH:mm:ss')}</div>
</div>
);
},
className: 'action-column',
},
],
tableData: [],
... ...