<%@ page language="C#" masterpagefile="../ShopMasterPage/MyShopMasterPage.master" autoeventwireup="true" enableeventvalidation="false" inherits="Shop_Member_Shop_AddInvoice, HoWaveVGO" title="添加发票" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="pageTitle">录 入 开 发 票 信 息</div>
   <table  class="ShopOrderStyle">   
        <tr>
            <td width="150px" class="OrderTitle">客户姓名：</td>
            <td>
                    <asp:Label ID="LabCusName" runat="server" /></td>
            </tr>
            <tr>
                <td class="OrderTitle">
                    订单编号：</td>
                <td><asp:Label ID="LabOrderNum" runat="server" /></td>
            </tr>
            <tr>
                <td class="OrderTitle">订单金额：</td>
                <td><asp:Label ID="LabMoney" runat="server" />元</td>
            </tr>
            <tr>
                <td class="OrderTitle">已 付 款：</td>
                <td><asp:Label ID="LabMoneyRecevice" runat="server" />元</td>
            </tr>
            <tr>
                <td class="OrderTitle">发票信息：</td>
                <td><asp:Label ID="LabInvoiceContent" runat="server" /></td>
            </tr>
            <tr>
                <td class="OrderTitle">开票日期：</td>
                <td><input id="InvoiceDate" runat="server" maxlength="30" name="InvoiceDate" size="15" /></td>
            </tr>
            <tr>
                <td class="OrderTitle">发票类型：</td>
                <td>
                    <select id="Select1" runat="server" name="InvoiceType">
                        <option selected="selected" value="0">地税普通发票</option>
                        <option value="1">国税普通发票</option>
                        <option value="2">增值税发票</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="OrderTitle">发票号码：</td>
                <td>
                    <input id="InvoiceNum" runat="server" maxlength="30" name="InvoiceNum" size="15"
                        value="" />
                    <asp:RequiredFieldValidator ID="Ref2" runat="server" ControlToValidate="InvoiceNum"
                        ErrorMessage="不允许空值"/></td>
            </tr>
            <tr>
                <td class="OrderTitle">发票抬头：</td>
                <td>
                    <input id="InvoiceTitle" runat="server" maxlength="50" name="InvoiceTitle" size="50"  />
                    <asp:RequiredFieldValidator ID="Ref1" runat="server" ControlToValidate="InvoiceTitle"
                        ErrorMessage="不允许空值"/></td>
            </tr>
            <tr>
                <td class="OrderTitle">发票内容：</td>
                <td><asp:TextBox ID="InvoiceContent" runat="server" Height="72px" TextMode="MultiLine"   Width="186px"/></td>
            </tr>
            <tr>
                <td class="OrderTitle">发票金额：</td>
                <td>
                    <input id="TotalMoney" runat="server" maxlength="15" name="TotalMoney" size="15"
                        value="0" />
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TotalMoney"
                        ErrorMessage="格式不对" MaximumValue="9999999999" MinimumValue="0.0001" Type="Double"/></td>
            </tr>
            <tr>
                <td class="OrderTitle">开 票 人：</td>
                <td>
                    <input id="Drawer" runat="server" maxlength="30" name="Drawer" size="15" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Drawer"
                        ErrorMessage="不允许空值"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="OrderTitle">通知会员：</td>
                <td>
                    <asp:CheckBox ID="CheckSendMobileMesToCus" runat="server" Text="同时发送手机短信通知会员已经开具发票" /><br />
                    <asp:CheckBox ID="CheckSendMobileMesToRe" runat="server" Text="同时发送手机短信通知收货人已经开发票" /> <br />
                    <asp:CheckBox ID="CheckSendMesMesToCus" runat="server" Checked="True" Text="同时使用站内短信通知会员已经开具发票" /><br />
                    <asp:CheckBox ID="CheckSendEmailMesToCus" runat="server" Text="同时使用Email通知会员已经开具发票" /><br />
                    <asp:CheckBox ID="CheckSendEmailMesToRe" runat="server" Text="同时使用Email通知收货人已经开具发票" />
                </td>
            </tr>           
            <tr>
                <td colspan="2" style="text-align:center">
                    <asp:Button ID="Button1" runat="server" Text="保存" OnClick="Button1_Click" />
                    <asp:Button ID="Button2" runat="server" Text="返回" OnClick="Button2_Click" CausesValidation="False" /></td>
            </tr>
        </table>
    
</asp:Content>

