<%@ Page Title="" Language="C#" MasterPageFile="~/Master/officeMaster.master" AutoEventWireup="true" CodeFile="newrksq.aspx.cs" Inherits="goods_newrksq" %>


<%@ Register Assembly="AjaxControlToolkit, Version=1.0.10201.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"
    Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%--<div style="background-image: url('../b2c/images/win_top.png'); font-weight: bold;
        height: 27px; line-height: 30px; text-align: center;">物品申请单
    </div>--%>
    <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center"
        border="0">
        <tr>
            <th>
                物品申请单
            </th>
        </tr>
    </table>
    <div style="width: 100%; height: 375px;">
        &nbsp;&nbsp;
        <asp:Label ID="Label3" runat="server" Text="申请单号："></asp:Label>
        <asp:TextBox ID="Textrkdh" runat="server" Width="139px" CssClass="style3" Height="20px"
            Enabled="False"></asp:TextBox>
        <asp:Label ID="Label4" runat="server" Text="申请人："></asp:Label>
        <asp:Label ID="Labid" runat="server" Text="" Visible="false"></asp:Label>
        <asp:TextBox ID="TextBox3" runat="server" Width="95px" CssClass="style3" Height="20px"
            Enabled="False"></asp:TextBox>

        <asp:Label ID="Label2" runat="server" Text="申请领导"></asp:Label><asp:DropDownList
            ID="DropDownList2" runat="server">
        </asp:DropDownList>
        &nbsp;<asp:Label ID="Label5" runat="server" Text="创建日期："></asp:Label>
        <asp:TextBox ID="TextBox4" runat="server" Width="121px" CssClass="style3" Height="20px"
            Enabled="False"></asp:TextBox>
        <br />
        <br />
        &nbsp;
        <asp:Label ID="Label1" runat="server" Text="请输入物品名称："></asp:Label>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Services>
                <asp:ServiceReference Path="~/AutoCompleteDemo.asmx" />
            </Services>
        </asp:ScriptManager>
        <asp:TextBox ID="txtDemo" runat="server" Height="20px" CssClass="style3" AutoComplete="off"></asp:TextBox>
        <cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="txtDemo"
            CompletionInterval="500" EnableCaching="true" ServicePath="~/AutoCompleteDemo1.asmx"
            ServiceMethod="GetData" MinimumPrefixLength="1" CompletionSetCount="5">
        </cc1:AutoCompleteExtender>
        <asp:Label ID="Label7" runat="server" Text="数量："></asp:Label>
        <asp:TextBox ID="Textwpsl" runat="server" Height="20px" Width="62px"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="添 加" Height="21px" Width="73px" CssClass="style3"
            OnClick="click" BackColor="#CCCCCC" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label
            ID="Labdkbs" runat="server" Text="" Visible="false"></asp:Label>
        &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button3" runat="server" Height="20px" OnClick="Button3_Click" Text=" 返 回"
            Width="73px" BackColor="#CCCCCC" />
<table width="100%" align="center">
                <tr>
                    <th>
                        物品编码
                    </th>
                    <th>
                        物品名称
                    </th>
                    <th>
                        物品价格
                    </th>
                                        <th>
                     物品数量
                    </th>
                    <th>
                        删除物品
                    </th>
                </tr>
                <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
                    <ItemTemplate>
                        <tr onmousemove="this.style.backgroundColor='#0099CC'" onmouseout="this.style.backgroundColor='white'" align="center">
                            <td>
                                <%#DataBinder.Eval(Container.DataItem, "Gid")%>
                            </td>
                            <td>
                                <%#DataBinder.Eval(Container.DataItem, "GoodsName")%>
                            </td>
                            <td>
                                <%#DataBinder.Eval(Container.DataItem, "Goodprice")%>
                            </td>
                                                      <td>
                                <%#DataBinder.Eval(Container.DataItem, "cksl")%>
                            </td>
                            <td>
                                <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="return confirm( '您确认要删除吗？ ') "
                                    CommandName="Delete" CommandArgument='<%# Eval("Gid") %>'>删除</asp:LinkButton>
                                <asp:HiddenField ID="HiddenField1" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "ckdh")%>' />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>

    </div>
</asp:Content>
