作者 Cool

提现功能优化

... ... @@ -2,15 +2,18 @@
return [
'User_id' => '用户id',
'Before_money' => '提现前余额',
'After_money' => '提现后余额',
'Type' => '提现类型',
'Type 1' => '商家',
'Type 2' => '用户',
'Before_money' => '提现前余额/板币',
'After_money' => '提现后余额/板币',
'Order_sn' => '提现单号',
'Status' => '订单状态',
'Status 0' => '待提现',
'Status 1' => '提现中',
'Status 2' => '提现完成',
'Status 3' => '提现失败',
'Pay_type' => '提现方式:1=微信',
'Pay_type' => '提现方式',
'Money' => '提现金额',
'Success_time' => '提现时间',
'Transaction_id' => '提现回调参数',
... ...
... ... @@ -27,11 +27,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{checkbox: true},
{field: 'id', title: __('Id')},
{field: 'user.nickname', title: __('User.nickname')},
{field: 'type', title: __('Type'), searchList: {"1":__('Type 1'),"2":__('Type 2')}, formatter: Table.api.formatter.status},
{field: 'before_money', title: __('Before_money'), operate:'BETWEEN'},
{field: 'after_money', title: __('After_money'), operate:'BETWEEN'},
{field: 'order_sn', title: __('Order_sn')},
{field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1'),"2":__('Status 2'),"3":__('Status 3')}, formatter: Table.api.formatter.status},
{field: 'pay_type', title: __('Pay_type')},
// {field: 'pay_type', title: __('Pay_type')},
{field: 'money', title: __('Money'), operate:'BETWEEN'},
{field: 'success_time', title: __('Success_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'transaction_id', title: __('Transaction_id')},
... ...