<div className="layui-fluid layui-anim febs-anim" id="febs-money-total-out-child" lay-title="每日提现">
|
<div className="layui-row febs-container">
|
<div className="layui-col-md12">
|
<div className="layui-card">
|
<div className="layui-card-body febs-table-full">
|
<table lay-filter="moneyTotalTableOutChild" lay-data="{id: 'moneyTotalTableOutChild'}"></table>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<script data-th-inline="none" type="text/javascript">
|
layui.use(['jquery', 'form', 'table', 'febs'], function () {
|
var $ = layui.jquery,
|
febs = layui.febs,
|
form = layui.form,
|
table = layui.table,
|
$view = $('#febs-money-total-out-child'),
|
tableIns;
|
|
form.render();
|
|
initTable();
|
|
function initTable() {
|
tableIns = febs.table.init({
|
elem: $view.find('table'),
|
id: 'moneyTotalTableOutChild',
|
url: ctx + 'member/getOutFlowListByDay?parentId=1',
|
cols: [[
|
{field: 'username', title: '用户名', minWidth: 120, align: 'left'},
|
{field: 'amount', title: '提币数量', minWidth: 120, align: 'center'},
|
{field: 'feeAmount', title: '手续费', minWidth: 120, align: 'center'},
|
{field: 'status', title: '状态',
|
templet: function (d) {
|
if (d.status === 1) {
|
return '<span>进行中</span>'
|
} else if (d.status === 2) {
|
return '<span>同意</span>'
|
}else if (d.status === 3) {
|
return '<span>拒绝</span>'
|
}else{
|
return ''
|
}
|
}, minWidth: 120, align: 'center'},
|
{field: 'address', title: '提币地址',
|
templet: function (d) {
|
if (d.isInside === 'Y') {
|
return ''
|
} else if (d.isInside === 'N') {
|
return '<span>('+d.tag+')'+d.address+'</span>'
|
}else{
|
return ''
|
}
|
}, minWidth: 300, align: 'center'},
|
{field: 'createTime', title: '提币时间', minWidth: 180, align: 'center'},
|
]]
|
});
|
}
|
|
})
|
</script>
|