<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrderForm_Add.aspx.cs"  Inherits="OrderForm_Add" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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 id="Head1" runat="server">
    <title>订单添加</title>
    <link rel="stylesheet" type="text/css" href="../css/list.css" />
    <link href="../style/style.css" rel="stylesheet" type="text/css" />
    <script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery-1.5.2.min.js" type="text/javascript"></script>
    <script src="../js/common.js" type="text/javascript"></script>
    <script type="text/javascript">
        function setinitvalue(obj) {
            if ($(obj).val() == "") { $(obj).val("1"); }
        }
        
        function check() {
            //            alert($("#rbtPic").Selected.ToString());
            if ($("#rbtLanguage").attr("checked")==!true) {
                document.getElementById("pic").style.display = "none";
            } 
        }
    </script>
    <style type="text/css">
         .hideclass 
         { 
         display:none; 
         } 
    </style>
    <script type="text/javascript" language="javascript">
        $(function () {
            $("#rbtPic").change(function () {
                $("#tr1").removeClass("hideclass");
                $("#tr2").addClass("hideclass");
            })
 
            $("#rbtLanguage").change(function () {
                $("#tr1").addClass("hideclass");
                $("#tr2").removeClass("hideclass");
            })
 
        });
     </script>
</head>
<body onload ="controlInputNumber();" class="_body" style="margin-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px">
    <form id="form1" runat="server">
        <div class="list1">
		<div class="list2">
			<span>订单添加</span>
		</div>
		<div style="border:1px solid #FFFFFF">
		<table class="list3" width="100%" height="100%" cellpadding="0" cellspacing="0">
			<tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">订单编号：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtOrderFormNo" runat="server" Text=""></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="txtOrderFormNo" ErrorMessage="请输入订单编号！" ToolTip="请输入订单编号！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                 </td>
            </tr>
			<tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">产品总金额：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtProductTotalPrice" runat="server" Text=""></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtProductTotalPrice" ErrorMessage="请填写产品总金额！" ToolTip="请填写产品总金额！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                 </td>
            </tr>
			<tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">购买人：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtPurchaser" runat="server" Text=""></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPurchaser" ErrorMessage="请填写购买人！" ToolTip="请填写购买人！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">收货人：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtConsignee" runat="server" Text=""></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtConsignee" ErrorMessage="请填写收货人！" ToolTip="请填写收货人！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">收货地址：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtLiveAddress" runat="server" Text=""></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtLiveAddress" ErrorMessage="请填写收货地址！" ToolTip="请填写收货地址！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">邮编：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtZipCode" runat="server" Text=""></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtZipCode" ErrorMessage="请填写邮编！" ToolTip="请填写邮编！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                 </td>
            </tr>
            <tr>
                    <td class="list3_1" style="width: 215px" nowrap="nowrap">
                        <span style="color:Black">电话：</span>
                    </td>
                    <td class="list3_2" nowrap="nowrap">
                        <asp:TextBox ID="txtPhone" runat="server" Text=""></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtPhone"
                            ErrorMessage="电话格式不正确，请核对后再输！" ValidationExpression="(^(\d{3,4}-)?\d{7,8})$|(13[0-9]{9})"></asp:RegularExpressionValidator>
                    </td>
            </tr>
            <tr>
                 <td class="list3_1" nowrap="nowrap" style="line-height:100px;width:215px">
                    <span style="color:Black">备注：</span>
                 </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:TextBox ID="txtRemark" runat="server" Text="" MaxLength="50" Rows="3" TextMode="MultiLine" style="margin-left:10px;height:80px; width:300px;"></asp:TextBox>       
                 </td>
            </tr>
            <tr>
			     <td  colspan="6" style=" height:10px;">
			          <asp:ImageButton ID="tijiao" runat="server" Text="" OnClick="tijiao_Click"  Style="cursor: pointer; margin-left:225px;"  ImageUrl="../images/blue/submit.jpg"  />
			          <asp:ImageButton ID="btn_Return" runat="server" OnClick="btnReturn_Click" ImageUrl="../images/blue/cancel.jpg" style="margin-left:10px"/>
			     </td>
			 </tr>
            </table>
		</div>
	</div>
    </form>
</body>
</html>