<%@ Page language="c#" Codebehind="MyRefundDetail.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.MyRefundDetail" %>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Modules/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<!--#include file="../../inc/encoding.inc"-->
		<title>退款详细内容</title>
		<!--#include file="../../inc/head.inc"-->
		<script src="<%=webSite %>inc/tab.js" type="text/javascript"></script>
		<link href="<%=webSite %>Template/<%=config.TemplateFolder%>/style/member.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript">
		    $(document).ready(function(){
	            //显示隐藏银行卡相关信息
		        if($('[@name=rblRepaireType][@value=1]').is(":checked")){
                    $('.refundType').show();
                    if($('[@name=rblRefundType][@value=2]').is(":checked")){
                        $('.bankInfo').show();
                    }
                }
		        if($('[@name=rblRepaireType][@value!=1]').is(":checked")){
                    $('.refundType').hide();
                    if($('[@name=rblRefundType]').is(":checked")){
                       $('[@name=rblRefundType]').removeAttr("checked");
                    }
                    HideBankInfo();
                }
                
                if($('[@name=rblRefundType][@value=2]').is(":checked")){
                    $('.bankInfo').show();
                }
                if($('[@name=rblRefundType][@value!=2]').is(":checked")){
                    HideBankInfo();
                }
            })  
            function HideBankInfo(){
                $('.bankInfo').hide();
                $('#txtBankName').val('');
                $('#txtBankAccount').val('');
                $('#txtAccountName').val('');
            }	   
		</script>
		<style type="text/css">
		    table td.lefttd {width:80px;}
		    .table tr td{ text-align:left; font-size:12px; padding-left:10px; padding-bottom:5px; padding-top:5px; border-bottom:1px #e6e6e6 dotted;}
		    .table .left{width:15%;text-align:right}
		</style>
	</head>
	<body>
	
		<uc1:Header id="Header1" runat="server"></uc1:Header>
	        <div class="xp-qgw clear">
		    <!--位置导航开始-->
		    <div class="path"><a href="<%=webSite %><%if(config.html==""){%>default.aspx<%}else{%>Index.<%=config.html%><%}%>"><%=GetResourceString("Home")%></a>&nbsp;&gt;&nbsp;<%=GetResourceString("MemberCenter")%>&nbsp;&gt;&nbsp;>退换货/返修详细内容</div>
		    <!--位置导航结束-->
			<div class="member_left">
				<!--会员中心导航开始-->
				<uc1:MemberMenu id="MemberMenu1" runat="server"></uc1:MemberMenu>
				<!--会员中心导航结束-->
			</div>
			<div class="member_middle_right">
			    <!--内容开始-->
			    <div class="mframe">
			        <div class="tl"></div>
			        <div class="tr"></div>
			        <div class="tm">退款详细内容</div>
			        <div class="ml"></div>
			        <div class="mr"></div>
			        <div class="mm">
					    <a href="<%=webSite %>MyRefund.aspx">返回列表</a>
					    <hr class="itemhr" />
	                    <form id="Form1" method="post" runat="server">
                        <div class="order_2" id="order_2">
		                <div class="order_2_top">
		                    <div class="rank_subcat"><span class="menuitem tabon">售后跟踪</span><span class="menuitem tabout">申请信息</span></div>
		                </div>
		                 <div class="salerank1_tabitem" style="padding:20px;">
                            <table width="100%" cellspacing="0" cellpadding="0">
                                <tbody>
                                    <tr>
                                        <th width="20%">操作角色</th>
                                        <th width="30%">操作时间</th>
                                        <th width="50%">操作</th>
                                    </tr>
                                    <asp:repeater id="rptAppOpLog" Runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td><%# DataBinder.Eval(Container.DataItem, "OpRule")%></td>
                                                <td><%# DataBinder.Eval(Container.DataItem, "OPTime")%></td>
                                                <td><%# DataBinder.Eval(Container.DataItem, "OPDesc")%></td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:repeater>
                                </tbody>
                            </table>
					        <hr class="itemhr" />
                            <input type=hidden name=aid value=<%=appFormDetail.AID %> />
                            <input type=hidden name=type value=<%=appFormDetail.Type %> />
                            <input type=hidden name=orderid value=<%=appFormDetail.OrderID %> />

		                 </div>
		                 <div class="salerank1_tabitem" style="padding:20px;">
                           <table class="table" >
		                        <tr>
			                        <td class="left">订单编号：</td>
			                        <td>
			                            <asp:TextBox id="txtOrderNo" runat="server"></asp:TextBox>
 				                    </td>
		                        </tr>
		                        <tr>
			                        <td class="left">申请人：</td>
			                        <td>
			                            <asp:TextBox id="txtApplicant" runat="server"></asp:TextBox>
 				                    </td>
		                        </tr>
		                        <tr>
			                        <td class="left">期待处理方式：</td>
			                        <td>
			                            <asp:RadioButtonList id="rblRepaireType" runat="server" RepeatDirection="Horizontal" RepeatLayout="flow">
					                        <asp:ListItem Value="1" Selected>退款</asp:ListItem>
 				                        </asp:RadioButtonList>
 				                    </td>
		                        </tr>
		                        <tr>
			                        <td class="left">问题描述：</td>
			                        <td><asp:TextBox id="txtReason" runat="server" Columns="80" Rows="5" TextMode="multiLine"></asp:TextBox></td>
		                        </tr>
	                            <tr class="refundType"  >
			                        <td class="left">退款方式：</td>
                                    <td><asp:RadioButtonList id="rblRefundType" runat="server" RepeatDirection="vertical" RepeatLayout="flow">
					                        <asp:ListItem Value="1" Selected="True">退款至账户余额（推荐，不会收取手续费） </asp:ListItem>
					                        <asp:ListItem Value="2">退款至银行卡（跨行退款需要扣除一定积分用以支付银行手续费）</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
		                        </tr>
		                        <tr class="bankInfo" >
			                        <td class="left">开 户 行：</td><td><asp:TextBox id="txtBankName" runat="server" ></asp:TextBox></td>
		                        </tr>
		                        <tr class="bankInfo">
			                        <td class="left">开户人姓名：</td><td><asp:TextBox id="txtAccountName" runat="server"  ></asp:TextBox></td>
		                        </tr>	
                                <tr class="bankInfo">
			                        <td class="left" valign="top">开户银行账号：</td><td><asp:TextBox id="txtBankAccount" runat="server" ></asp:TextBox><br /></td>
		                        </tr>
		                        <tr class="hide">
			                        <td class="left">收货地址：</td><td><asp:TextBox id="txtReceiverAddress" runat="server"  Columns="80" ></asp:TextBox></td>
		                        </tr>
		                        <tr class="hide">
			                        <td class="left">联 系 人：</td><td><asp:TextBox id="txtReceiverName" runat="server" ></asp:TextBox></td>
		                        </tr>
		                        <tr class="hide">
			                        <td class="left">手机号码：</td><td><asp:TextBox id="txtMobile" runat="server"></asp:TextBox></td>
		                        </tr>		                        
	                            <tr>
			                        <td class="left" >申请时间：</td>
			                        <td><asp:TextBox id="txtAddTime" runat="server"></asp:TextBox></td>
		                        </tr>		                        
                            </table>
                      </div>
		            </div>
			        <script type="text/javascript">
                        $('#order_2').ready(function(){
                            SetTab('#order_2 span.menuitem','#order_2 div.salerank1_tabitem');
                        });
                    </script>
		                    
                    </form>
		            </div>
			        <div class="bl"></div>
			        <div class="br"></div>
			        <div class="bm"></div>
			    </div>   
				<!--内容结束-->
			</div>
			<div style="clear:both;"></div>
		</div>
        <uc1:Helper id="Helper1" runat="server"></uc1:Helper>
		<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
	</body>
</html>