@{
    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" readonly name="CreateDateData" id="CreateDate"
                                placeholder="" 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" readonly name="UpdateDateData" id="UpdateDate"
                                placeholder="" 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="SeoKeyword" placeholder="" 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="AlipayAccountNo" placeholder=""
                                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="BankCardNo" placeholder="" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">开户行</label>
                        <div class="layui-input-inline">
                            <select id="BankNameSelect" name="BankNameSelect" lay-search="">
                                <option value="">全部...</option>
                                <option value="工商银行">工商银行</option>
                                <option value="农业银行">农业银行</option>
                                <option value="邮储银行">邮储银行</option>
                                <option value="建设银行">建设银行</option>
                                <option value="招商银行">招商银行</option>
                                <option value="中国银行">中国银行</option>
                                <option value="交通银行">交通银行</option>
                                <option value="浦发银行">浦发银行</option>
                                <option value="广发银行">广发银行</option>
                                <option value="民生银行">民生银行</option>
                                <option value="平安银行">平安银行</option>
                                <option value="光大银行">光大银行</option>
                                <option value="兴业银行">兴业银行</option>
                                <option value="中信银行">中信银行</option>
                                <option value="上海银行">上海银行</option>
                                <option value="其他银行">其他银行</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">退款类型</label>
                        <div class="layui-input-inline">
                            <select id="PayKindSelect" name="PayKindSelect" lay-search="">
                                <option value="">全部...</option>
                                <option value="0">支付宝</option>
                                <option value="1">银行卡</option>
                            </select>
                        </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" selected="selected">待处理</option>
                                <option value="2">失败</option>
                                <option value="1">成功</option>
                                @* <option value="4">通过</option> *@
                                @* <option value="5">未通过</option> *@
                            </select>
                        </div>
                    </div>
                    @{
                        Dictionary<string, string> ProfitObjectsActivesDic = new MySystem.DictionaryClass().getKqProductBrandDic();
                    }
                    <div class="layui-inline">
                        <label class="layui-form-label">品牌</label>
                        <div class="layui-input-inline">
                            <select id="BrandId" name="BrandId" lay-search="">
                                <option value="">全部...</option>
                                @foreach (string key in ProfitObjectsActivesDic.Keys)
                                {
                                    <option value="@key">@ProfitObjectsActivesDic[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" name="MerchantName" placeholder="请输入商户姓名"
                                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="PosSn" 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>
                    </div>
                </div>
            </div>

            <div class="layui-card-body">
                <div style="padding-bottom: 10px;">
                    @if (RightInfo.Contains("," + right + "_add,"))
                    {
                        <button class="layui-btn" data-type="add"><i
                            class="layui-icon layui-icon-add-1 layuiadmin-button-btn"></i>添加</button>
                    }
                    @if (RightInfo.Contains("," + right + "_delete,"))
                    {
                        <button class="layui-btn" data-type="batchdel"><i
                            class="layui-icon layui-icon-delete layuiadmin-button-btn"></i>删除</button>
                    }
                    @* @if (RightInfo.Contains("," + right + "_edit,"))
                        {
                        <button class="layui-btn" data-type="Open">开启</button>
                        <button class="layui-btn" data-type="Close">关闭</button>
                        <button class="layui-btn" data-type="ExportExcel"><i
                        class="layui-icon layui-icon-export layuiadmin-button-btn"></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>
                <blockquote class="layui-elem-quote layui-text">
                    服务费总金额：<span style="color: #f00;" id="ReturnAmount">0.00</span>　|　达标奖总金额：<span style="color: #f00;"
                        id="fReturnAmount">0.00</span>
                </blockquote>
                <table id="LAY-list-manage" lay-filter="LAY-list-manage"></table>
                <script type="text/html" id="table-list-tools">
                    @if (RightInfo.Contains("," + right + "_edit,"))
                    {
                                                <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
                    }
                    @if (RightInfo.Contains("," + right + "_delete,"))
                    {
                                                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
                    }
                    @if (RightInfo.Contains("," + right + "_edit,"))
                    {

                    }
                </script>
            </div>
        </div>
    </div>
    <div id="excelForm" style="display:none; padding:20px;">
        <div class="layui-tab-item layui-show">
            <div class="layui-form-item">
                <label class="layui-form-label">模板下载</label>
                <div class="layui-form-mid layui-word-aux" id="excelTemp">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">excel文件</label>
                <div class="layui-form-mid layui-word-aux">
                    <div class="layui-upload">
                        <input type="file" id="ExcelFile" name="ExcelFile" value="">
                    </div>
                    <div class="mt10" id="ExcelFileList">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item ml10">
            <div class="layui-input-block">
                <button type="button" class="layui-btn" onclick="ConfirmImport()">立即导入</button>
            </div>
        </div>
    </div>

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

    </script>
</body>

</html>