@{
    string RightInfo = ViewBag.RightInfo as string;
    string right = ViewBag.right as string;
    string BrandId = ViewBag.BrandId 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;
        }
        tbody .layui-table-cell{
            height: 200px !important;
        }
    </style>
</head>
<body>
    <div class="layui-fluid">
        <div class="layui-card">
            <div class="layui-form layui-card-header layuiadmin-card-header-auto">
                <input type="hidden" name="BrandId" value="@BrandId">
                <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="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="ProfitTypeSelect" name="ProfitTypeSelect" lay-search="">
                                <option value="">全部...</option>
                                <option value="0">直营商户交易分润</option>
                                <option value="1">团队交易分润</option>
                                <option value="2">其他</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">是否验证</label>
                        <div class="layui-input-inline">
                            <select id="CheckStatusSelect" name="CheckStatusSelect" lay-search="">
                                <option value="">全部...</option>
                                <option value="0">初始</option>
                                <option value="1">已验证和同步</option>
                            </select>
                        </div>
                    </div>
                
                    @{Dictionary<string, string> TopUserDic = new MySystem.DictionaryClass().getTopUserDic();}
                    <div class="layui-inline">
                        <label class="layui-form-label">顶级创客</label>
                        <div class="layui-input-inline">
                            <select id="TopUserId" name="TopUserId" lay-search="">
                                <option value="">全部...</option>
                                @foreach (string key in TopUserDic.Keys)
                                {
                                <option value="@key">@TopUserDic[key]</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"
                            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>
                        
                    </div>
                </div>
            </div>

            <div class="layui-card-body">
                <div style="padding-bottom: 10px;">
                    @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 + "_sycn,"))
                    {
                    <button class="layui-btn" data-type="SycnData"><i class="layui-icon layui-icon-link layuiadmin-button-btn"></i>机构同步(展示)</button>
                    <button class="layui-btn" data-type="SycnDataByCondi"><i class="layui-icon layui-icon-link layuiadmin-button-btn"></i>按条件同步(展示)</button>
                    <button class="layui-btn" data-type="SycnCash"><i class="layui-icon layui-icon-link layuiadmin-button-btn"></i>机构同步(到余额)</button>
                    <button class="layui-btn" data-type="SycnCashByCondi"><i class="layui-icon layui-icon-link layuiadmin-button-btn"></i>按条件同步(到余额)</button>
                    }
                </div>
                <blockquote class="layui-elem-quote layui-text">
                    商户交易总额(元)：<span style="color: #f00;" id="MerchantTradeAmount">0.00</span>　|　贷记卡交易总金额(元)：<span style="color: #f00;" id="CreditTradeAmount">0.00</span>　|　商户交易分润总金额(元)：<span style="color: #f00;" id="MerchantProfitAmount">0.00</span>　|　贷记卡分润总金额(元)：<span style="color: #f00;" id="CreditProfitAmount">0.00</span>
                </blockquote>
                <table id="LAY-list-manage" lay-filter="LAY-list-manage"></table>
                <script type="text/html" id="table-list-tools">
                </script>
            </div>
        </div>
    </div>

    <script src="/layuiadmin/layui/layui.js"></script>
    <script src="/layuiadmin/modules_main/ProfitRewardRecord_Admin.js?r=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
    <script>
        var BrandId = '@BrandId';
    </script>
</body>
</html>