@{
    string RightInfo = ViewBag.RightInfo as string;
    string right = ViewBag.right as string;

}
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>盟主提现记录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/layuiadmin/style/admin.css" media="all">
    <script src="/admin/js/jquery-1.10.1.min.js"></script>
    <style>
        .layui-input-inline {
            width: 175px !important;
        }

        .layui-form-label {
            width: 85px !important;
        }

        .layui-inline {
            margin-right: 0px !important;
        }

        .w100 {
            width: 100px !important;
        }

        .ml50 {
            margin-left: 50px !important;
        }
    </style>
</head>

<body>
    <div class="layui-fluid">
        <div class="layui-card">
            <div class="layui-form layui-card-header layuiadmin-card-header-auto">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">提现单号</label>
                        <div class="layui-input-inline">
                            <input class="layui-input" type="text" name="CashOrderNo" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">创客编号</label>
                        <div class="layui-input-inline">
                            <input class="layui-input" type="text" name="MakerCode" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">创客名称</label>
                        <div class="layui-input-inline">
                            <input class="layui-input" type="text" name="RealName" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">提现状态</label>
                        <div class="layui-input-inline">
                            <select id="StatusSelect" name="StatusSelect" lay-search="">
                                <option value="">全部...</option>
                                <option value="0">处理中</option>
                                <option value="2">失败</option>
                                <option value="1">成功</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">创建时间</label>
                        <div class="layui-input-inline">
                            <input class="layui-input" type="text" readonly name="CreateDateData" id="CreateDate"
                                placeholder="创建时间" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-inline ml50">
                        <button class="layui-btn" lay-submit lay-filter="LAY-list-front-search">
                            <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>查询
                        </button>
                        <button class="layui-btn" lay-submit lay-filter="LAY-list-front-searchall">
                            <i class="layui-icon layui-icon-list layuiadmin-button-btn"></i>全部
                        </button>
                        @* @if (RightInfo.Contains("," + right + "_reduce,"))
                        {
                            <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="reduce"><i
                                class="layui-icon layui-icon-edit"></i>驳回</button>
                        } *@
                        @if (RightInfo.Contains("," + right + "_export,"))
                        {
                            <button class="layui-btn" data-type="ExportExcel"><i
                                class="layui-icon layui-icon-export layuiadmin-button-btn"></i>导出</button>
                        }
                        @if (RightInfo.Contains("," + right + "_import,"))
                        {
                            <button class="layui-btn" data-type="ImportData"><i
                                class="layui-icon layui-icon-upload layuiadmin-button-btn"></i>提现结果导入</button>
                        }
                        @if (RightInfo.Contains("," + right + "_cash,"))
                        {
                            <button class="layui-btn" data-type="Cash"><i
                                class="layui-icon layui-icon-up layuiadmin-button-btn"></i>提交到代付平台</button>
                        }
                    </div>
                </div>
            </div>

            <div class="layui-card-body">
                <blockquote class="layui-elem-quote layui-text">
                    待处理总金额(元)：<span style="color: #f00;" id="WaitAmount">0.00</span>　|　提现成功总金额(元)：<span
                        style="color: #f00;" id="SuccessAmount">0.00</span>　|　提现失败总金额(元)：<span style="color: #f00;"
                        id="FailAmount">0.00</span>
                </blockquote>
                <table id="LAY-list-manage" lay-filter="LAY-list-manage"></table>
                <script type="text/html" id="StatusTpl">
                    {{# if(d.Status == 2) { }}
                    {{ d.StatusName }} <a href="javascript:;" style="color:cornflowerblue" onclick="layer.msg('{{ d.Remark }}')">点击查看原因</a>
                    {{# } else { }}
                    {{ d.StatusName }}
                    {{# } }}
                </script>
                <script type="text/html" id="table-list-tools">
                    {{# if(d.Status == 0) { }}
                    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="reduce"><i class="layui-icon layui-icon-edit"></i>驳回</a>
                    {{# } }}
                    {{# if(d.QueryCount == 1 && d.Status == 2) { }}
                    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="cancel"><i class="layui-icon layui-icon-edit"></i>解冻</a>
                    {{# } }}
                </script>
            </div>
        </div>
    </div>

    <script src="/layuiadmin/layui/layui.js"></script>
    <script src="/layuiadmin/modules_main/UserCashHelpRecord_Admin.js?r=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
    <script>

    </script>
</body>

</html>