<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OFReShipManage.aspx.cs"
    Inherits="DreamerShop.Admin.OFReShipManage" %>

<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>
        <%=myLanguagesDeal.GetMyString("TextReShip")%>
        -
        <%=mConfigInf.strWebTitle%>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    <meta content="<%=mConfigInf.strDescription%>" name="description">
    <meta content="<%=mConfigInf.strKeywords%>" name="keywords">
    <link href="../StyleSheet1.css" rel="stylesheet">
    <link href="../StyleSheet2.css" rel="stylesheet">
    <script language="javascript" id="clientEventHandlersJS">
		<!--


        function imgHelp_onclick() {
            popUpWin("DSHelp/OrderFormManage.htm", "Help", 100, 100, 800, 600);
        }

        function popUpWin(URLStr, WinName, left, top, width, height) {
            var popUpWin = 0;
            if (popUpWin) {

                if (!popUpWin.closed) popUpWin.close();

            }

            popUpWin = open(URLStr, WinName, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=' + width + ',height=' + height + ',left=' + left + ', top=' + top + ',screenX=' + left + ',screenY=' + top + '');
        }
		//-->
    </script>
</head>
<body ms_positioning="GridLayout">
    <asp:Label ID="lbEditID" runat="server" Visible="False"></asp:Label>
    <asp:Label ID="lbOFID" runat="server" Visible="False"></asp:Label>
    <form id="Form1" method="post" runat="server">
    <uc1:LanguagesDeal ID="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
    <asp:Panel ID="Pan1" runat="server">
        <table cellspacing="0" cellpadding="0" width="97%" align="center" border="0">
            <tr>
                <td valign="top">
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tr>
                            <td valign="top" bgcolor="#ffffff">
                                <table class="p9black" cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td>
                                            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                                <tr>
                                                    <td class="p12black">
                                                        <span class="p9orange">
                                                            <img height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextBillManage")%>--&gt;<%=myLanguagesDeal.GetMyString("TextOFReShip")%></span>
                                                    </td>
                                                    <td align="right">
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                                <hr noshade size="1">
                                <table class="p9black" cellspacing="0" cellpadding="0" border="0">
                                    <tr>
                                        <td>
                                            <asp:DropDownList ID="drlFindKeyType" runat="server">
                                                <asp:ListItem Value="0">退货单号</asp:ListItem>
                                                <asp:ListItem Value="1">订单号</asp:ListItem>
                                                <asp:ListItem Value="2">物流单号</asp:ListItem>
                                                <asp:ListItem Value="3">收货人</asp:ListItem>
                                                <asp:ListItem Value="4">收货人电话</asp:ListItem>
                                                <asp:ListItem Value="5">收货地址</asp:ListItem>
                                                <asp:ListItem Value="6">订单金额></asp:ListItem>
                                                <asp:ListItem Value="7">订单金额&lt;</asp:ListItem>
                                                <asp:ListItem Value="8">订单金额=</asp:ListItem>
                                                <asp:ListItem Value="9">备注</asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:TextBox ID="txtFindKey" runat="server" CssClass="wenbenkuang" Width="80px"></asp:TextBox>
                                        </td>
                                        <td>
                                            &nbsp;<%=myLanguagesDeal.GetMyString("TextStart")%><asp:TextBox ID="txtStartDate"
                                                onclick="WdatePicker()" runat="server" Width="65px" CssClass="wenbenkuang"></asp:TextBox>
                                        </td>
                                        <td>
                                            &nbsp;<%=myLanguagesDeal.GetMyString("TextEnd")%><asp:TextBox ID="txtEndDate" onclick="WdatePicker()"
                                                runat="server" Width="65px" CssClass="wenbenkuang"></asp:TextBox>
                                        </td>
                                        <td>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="drlFindOrder" runat="server">
                                                <asp:ListItem Value="0">退货时间</asp:ListItem>
                                                <asp:ListItem Value="1">退款金额</asp:ListItem>
                                                <asp:ListItem Value="2">退货单号</asp:ListItem>
                                                <asp:ListItem Value="3">用户名</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="drlSelState" runat="server">
                                                <asp:ListItem Value="-1" Selected="True">全部退货单</asp:ListItem>
                                                <asp:ListItem Value="0">退货已经完成</asp:ListItem>
                                                <asp:ListItem Value="1">商家收到商品</asp:ListItem>
                                                <asp:ListItem Value="2">用户回寄商品</asp:ListItem>
                                                <asp:ListItem Value="3">商家同意退货</asp:ListItem>
                                                <asp:ListItem Value="4">商家不同意退</asp:ListItem>
                                                <asp:ListItem Value="5">用户申请退货</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblFindOrderMode" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Selected="True">降序</asp:ListItem>
                                                <asp:ListItem Value="1">升序</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                        <td>
                                            <asp:Button ID="btSure" runat="server" CssClass="go-wenbenkuang" Text="查询" OnClick="btSure_Click">
                                            </asp:Button>
                                        </td>
                                    </tr>
                                </table>
                                <table class="p9black" cellspacing="0" cellpadding="0" border="0">
                                    <tr>
                                        <td>
                                            <%=myLanguagesDeal.GetMyString("OFReshipTextTimeLimit")%>&nbsp;<asp:TextBox ID="txtTimeLimit"
                                                runat="server" Width="40px" CssClass="wenbenkuang"></asp:TextBox>&nbsp;<%=myLanguagesDeal.GetMyString("TextDayStr")%></td>
												<td>
                                            <%=myLanguagesDeal.GetMyString("OFReshipTextExpressDaysLimit")%>&nbsp;<asp:TextBox ID="txtReShipExpressDays"
	                                            runat="server" Width="40px" CssClass="wenbenkuang"></asp:TextBox>&nbsp;<%=myLanguagesDeal.GetMyString("TextDayStr")%></td>
                                        <td>
                                            &nbsp;<asp:Button ID="btTimeLimit" runat="server" CssClass="go-wenbenkuang" Text="保存" 
                                                ValidationGroup="TimeLimit" onclick="btTimeLimit_Click">
                                            </asp:Button>
                                        </td>
                                        <td>
                                            <asp:RequiredFieldValidator ID="rfvTimeLimit" runat="server" ErrorMessage="请输入排序号"
                                                Display="Dynamic" ControlToValidate="txtTimeLimit" ForeColor="#FF0000" ValidationGroup="TimeLimit"></asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="cpvTimeLimit" runat="server" ErrorMessage="请输入整数" Display="Dynamic"
                                                ControlToValidate="txtTimeLimit" Type="Integer" Operator="DataTypeCheck" ForeColor="#FF0000"
                                                ValidationGroup="TimeLimit"></asp:CompareValidator>
                                        </td>
                                    </tr>
                                </table>
                                <asp:DataGrid ID="dgList" runat="server" CssClass="table-shangxia" Width="100%" DataKeyField="ReShipNumKey"
                                    AutoGenerateColumns="False" AllowPaging="True" OnDeleteCommand="dgList_DeleteCommand"
                                    OnEditCommand="dgList_EditCommand" OnItemDataBound="dgList_ItemDataBound" OnItemCommand="dgList_ItemCommand">
                                    <HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
                                    <Columns>
                                        <asp:BoundColumn DataField="ReShipNum" HeaderText="OFReshipTextNum">
                                            <HeaderStyle></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="OFID" HeaderText="TextOFNumber">
                                            <HeaderStyle></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="InUserName" HeaderText="OFReshipInMan">
                                            <HeaderStyle></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="Operator" HeaderText="TextOperator">
                                            <HeaderStyle></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="Money" HeaderText="OFReshipTextMoney">
                                            <HeaderStyle></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="Remark" HeaderText="TextRemark">
                                            <HeaderStyle></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="ReShipState" HeaderText="OFReshipTextState">
                                            <HeaderStyle></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                        </asp:BoundColumn>
                                        <asp:TemplateColumn HeaderText="TextOperation">
                                            <HeaderStyle></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                            <ItemTemplate>
                                                <asp:Button ID="btViewInf" Text="查看" CssClass="go-wenbenkuang" CommandName="GetDetails"
                                                    runat="server"></asp:Button>
                                                <asp:Button ID="btDelete" Text="删除" CssClass="go-wenbenkuang" CommandName="Delete"
                                                    runat="server"></asp:Button>
                                            </ItemTemplate>
                                        </asp:TemplateColumn>
                                    </Columns>
                                    <PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right" Visible="False">
                                    </PagerStyle>
                                </asp:DataGrid>
                                <table class="table-notop" width="100%" align="center" border="0">
                                    <tr align="center" bgcolor="#f1f1f1">
                                        <td>
                                            <asp:Button ID="btFirst" runat="server" CssClass="go-wenbenkuang" Text=" 首 页" BorderStyle="Groove"
                                                OnClick="btFirst_Click"></asp:Button>&nbsp;
                                            <asp:Button ID="btPre" runat="server" CssClass="go-wenbenkuang" Text="上一页" BorderStyle="Groove"
                                                OnClick="btPre_Click"></asp:Button>&nbsp;
                                            <asp:Button ID="btNext" runat="server" CssClass="go-wenbenkuang" Text="下一页" BorderStyle="Groove"
                                                OnClick="btNext_Click"></asp:Button>&nbsp;
                                            <asp:Button ID="btLast" runat="server" CssClass="go-wenbenkuang" Text=" 尾 页" BorderStyle="Groove"
                                                OnClick="btLast_Click"></asp:Button>&nbsp;
                                            <asp:Label ID="lbPage" runat="server"></asp:Label>&nbsp;
                                            <%=myLanguagesDeal.GetMyString("TextGotoPage")%>
                                            <asp:TextBox ID="txtPageNum" runat="server" CssClass="wenbenkuang" Width="30px" MaxLength="3"></asp:TextBox>
                                            <asp:CompareValidator ID="cpvPageNum" runat="server" Display="Dynamic" Type="Integer"
                                                Operator="DataTypeCheck" ControlToValidate="txtPageNum" ErrorMessage="输入数字" ForeColor="#FF0000"></asp:CompareValidator><%=myLanguagesDeal.GetMyString("TextPages")%>
                                            <asp:Button ID="btGo" runat="server" CssClass="go-wenbenkuang" Text="Go" OnClick="btGo_Click">
                                            </asp:Button>
                                        </td>
                                    </tr>
                                </table>
                                <table align="center" border="0">
                                    <tr align="center">
                                        <td>
                                            <asp:LinkButton ID="lkbDataToExcel" runat="server" ForeColor="Red" Text="导出到Excel"
                                                OnClick="lkbDataToExcel_Click"></asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:LinkButton ID="lkbDataToExcel2" runat="server" ForeColor="Red" Text="详细导出到Excel"
                                                OnClick="lkbDataToExcel2_Click"></asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="Pan2" runat="server" Visible="False">
        <table class="p9black" cellspacing="0" cellpadding="0" width="100%" border="0">
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tr>
                            <td class="p12black" align="left">
                                <span class="p9orange">
                                    <img height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextBillManage")%>--&gt;
                                    <asp:Label ID="lbMessage" runat="server"></asp:Label></span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td align="right" width="50">
                                <!--BUTTON_BEGIN-->
                                <table>
                                    <tr>
                                        <td valign="bottom" nowrap>
                                            <asp:ImageButton ID="ibtReturn" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif"
                                                CausesValidation="False" OnClick="ibtReturn_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%>
                                        </td>
                                    </tr>
                                </table>
                                <!--BUTTON_END-->
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <hr noshade size="1">
        <asp:DataGrid ID="dgShopping" runat="server" AllowPaging="false" DataKeyField="ItemID"
            AutoGenerateColumns="False" Width="100%" CssClass="table-shangxia" OnItemDataBound="dgShopping_ItemDataBound">
            <HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
            <Columns>
                <asp:BoundColumn DataField="ProductNumber" HeaderText="TextProductNumber">
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundColumn>
                <asp:BoundColumn DataField="ProductName" HeaderText="TextProductName">
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundColumn>
                <asp:TemplateColumn HeaderText="TextRemark">
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    <ItemTemplate>
                        <asp:TextBox ID="txtItemSpeciality" CssClass="wenbenkuang" Width="100" MaxLength="400"
                            EnableViewState="True" Text='<%# DataBinder.Eval(Container.DataItem, "Speciality")%>'
                            AutoPostBack="False" runat="server">
                        </asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="TextUnitPrice">
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    <ItemTemplate>
                        <asp:TextBox ID="txtItemPrice" CssClass="wenbenkuang" Width="40" MaxLength="6" EnableViewState="True"
                            Text='<%# DataBinder.Eval(Container.DataItem, "Price")%>' AutoPostBack="False"
                            runat="server">
                        </asp:TextBox>
                        <asp:CompareValidator ID="cpvItemPrice" runat="server" ErrorMessage="输入数字" ControlToValidate="txtItemPrice"
                            Operator="DataTypeCheck" Type="Double" Display="Dynamic" ForeColor="#FF0000"></asp:CompareValidator>
                    </ItemTemplate>
                </asp:TemplateColumn>
                <asp:BoundColumn DataField="Amount" HeaderText="TextAmount">
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundColumn>
                <asp:TemplateColumn HeaderText="OFReshipTextReShipAmount">
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    <ItemTemplate>
                        <asp:TextBox ID="txtItemAmount" CssClass="wenbenkuang" Width="40" MaxLength="6" EnableViewState="True"
                            Text='<%# DataBinder.Eval(Container.DataItem, "ReShipAmount")%>' AutoPostBack="False"
                            runat="server">
                        </asp:TextBox>
                        <asp:CompareValidator ID="cpvItemAmout" runat="server" ErrorMessage="输入数字" ControlToValidate="txtItemAmount"
                            Operator="DataTypeCheck" Type="Integer" Display="Dynamic" ForeColor="#FF0000"></asp:CompareValidator>
                    </ItemTemplate>
                </asp:TemplateColumn>
            </Columns>
        </asp:DataGrid>
        <table cellspacing="0" cellpadding="2" width="100%" border="0">
            <tr>
                <td>
                    <hr noshade size="1">
                </td>
            </tr>
            <tr>
                <td class="p12black" bgcolor="#ffffff">
                    <span class="p9orange">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextInfo")%><!--订单信息--></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <table class="allborder" cellspacing="0" cellpadding="4" width="100%" bgcolor="#f7f7f7"
                        border="0">
                        <tr>
                            <td nowrap align="right" width="18%">
                                <%=myLanguagesDeal.GetMyString("OFReshipTextNum")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--发货单号：-->
                            </td>
                            <td nowrap width="27%">
                                <div align="left">
                                    <asp:TextBox ID="txtReShipNum" runat="server" Width="120px" CssClass=" wenbenkuang"
                                        ReadOnly="True"></asp:TextBox></div>
                            </td>
                            <td nowrap align="right" width="16%">
                                <%=myLanguagesDeal.GetMyString("TextOperator")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--操作员：-->
                            </td>
                            <td nowrap width="39%">
                                <div align="left">
                                    <asp:TextBox ID="txtReShipOperator" runat="server" Width="120px" CssClass=" wenbenkuang"
                                        MaxLength="25" ReadOnly="True"></asp:TextBox></div>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap align="right" width="18%">
                                <%=myLanguagesDeal.GetMyString("OFReshipInMan")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人：-->
                            </td>
                            <td nowrap width="27%">
                                <asp:TextBox ID="txtReShipInUserName" runat="server" Width="120px" CssClass=" wenbenkuang"
                                    MaxLength="25"></asp:TextBox>
                            </td>
                            <td valign="top" nowrap align="right" width="16%">
                                <%=myLanguagesDeal.GetMyString("OFReshipInManTel")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人电话：-->
                            </td>
                            <td nowrap width="39%">
                                <asp:TextBox ID="txtReShipInTel" runat="server" Width="120px" CssClass=" wenbenkuang"
                                    MaxLength="25"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("OFReshipInAddress")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货地址：-->
                            </td>
                            <td>
                                <font>
                                    <asp:TextBox ID="txtReShipInAddress" runat="server" Width="450px" CssClass=" wenbenkuang"
                                        MaxLength="100"></asp:TextBox></font>
                            </td>
                            <td valign="top" nowrap align="right" width="16%">
                                <%=myLanguagesDeal.GetMyString("OFReshipInManHandset")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人电话：-->
                            </td>
                            <td nowrap width="39%">
                                <asp:TextBox ID="txtReShipInHandset" runat="server" Width="120px" CssClass=" wenbenkuang"
                                    MaxLength="25"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("OFReshipPostCode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--邮政编码：-->
                            </td>
                            <td nowrap>
                                <asp:TextBox ID="txtReShipInPostCode" runat="server" Width="120px" CssClass=" wenbenkuang"
                                    MaxLength="10"></asp:TextBox>
                            </td>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("OFReshipInEmail")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人Email：-->
                            </td>
                            <td nowrap>
                                <font>
                                    <asp:TextBox ID="txtReShipInEmail" runat="server" Width="120px" CssClass=" wenbenkuang"
                                        MaxLength="30"></asp:TextBox>
                                    <asp:RegularExpressionValidator ID="revReShipInEmail" runat="server" Display="Dynamic"
                                        ControlToValidate="txtReShipInEmail" ErrorMessage="请输入Email" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                        ForeColor="#FF0000"></asp:RegularExpressionValidator></font>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("TextExpressCorp")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--物流公司：-->
                            </td>
                            <td nowrap>
                                <asp:DropDownList ID="drlReShipExpressCorp" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("OFReshipExpressNum")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--物流单号：-->
                            </td>
                            <td nowrap>
                                <font>
                                    <asp:TextBox ID="txtReShipExpressNum" runat="server" Width="120px" CssClass=" wenbenkuang"
                                        MaxLength="25"></asp:TextBox></font>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("OFReshipTextTime")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--发货时间：-->
                            </td>
                            <td nowrap>
                                <asp:TextBox ID="txtReShipTime" runat="server" Width="120px" CssClass="wenbenkuang"></asp:TextBox>
                                <asp:RegularExpressionValidator ID="Regularexpressionvalidator2" runat="server" Display="Dynamic"
                                    ControlToValidate="txtReShipTime" ErrorMessage="请输入指定格式时间" ValidationExpression="[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}"
                                    ForeColor="#FF0000"></asp:RegularExpressionValidator>
                                <asp:RequiredFieldValidator ID="Requiredfieldvalidator2" runat="server" Display="Dynamic"
                                    ControlToValidate="txtReShipTime" ErrorMessage="请输入时间" ForeColor="#FF0000"></asp:RequiredFieldValidator>
                            </td>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("OFReshipExpressMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--物流金额：-->
                            </td>
                            <td nowrap>
                                <font>
                                    <asp:TextBox ID="txtReShipExpressMoney" runat="server" Width="120px" CssClass=" wenbenkuang"
                                        Text="0"></asp:TextBox>
                                    <asp:CompareValidator ID="cpvReShipExpressMoney" runat="server" Display="Dynamic"
                                        Type="Double" Operator="DataTypeCheck" ControlToValidate="txtReShipExpressMoney"
                                        ErrorMessage="请输入物流金额" ForeColor="#FF0000"></asp:CompareValidator></font>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("OFReshipTextApplyType")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                            </td>
                            <td colspan="4">
                                <asp:RadioButtonList ID="rblApplyType" runat="server" RepeatDirection="Vertical">
                                    <asp:ListItem Value="0" Selected="True">没有收到货全额退款</asp:ListItem>
                                    <asp:ListItem Value="1">收到货部分退款</asp:ListItem>
                                    <asp:ListItem Value="2">收到货要退货</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("TextRemark")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                            </td>
                            <td colspan="4">
                                <font>
                                    <asp:TextBox ID="txtReShipRemark" runat="server" Width="450px" CssClass=" wenbenkuang"
                                        MaxLength="120"></asp:TextBox></font>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap align="right">
                                <%=myLanguagesDeal.GetMyString("OFReshipTextMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                            </td>
                            <td colspan="4">
                                <font>
                                    <asp:TextBox ID="txtReShipMoney" runat="server" Width="80px" CssClass=" wenbenkuang"></asp:TextBox>
                                    <asp:CompareValidator ID="cpvReShipMoney" runat="server" Display="Dynamic" Type="Double"
                                        Operator="DataTypeCheck" ControlToValidate="txtReShipMoney" ErrorMessage="请输入退款金额"
                                        ForeColor="#FF0000"></asp:CompareValidator><asp:CheckBox ID="ckIsToImprest" runat="server"
                                            Checked="true" Text="退款转入存款中" ForeColor="#FF0000" Font-Bold="true"></asp:CheckBox>&nbsp;<asp:Button
                                                ID="btResetTotal" runat="server" CssClass="go-wenbenkuang" Text="计算退款金额" CausesValidation="false"
                                                OnClick="btResetTotal_Click"></asp:Button></font>
                            </td>
                        </tr>
                        <tr bgcolor="#ffffff">
                            <td align="right" width="20%">
                            </td>
                            <td class="pad" colspan="3">
                                &nbsp;
                                <asp:Button ID="btSubmit" runat="server" CssClass="go-wenbenkuang" Text="提交信息" OnClick="btSubmit_Click">
                                </asp:Button>
                                <asp:Button ID="btSave" runat="server" CssClass="go-wenbenkuang" Text="更新信息" OnClick="btSave_Click">
                                </asp:Button>&nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <p align="center">
            <asp:Label ID="lbInfo" runat="server" ForeColor="Red"></asp:Label></p>
    </asp:Panel>
    <asp:Panel ID="Pan3" runat="server" Visible="false">
        <asp:Panel ID="PanInfo" runat="server" Visible="false">
            <table class="p9black" cellspacing="0" cellpadding="0" width="100%" border="0">
                <tr>
                    <td>
                        <table cellspacing="0" cellpadding="0" width="100%" border="0">
                            <tr>
                                <td class="p12black" align="left">
                                    <span class="p9orange">
                                        <img height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextBillManage")%>--&gt;
                                        <asp:Label ID="lbMessageInfo" runat="server"></asp:Label></span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                                <td align="right" width="50">
                                    <!--BUTTON_BEGIN-->
                                    <table>
                                        <tr>
                                            <td valign="bottom" nowrap>
                                                <asp:ImageButton ID="ibtReturnInfo" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif"
                                                    CausesValidation="False" onclick="ibtReturnInfo_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%>
                                            </td>
                                        </tr>
                                    </table>
                                    <!--BUTTON_END-->
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <hr noshade size="1">
            <table cellspacing="1" cellpadding="2" width="700" border="0" align="center">
                <tr>
                    <td style="border-right-width: 0px; border-right-style: dashed; border-right-color: #D1D1D1;
                        border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: #D1D1D1;
                        border-top-width: 1px; border-top-style: dashed; border-top-color: #D1D1D1;">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextSelState")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label
                            ID="lbStateInfo" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:DataGrid ID="dgShoppingInfo" runat="server" AllowPaging="false" DataKeyField="ItemID"
                            AutoGenerateColumns="False" Width="100%" CssClass="table-shangxia" 
                            onitemdatabound="dgShoppingInfo_ItemDataBound">
                            <HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
                            <Columns>
                                <asp:BoundColumn DataField="ProductNumber" HeaderText="TextProductNumber">
                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="ProductName" HeaderText="TextProductName">
                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Price" HeaderText="TextUnitPrice">
                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundColumn>
								 <asp:BoundColumn DataField="OFAmount" HeaderText="TextAmount">
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
								</asp:BoundColumn>
 								<asp:TemplateColumn HeaderText="OFReshipTextReShipAmount">
								<ItemStyle HorizontalAlign="Center"></ItemStyle>
								<ItemTemplate>
									<asp:TextBox ID="txtItemAmountInfo" CssClass="wenbenkuang" Width="40" MaxLength="6" EnableViewState="True"
										Text='<%# DataBinder.Eval(Container.DataItem, "ReShipAmount")%>' AutoPostBack="False" Visible="false"
										runat="server">
									</asp:TextBox><asp:TextBox ID="txtItemPriceInfo" CssClass="wenbenkuang" Width="40" MaxLength="6" EnableViewState="True"
                            Text='<%# DataBinder.Eval(Container.DataItem, "Price")%>' AutoPostBack="False" Visible="false"
                            runat="server">
                        </asp:TextBox>
									<%# DataBinder.Eval(Container.DataItem, "ReShipAmount")%>
								</ItemTemplate>
							</asp:TemplateColumn>
                            </Columns>
                        </asp:DataGrid>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" height="10">
                    </td>
                </tr>
            </table>
            <table class="allborder" cellspacing="0" cellpadding="4" width="700" bgcolor="#f7f7f7"
                align="center" border="0">
                <tr>
                    <td nowrap align="right" width="18%">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextNum")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--发货单号：-->
                    </td>
                    <td nowrap width="27%">
                        <div align="left">
                            <asp:Label ID="lbInfoReShipNum" runat="server"></asp:Label></div>
                    </td>
                    <td nowrap align="right" width="16%">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextTime")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--操作员：-->
                    </td>
                    <td nowrap width="39%">
                        <div align="left">
                            <asp:Label ID="lbInfoReShipTime" runat="server"></asp:Label></div>
                    </td>
                </tr>
                <tr>
                    <td valign="top" nowrap align="right" width="18%">
                        <%=myLanguagesDeal.GetMyString("OFReshipInMan")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人：-->
                    </td>
                    <td nowrap width="27%">
                        <asp:Label ID="lbInfoReShipInUserName" runat="server"></asp:Label>
                    </td>
                    <td valign="top" nowrap align="right" width="16%">
                        <%=myLanguagesDeal.GetMyString("OFReshipInManTel")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人电话：-->
                    </td>
                    <td nowrap width="39%">
                        <asp:Label ID="lbInfoReShipInTel" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货地址：-->
                    </td>
                    <td>
                        <asp:Label ID="lbInfoReShipMoney" runat="server"></asp:Label>
                    </td>
                    <td valign="top" nowrap align="right" width="16%">
                        <%=myLanguagesDeal.GetMyString("OFReshipInManHandset")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人电话：-->
                    </td>
                    <td nowrap width="39%">
                        <asp:Label ID="lbInfoReShipInHandset" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipPostCode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--邮政编码：-->
                    </td>
                    <td nowrap>
                        <asp:Label ID="lbInfoReShipInPostCode" runat="server"></asp:Label>
                    </td>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipInEmail")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人Email：-->
                    </td>
                    <td nowrap>
                        <asp:Label ID="lbInfoReShipInEmail" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("TextExpressCorp")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--物流公司：-->
                    </td>
                    <td nowrap>
                        <asp:Label ID="lbInfoReShipExpressCorp" runat="server"></asp:Label>
                    </td>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipExpressNum")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--物流单号：-->
                    </td>
                    <td nowrap>
                        <asp:Label ID="lbInfoReShipExpressNum" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextApplyPicture")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%>
                    </td>
                    <td nowrap>
                       <asp:Label ID="lbInfoApplyImage" runat="server"></asp:Label> 
                    </td>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("TextOFNumber")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--物流单号：-->
                    </td>
                    <td nowrap>
                        <asp:Label ID="lbInfoOFID" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextApplyType")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%> 
                    </td>
                    <td colspan="3">
                        <asp:Label ID="lbInfoOFReshipTextApplyType" runat="server"></asp:Label>
                    </td>
				</tr>
                <tr>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipInAddress")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                    </td>
                    <td colspan="3">
                        <asp:Label ID="lbInfoReShipInAddress" runat="server"></asp:Label>
                    </td>
				</tr>
				
                <tr>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextApplyRemark")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                    </td>
                    <td colspan="3">
                        <asp:Label ID="lbInfoApplyRemark" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("TextRemark")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                    </td>
                    <td colspan="3">
                        <asp:Label ID="lbInfoReShipRemark" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="PanCheck" runat="server" Visible="false">
            <table cellspacing="1" cellpadding="5" width="700" align="center" bgcolor="#cccccc"
                border="0">
                <tr bgcolor="#ffffff">
                    <td align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextCheckExplain")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--名称：-->
                    </td>
                    <td class="pad" width="70%" align="left">
                        <asp:RadioButtonList ID="rblCheck" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" Selected="true">同意</asp:ListItem>
                            <asp:ListItem Value="2">不同意</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipShopAddress")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--名称：-->
                    </td>
                    <td class="pad" width="70%" align="left">
                        <asp:RadioButtonList ID="rblShopAddress" runat="server" RepeatDirection="Vertical">
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextCheckExplain")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                    </td>
                    <td colspan="4">
                        <font>
                            <asp:TextBox ID="txtCheckExplain" runat="server" Width="450px" CssClass=" wenbenkuang"
                                MaxLength="120"></asp:TextBox></font>
                    </td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td align="right" width="20%">
                    </td>
                    <td class="pad">
                        &nbsp;
                        <asp:Button ID="btSubmitCheck" runat="server" CssClass="go-wenbenkuang" 
                            Text="提交信息" onclick="btSubmitCheck_Click">
                        </asp:Button>
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="PanReceipt" runat="server" Visible="false">
            <table cellspacing="1" cellpadding="5" width="700" align="center" bgcolor="#cccccc"
                border="0">
                <tr bgcolor="#ffffff">
                    <td align="right" width="20%">
                    </td>
                    <td class="pad">
                        &nbsp;
                        <asp:Button ID="btSubmitReceipt" runat="server" CssClass="go-wenbenkuang" 
                            Text="收到退货商品" onclick="btSubmitReceipt_Click">
                        </asp:Button>
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="PanEnd" runat="server" Visible="false">
            <table cellspacing="1" cellpadding="5" width="700" align="center" bgcolor="#cccccc"
                border="0">
                <tr bgcolor="#ffffff">
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipExpressMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                    </td>
                    <td>
                        <asp:TextBox ID="txtReShipExpressMoneyEnd" runat="server" Width="120px" CssClass=" wenbenkuang"
                            Text="0"></asp:TextBox>
                        <asp:CompareValidator ID="cpvReShipExpressMoneyEnd" runat="server" Display="Dynamic"
                            Type="Double" Operator="DataTypeCheck" ControlToValidate="txtReShipExpressMoneyEnd"
                            ErrorMessage="请输入物流金额" ForeColor="#FF0000"></asp:CompareValidator>
                    </td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td align="right">
                        <%=myLanguagesDeal.GetMyString("OFReshipTextMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--名称：-->
                    </td>
                    <td class="pad" width="70%">
                        <asp:TextBox ID="txtReShipMoneyEnd" runat="server" Width="80px" CssClass=" wenbenkuang"></asp:TextBox>
                        <asp:CompareValidator ID="cpvReShipMoneyEnd" runat="server" Display="Dynamic" Type="Double"
                            Operator="DataTypeCheck" ControlToValidate="txtReShipMoneyEnd" ErrorMessage="请输入退款金额"
                            ForeColor="#FF0000"></asp:CompareValidator><asp:CheckBox ID="ckIsToImprestEnd" runat="server"
                                Checked="true" Text="退款转入存款中" ForeColor="#FF0000" Font-Bold="true"></asp:CheckBox>
                    </td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td valign="top" nowrap align="right">
                        <%=myLanguagesDeal.GetMyString("TextRemark")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--备注：-->
                    </td>
                    <td>
                        <font>
                            <asp:TextBox ID="txtReShipRemarkEnd" runat="server" Width="450px" CssClass=" wenbenkuang"
                                MaxLength="120"></asp:TextBox></font>
                    </td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td align="right" width="20%">
                    </td>
                    <td class="pad">
                        &nbsp;
                        <asp:Button ID="btSubmitEnd" runat="server" CssClass="go-wenbenkuang" 
                            Text="提交信息" onclick="btSubmitEnd_Click">
                        </asp:Button>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </asp:Panel>
    </form>
    <script language="javascript" type="text/javascript" src="UserControl/DatePicker/WdatePicker.js"></script>
</body>
</html>
