<%<Hi:Common_Header runat="server" SkinName="/ascx/tags/Common_UserCenter/Skin-Common_User_Header.ascx" />%>
<script src="/utility/jquery.artDialog.js" type="text/javascript"></script>
<script src="/utility/iframeTools.js" type="text/javascript"></script>
<script src="/utility/Window.js" type="text/javascript"></script>
<link rel="stylesheet" href="/utility/skins/blue.css" />
<form runat="server">
<div class="hyzxmain">
    <div class="hyzxconty">
        当前位置：<span><%<Hi:SiteUrl UrlName="home" runat="server">首页</Hi:SiteUrl>%></span>><span><%<Hi:SiteUrl UrlName="user_UserDefault" runat="server">会员中心</Hi:SiteUrl>%></span>><span><a
            href="#">订单管理</a></span></div>
    <div class="hyzxconter">
        <div class="hyzxconterl">
            <%<Hi:Common_User_Menu runat="server" />%>
            <div class="hyzxconterl1">
            </div>
        </div>
        <div class="hyzxconterr">
            <div class="dingdanxx">
                <%<Hi:SmallStatusMessage id="Status" runat="server" Width="200" Visible="False" />%>
                <div class="dingdan_box1">
                    订单管理</div>
                <div class="tuikuan_con">
                    <span>订单编号：
                        <%<asp:TextBox ID="txtOrderId" runat="server" CssClass="input-text2" />%>
                    </span><span>商品名称：
                        <%<asp:TextBox ID="txtProductName" runat="server" CssClass="input-text2" />%>
                    </span><span>物流单号：
                        <%<asp:TextBox ID="txtShipId" runat="server" CssClass="input-text2" />%>
                    </span><span>收货人：
                        <%<asp:TextBox ID="txtShipTo" runat="server" CssClass="input_huohao" />%>
                    </span><span>状态：
                        <%<%<Hi:OrderStautsDropDownList ID="dropOrderStatus" CssClass="select1_text" runat="server" />%>
                    </span><span>下单时间：
                        <%<UI:WebCalendar CalendarType="StartDate" runat="server" ID="calendarStartDate" CssClass="input_huohao" />%>
                        --至--
                        <%<UI:WebCalendar CalendarType="EndDate" runat="server" ID="calendarEndDate" CssClass="input_huohao" />%>
                    </span><span>
                        <%<asp:ImageButton  ImageUrl="/images/users/d_btn1.jpg" ID="imgbtnSearch" runat="server" /> %>
                    </span>
                    <%<asp:Literal runat="server" ID="litOrderTotal" />%>
                    <%<asp:Literal ID="litOrderStatus" runat="server"></asp:Literal>%>
                </div>
                <div class="shouhuoxx1_con">
                    <%<Hi:Common_OrderManage_OrderList SkinName="" runat="server" />%>
                </div>
                <div class="page">
                    <%<UI:Pager runat="server" ShowTotalPages="true" ID="pager" CssClass="feiye" />%>
                </div>
                <div class="shouhuoxx1_con">
                    <div id="pay_div" style="display: none">
                        <div class="frame-content" style="width: 300px; overflow: hidden;">
                            <p>
                                1.再次确认您选择的支付方式，您也可以重新选择。</p>
                            <p style="color: #cc0000">
                                <span class="frame-span frame-input130"><em>*</em>&nbsp;确认支付方式：</span> <span>
                                    <abbr class="formselect">
                                        <%<asp:DropDownList id="dropPayType" runat="server"/>%></abbr></span>
                            </p>
                        </div>
                    </div>
                    <div id="refund_div" style="display: none">
                        <div class="frame-content" style="width: 300px; overflow: hidden;">
                            <p>
                                1.您需要选择我们如何将退款返回给您，如果选择预存款，金额将退到预存款，如果选择银行转账，请填写银行账号的相关信息。</p>
                            <p style="color: #cc0000">
                                <span class="frame-span frame-input130"><em>*</em>&nbsp;选择退款途径：</span> <span>
                                    <abbr class="formselect">
                                        <%<asp:DropDownList id="dropRefundType" runat="server">
      <asp:ListItem Value="1">退到预存款</asp:ListItem>
      <asp:ListItem Value="2">银行转帐</asp:ListItem>
      </asp:DropDownList>%></abbr></span>
                            </p>
                            <p style="color: #cc0000">
                                申请原因以及退款帐号：（银行转账，请填写您的银行账号相关信息）</span>
                            </P>
                            <p><span>
                                        <%<asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" 
      CssClass="forminput" Width="300px" Height="70px" runat="server"></asp:TextBox>%></span>
                            </p>
                        </div>
                    </div>
                    <div id="return_div" style="display: none">
                        <div class="frame-content" style="width: 300px; overflow: hidden;">
                            <p>
                                1.请在退货前与客服确认退货，才将商品寄出。务必把物流单号和物流公司填写于备注里面。<br />
                                2、您需要选择我们如何将退款返回给您，如果选择预存款，金额将退到预存款，如果选择银行转账，请填写银行账号的相关信息</p>
                            <p style="color: #cc0000">
                                <span class="frame-span frame-input130"><em>*</em>&nbsp;选择退款途径：</span> <span>
                                    <abbr class="formselect">
                                        <%<asp:DropDownList id="dropReturnRefundType" runat="server">
      <asp:ListItem Value="1">退到预存款</asp:ListItem>
      <asp:ListItem Value="2">银行转帐</asp:ListItem>
      </asp:DropDownList>%></abbr></span>
                            </p>
                            <p style="color: #cc0000">
                                申请原因，物流公司，物流单号，退款账号等：（银行转账，请填写您的银行账号相关信息）
                                </P>
                                <p>
                                        <%<asp:TextBox ID="txtReturnRemark" runat="server" TextMode="MultiLine" 
      CssClass="forminput" Width="300px" Height="70px" runat="server"></asp:TextBox>%>
                            </p>
                        </div>
                    </div>
                    <div id="replace_div" style="display: none">
                        <div class="frame-content" style="width: 300px; overflow: hidden;">
                            <p>
                                1.请在换货前仔细阅读换货说明并与客服确认换货，才将商品寄出。务必把物流单号和物流公司填写于备注里面</p>
                            <p style="color: #cc0000">换货备注：</p>
                            <p style="color: #cc0000">
                                <span>
                                    <%<asp:TextBox ID="txtReplaceRemark" runat="server" TextMode="MultiLine" 
      CssClass="forminput" Width="300px" Height="70px" runat="server"></asp:TextBox>%></span>
                            </p>
                        </div>
                    </div>
                    <div style="display: none">
                        <%<asp:Button ID="btnReturn" runat="server" Text="确 定"  CssClass="submit_DAqueding" />%>
                        <%<asp:Button ID="btnReplace" runat="server" Text="确 定"  CssClass="submit_DAqueding" />%>
                        <%<asp:Button ID="btnOk" runat="server" Text="确 定"  CssClass="submit_DAqueding" />%>
                        <%<asp:Button ID="btnPay" OnClientClick="this.form.target='_blank'" runat="server" Text="确 定"  CssClass="submit_DAqueding" />%>
                    </div>
                    <script type="text/javascript">
                        var type = "";
                        function validatorForm() {
                            if (type == "refund") {
                                if ($("#UserOrders_txtRemark").val().replace(/\s/g, "") == "") {
                                    alert("请输入申请原因以及退款帐号");
                                    return false;
                                }
                            }
                            else if (type == "return") {
                                if ($("#UserOrders_txtReturnRemark").val().replace(/\s/g, "") == "") {
                                    alert("请输入申请原因，物流公司，物流单号，退款账号等");
                                    return false;
                                }
                            }
                            else if (type == "replace") {
                                if ($("#UserOrders_txtReplaceRemark").val().replace(/\s/g, "") == "") {
                                    alert("请输入换货备注");
                                    return false;
                                }
                            }
                            else if (type == "pay") {
                                if ($("#UserOrders_dropPayType").val() == "") {
                                    alert("请选择支付方式");
                                    return false;
                                }
                            }
                            return true;
                        }
                        function paySelect(obj) {
                            type = "pay";
                            setArryText('UserOrders_hdorderId', $(obj).attr("oId"));
                            $("#UserOrders_dropPayType").val($(obj).attr("pId"));
                            setArryText('UserOrders_dropPayType', $(obj).attr("pId"));
                            DialogShow("确认支付方式", "payselect", "pay_div", "UserOrders_btnPay");
                            return false;
                        }
                        function ApplyForRefund(orderId) {
                            type = "refund";
                            setArryText('UserOrders_hdorderId', orderId);
                            setArryText('UserOrders_txtRemark', '');
                            setArryText('UserOrders_dropRefundType', '');
                            DialogShow("申请退款", "applyforrefund", "refund_div", "UserOrders_btnOk");
                            return false;
                        }
                        function ApplyForReturn(orderId) {
                            type = "return";
                            setArryText('UserOrders_hdorderId', orderId);
                            setArryText('UserOrders_txtReturnRemark', '');
                            setArryText('UserOrders_dropReturnRefundType', '');
                            DialogShow("申请退货", "applyforreturn", "return_div", "UserOrders_btnReturn");
                            return false;
                        }
                        function ApplyForReplace(orderId) {
                            type = "replace";
                            setArryText('UserOrders_hdorderId', orderId);
                            setArryText('UserOrders_txtReplaceRemark', '');
                            DialogShow("申请换货", "applyforreplace", "replace_div", "UserOrders_btnReplace");
                            return false;
                        }
                    </script>
                    <!-- InstanceEndEditable -->
                </div>
            </div>
        </div>
    </div>
</div>
</form>
<%<Hi:Common_Footer runat="server" SkinName="/ascx/tags/Common_UserCenter/Skin-Common_User_Footer.ascx" />%>