
@{
    ViewData["Title"] = "";
    Layout = "~/Pages/Shared/_MainLayout.cshtml";
}


<div class="ibox-content m-b-sm border-bottom">
    <div class="gridPanel">

        @*<table id="gridTable"></table>
            <div id="gridPager"></div>*@

        <table id="tb" class="table table-hover table-bordered" style="width:100%;">
            <thead>
                <tr>
                    <th>序号</th>
                    <th>取数来源</th>
                    <th>金额</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tr>
                <td>1</td>
                <td>平台提现在途</td>
                <td>@ViewBag.m.Item1.ToString("###,###.##")</td>
                <td><a class="btn btn-xs btn-primary" onclick="showdetail('@ViewBag.date.ToString("yyyy-MM-dd")  平台提现在途明细','@Url.Content("~/Reports/Finance/WithDrawOnWay?date="+ViewBag.date+"&paycompanyid="+ViewBag.paycompanyid)')">查看明细</a></td>
            </tr>
            <tr>
                <td>2</td>
                <td>第三方平台余额</td>
                <td>@ViewBag.m.Item2.ToString("###,###.##")</td>
                <td><a class="btn btn-xs btn-primary" onclick="showdetail('@ViewBag.date.ToString("yyyy-MM-dd")  第三方平台余额明细','@Url.Content("~/Reports/Finance/PlatformBalance?date="+ViewBag.date+"&paycompanyid="+ViewBag.paycompanyid)')">查看明细</a></td>
            </tr>
            <tr>
                <td>3</td>
                <td>主体银行余额</td>
                <td>@ViewBag.m.Item3.ToString("###,###.##")</td>
                <td><a class="btn btn-xs btn-primary" onclick="showdetail('@ViewBag.date.ToString("yyyy-MM-dd")  主体银行明细','@Url.Content("~/Reports/Finance/BankBalance?date="+ViewBag.date+"&paycompanyid="+ViewBag.paycompanyid)')">查看明细</a></td>
            </tr>
        </table>

    </div>
</div>
    <script>
        function showdetail(title, url) {
            layer_show(title, url, '90%', '90%');
        }
        
    </script>

