| | |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label layui-form-label-sm">状态</label> |
| | | <div class="layui-input-inline"> |
| | | <select name="status"> |
| | | <option value="">请选择</option> |
| | | <option value="1">上线</option> |
| | | <option value="2">下线</option> |
| | | <option value="3">取消</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-md2 layui-col-sm12 layui-col-xs12 table-action-area"> |
| | |
| | | dealDone(data.id); |
| | | }); |
| | | } |
| | | if (layEvent === 'editOrder') { |
| | | febs.modal.open('详情修改', 'modules/otc/otcEntrustListUpdate/' + data.id, { |
| | | btn: ['提交', '取消'], |
| | | yes: function (index, layero) { |
| | | $('#user-update').find('#submit').trigger('click'); |
| | | }, |
| | | btn2: function () { |
| | | layer.closeAll(); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | function dealIng(id) { |
| | | febs.get(ctx + 'otc/dealIng/' + id, null, function () { |
| | |
| | | {field: 'remainCoinAmount', title: '剩余数量',minWidth: 100,align:'center'}, |
| | | {field: 'limitMinAmount', title: '最小限额',minWidth: 100,align:'center'}, |
| | | {field: 'limitMaxAmount', title: '最大限额',minWidth: 100,align:'center'}, |
| | | {field: 'status', title: '类型', |
| | | {field: 'status', title: '状态', |
| | | templet: function (d) { |
| | | if (d.status === 1) { |
| | | return '<span style="color:blue;">上线</span>' |
| | |
| | | return '' |
| | | } |
| | | }, minWidth: 80,align:'center'}, |
| | | {title: '操作',templet: function (d) { |
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="editOrder" shiro:hasPermission="user:update">详情</button>' |
| | | },minWidth: 200,align:'center'} |
| | | // {title: '操作',templet: function (d) { |
| | | // if(d.status === 1){ |
| | | // return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="dealIng" shiro:hasPermission="user:update">马上处理</button>' |
| | |
| | | return { |
| | | account: $searchForm.find('input[name="account"]').val().trim(), |
| | | orderType: $searchForm.find("select[name='orderType']").val(), |
| | | status: $searchForm.find("select[name='status']").val(), |
| | | }; |
| | | } |
| | | |