<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddOrdersInfo.aspx.cs" Inherits="OrdersManage_AddOrdersInfo" %>

<!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 runat="server">
    <title>定单管理--添加定单信息</title>
     <script type="text/javascript">
    function bind()
    {
        document.getElementById('productName').value = document.getElementById('DropDownList1').value;
    }
    function bind1()
    {
		document.getElementById('bottle').value = document.getElementById('DropDownList2').value;
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div align="center">
     <table align="center" border="1" bordercolordark="#003399" bordercolorlight="#ffffff"
                cellspacing="0" style="font-size: 12px; width: 620px; height: 152px">
                <tr>
                    <td align="center" bgcolor="#003399" colspan="2" style="color: white; height: 27px">客户信息</td>
                </tr>
                <tr>
                    <td nowrap style="width: 96px"> 请输入电话号：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="TextBox4" runat="server" Width="160px"></asp:TextBox>
						<asp:Button ID="query" runat="server" Text="查询" Width="103px" OnClick="query_Click" /></td>
                </tr>
                 <tr>
                    <td nowrap style="width: 96px"> 客户编号：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="clientno" runat="server" Width="160px" ReadOnly="True"></asp:TextBox></td>
                </tr>
                <tr>
                    <td nowrap style="width: 96px">&nbsp;客户姓名：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="name" runat="server" Width="160px" ReadOnly="True"></asp:TextBox></td>
                </tr>
                <tr>
                    <td nowrap style="width: 96px">&nbsp;客户类型：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="type" runat="server" Width="160px" ReadOnly="True"></asp:TextBox></td>
                </tr>
                 <tr>
                    <td nowrap style="width: 96px">客户区域：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="area" runat="server" Width="160px" ReadOnly="True"></asp:TextBox></td>
                </tr>
                 <tr>
                    <td nowrap style="width: 96px">&nbsp;客户电话：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="mobile" runat="server" Width="160px" ReadOnly="True"></asp:TextBox></td>
                </tr>
                 <tr>
                    <td nowrap style="width: 96px">客户地址：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="address" runat="server" Width="508px" ReadOnly="True"></asp:TextBox></td>
                </tr>
            </table>
             <table align="center" border="1" bordercolordark="#003399" bordercolorlight="#ffffff"
                cellspacing="0" style="font-size: 12px; width: 620px; height: 152px">
                <tr>
                    <td align="center" bgcolor="#003399" colspan="2" style="color: white; height: 27px">商品信息</td>
                </tr>
                 <tr>
                    <td nowrap style="width: 96px"> 产品名：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="productName" runat="server" Width="160px"></asp:TextBox>
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="110px">
					 </asp:DropDownList>
						<asp:Button ID="Button1" runat="server" Text="确定" Width="89px" OnClick="Button1_Click" /></td>
                </tr>
                <tr>
                    <td nowrap style="width: 96px">
						产品编号：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="No" runat="server" Width="160px" ReadOnly="True"></asp:TextBox></td>
                </tr>
                <tr>
                    <td nowrap style="width: 96px">&nbsp;&nbsp;购买数量：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="Amount" runat="server" Width="160px">1</asp:TextBox></td>
                </tr>
                 <tr>
                    <td nowrap style="width: 96px">
						单价：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="price" runat="server" Width="160px" ReadOnly="True"></asp:TextBox></td>
                </tr>
                <tr>
                    <td nowrap style="width: 96px">
						应急瓶：</td>
                    <td nowrap style="text-align: left"><asp:TextBox ID="bottle" runat="server" Width="160px">无</asp:TextBox>
						<asp:DropDownList ID="DropDownList2" runat="server" Width="110px">
						<asp:ListItem Value="无" Text="无"></asp:ListItem>
						<asp:ListItem Value="有" Text="有"></asp:ListItem>
						</asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="center" colspan="2" style="height: 25px">
                    <asp:Button ID="Button3" runat="server" Text="购买" OnClick="Button3_Click" Width="77px" />
                    <input id="Reset2" type="reset" value="　重置　" /></td>
                </tr>
            </table>
    </div>
    </form>
</body>
</html>
