<%@ Page Title="" Language="C#" MasterPageFile="../BaseMaster.Master" CodeBehind="TransferDetail.aspx.cs" Inherits="WAP2P.Web.PC.Admin.BorrowLoan.TransferDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <form class="auto" method="post" action="<% =Request.RawUrl %>" onsuccess="parent.$.jPopupEdit.close(true);">
        <div class="m-editbar">
            <input type="submit" class="btn-larger c-priority iconfont" value="&#xe684; 保存" />
            <input type="button" class="btn-larger c-normal iconfont" value="&#xe634; 关闭" onclick="parent.$.jPopupEdit.close();" />
        </div>
        <div class="m-content m-editcontent">
            <dl class="ui-tabs">
                <dt><a href="#detail" class="on">债权转让详情</a></dt>
                <dt><a href="#record">债权投标记录</a></dt>            
                <dd id="detail">
                    <div class="m-content">
                        <table class="m-info" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <th>债权名称</th>
                                <td><% =Model.Name %></td>
                            </tr>
                            <tr>
                                <th>剩余期数</th>
                                <td><% =Model.PeriodCount %></td>
                            </tr>
                            <tr>
                                <th>转让人</th>
                                <td><% =Model.UserName %></td>
                            </tr>
                            <tr>
                                <th>转让金额</th>
                                <td><% =Model.Amount.ToMoneyString() %> 元</td>
                            </tr>
                            <tr>
                                <th>原借款名</th>
                                <td><% =Model.BorrowName %></td>
                            </tr>
                            <tr>
                                <th>转让费用率</th>
                                <td><% =(Model.TransferFee * 100).ToInterestString() %>%</td>
                            </tr>
                            <tr>
                                <th>结束时间</th>
                                <td><% =Model.EndAt.ToDateTimeString() %></td>
                            </tr>
                            <tr>
                                <th>状态</th>
                                <td><% =Model.Status.GetDescription() %></td>
                            </tr>
                            <tr>
                                <th>发布时间</th>
                                <td><% =Model.CreateAt.ToDateTimeString() %></td>
                            </tr>
                            <tr>
                                <th>排序值</th>
                                <td><input type="text" name="orderBy" class="ui-int w50" value="<% =Model.OrderBy %>" data-vtype="number" data-vmsg="请输入正确的数值" /></td>
                            </tr>
                        </table>
                    </div>
                </dd>
                <dd id="record" class="g-hide">
                    <div class="m-content">
                        <table class="m-list" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <th width="40%" class="g-fleft">投标用户</th>                            
                                <th width="20%">投标金额</th>
                                <th width="20%">投标时间</th>
                            </tr>
                            <ruson:Repater runat="server" ID="rptBidList">
                                <ItemTemplate>
                                    <tr>
                                        <td><%# Eval("UserName") %></td>
                                        <td><%# ((decimal)Eval("Sum")).ToMoneyString() %> 元</td>
                                        <td><%# ((DateTime)Eval("CreateAt")).ToDateTimeString() %></td>
                                    </tr>
                                </ItemTemplate>
                                <EmptyTemplate>
                                    <tr>
                                        <td colspan="3" class="g-fleft">暂无数据。</td>
                                    </tr>
                                </EmptyTemplate>
                            </ruson:Repater>
                        </table>
                    </div>
                </dd>
            </dl>
        </div>
    </form>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
    <script>
        $('.ui-tabs').tabs({ tabSelector: 'dt a' });
    </script>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="list" runat="server">
</asp:Content>