
@{
    ViewData["Title"] = "应收帐号明细汇总";
    Layout = "~/Pages/Shared/_MainLayout.cshtml";
}

<div class="ibox-content m-b-sm border-bottom">
    <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("N2"))</td>
            <td><a class="btn btn-xs btn-primary" onclick="showdetail('@ViewBag.date.ToString("yyyy-MM-dd")  平台应收账款','@Url.Content("~/Reports/Finance/ListReceivablesPlatform?date="+ViewBag.date+"&paycompanyid="+ViewBag.paycompanyid)')">查看明细</a></td>
        </tr>
        @*<tr>
            <td>2</td>
            <td>借支应收账款</td>
            <td>@(ViewBag.m.Item2.ToString("N2"))</td>
            <td><a class="btn btn-xs btn-primary" onclick="showdetail('@ViewBag.date.ToString("yyyy-MM-dd")  借支应收账款','@Url.Content("~/Reports/Finance/ListBorrowAmount?date="+ViewBag.date+"&paycompanyid="+ViewBag.paycompanyid)')">查看明细</a></td>
        </tr>*@
        <tr>
            <td>2</td>
            <td>手工导入</td>
            <td>@(ViewBag.m.Item2.ToString("N2"))</td>
            <td><a class="btn btn-xs btn-primary" onclick="showdetail('@ViewBag.date.ToString("yyyy-MM-dd")  应收账款手工导入','@Url.Content("~/Reports/Finance/BalanceSheetSubDetail?day="+ViewBag.date+"&type=accounts_receivable_import")')">查看明细</a></td>
        </tr>
    </table>
</div>


<script>

    function ShowDetails(title, url) {
        dialogApply({
            id: 'Form',
            title: title,
            url: url,
            width: '1300px',
            height: '650px',
            callBack: function (iframeId) {
                //top.frames[iframeId].AcceptClick();
            }
        });
    }

</script>

