|  |  |  | 
|---|
|  |  |  | id: 'moneyFlowChargeTable', | 
|---|
|  |  |  | url: ctx + 'admin/mallMember/getMoneyChargeList', | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {field: 'withdrawNo', title: '编号', minWidth: 100,align:'left'}, | 
|---|
|  |  |  | {field: 'name', title: '名称', minWidth: 100,align:'left'}, | 
|---|
|  |  |  | {field: 'phone', title: '账号', minWidth: 150,align:'left'}, | 
|---|
|  |  |  | {field: 'bindPhone', title: '手机号', minWidth: 150,align:'left'}, | 
|---|
|  |  |  | {field: 'amount', title: '金额', minWidth: 150,align:'left'}, | 
|---|
|  |  |  | {field: 'amountFee', title: '手续费', minWidth: 150,align:'left'}, | 
|---|
|  |  |  | {field: 'remark', title: '地址', minWidth: 300,align:'left'}, | 
|---|
|  |  |  | {field: 'status', title: '状态', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.status === 1) { | 
|---|
|  |  |  | return '<span style="color:green;">提现中</span>' | 
|---|
|  |  |  | return '<span style="color:blue;">提现中</span>' | 
|---|
|  |  |  | } else if (d.status === 2) { | 
|---|
|  |  |  | return '<span style="color:red;">成功</span>' | 
|---|
|  |  |  | return '<span style="color:green;">成功</span>' | 
|---|
|  |  |  | } else if (d.status === 3) { | 
|---|
|  |  |  | return '<span style="color:red;">拒绝</span>' | 
|---|
|  |  |  | } else{ | 
|---|
|  |  |  | 
|---|
|  |  |  | if (d.status === 1) { | 
|---|
|  |  |  | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="chargeAgree" shiro:hasPermission="user:update">同意</button>' | 
|---|
|  |  |  | +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="chargeDisagree" shiro:hasPermission="user:update">拒绝</button>' | 
|---|
|  |  |  | +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="paymentInfo" shiro:hasPermission="user:update">查看收款方式</button>' | 
|---|
|  |  |  | }else{ | 
|---|
|  |  |  | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="paymentInfo" shiro:hasPermission="user:update">查看收款方式</button>' | 
|---|
|  |  |  | return '' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | },minWidth: 300,align:'center'} | 
|---|
|  |  |  | },minWidth: 200,align:'center'} | 
|---|
|  |  |  | ]] | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|