Authored by jiran.zhao

修改

... ... @@ -23,11 +23,11 @@
</template>
<script>
import moment from "moment";
import {ServiceList} from './store';
import FinanceService from 'services/finance/finance-service';
import moment from "moment";
import {ServiceList} from './store';
import FinanceService from 'services/finance/finance-service';
export default {
export default {
data(){
return ServiceList.call(this);
},
... ... @@ -145,7 +145,7 @@
this.list();
}
}
};
};
</script>
<style lang="scss">
... ...
... ... @@ -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: [],
... ...
... ... @@ -50,12 +50,12 @@
</template>
<script>
import moment from "moment";
import {Withdraw} from './store';
import FinanceService from 'services/finance/finance-service';
import _ from "lodash";
import moment from "moment";
import {Withdraw} from './store';
import FinanceService from 'services/finance/finance-service';
import _ from "lodash";
export default {
export default {
data() {
return Withdraw.call(this);
},
... ... @@ -191,7 +191,7 @@
}
}
};
};
</script>
<style lang="scss">
... ...