<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SupplementAppList.aspx.cs" Inherits="Web.cg.show.supplement.SupplementAppList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="/css/css.css" rel="stylesheet" type="text/css" />
    </head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('/css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
      <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    采购补录
               </td>

                </tr>
            </table>
            <div id="main-c-03-right02-main">
<!--栏目开始 -->
<div style =" margin-top :20px; margin-bottom :10px">
<div id = "zong" runat ="server" >
       
            <!--这里添加内容 -->
                  <div  class ="td10">
            采购项目：   <asp:Label ID="lbIouid" runat="server" ></asp:Label> &nbsp;<asp:Label ID="lbTitle" runat="server"></asp:Label>
         
            合计：<asp:Label ID="lbCount" runat="server"></asp:Label>
           元</div> 

                        附件：
              
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                       <asp:Button ID="btUpload" runat="server" Text="上传" onclick="btUpload_Click" />
                        
                        单个附件不大于50M<div>
                            <asp:Label ID="lbFileNameList" runat="server" Text="已经上传的文件：" Visible="False"></asp:Label>
                            <asp:CheckBoxList ID="cblFileList" runat="server">
                            </asp:CheckBoxList>
                        </div>
       
           <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" BorderWidth="1px" CssClass="gv" OnRowDeleting="gvList_RowDeleting" Width="100%" OnRowCreated="gvList_RowCreated">
               <RowStyle BorderWidth="1px" CssClass="gvrow" />
               <Columns>
                   <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                   <asp:BoundField DataField="project" HeaderText="名称及型号" ReadOnly="True" />
                   <asp:TemplateField HeaderText="数量">
                       <EditItemTemplate>
                           <asp:Label ID="Label1" runat="server" Text='<%# Eval("number") %>'></asp:Label>
                       </EditItemTemplate>
                       <ItemTemplate>
                           <asp:Label ID="Label1" runat="server" Text='<%# Bind("number") %>'></asp:Label>
                           <asp:Label ID="Label2" runat="server" Text='<%# Bind("unit") %>'></asp:Label>
                       </ItemTemplate>
                   </asp:TemplateField>
                   <asp:BoundField DataField="price" HeaderText="单价" ReadOnly="True" />
                   <asp:BoundField DataField="total" HeaderText="总价" ReadOnly="True" />
                   <asp:BoundField DataField="user" HeaderText="用途或说明" ReadOnly="True" />
                   <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
               </Columns>
               <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
           </asp:GridView>
           <table style="width:100%">
               <tr>
                   <td style="width:120px"  class =" td_centernoborder  ">名称及型号：</td>
                   <td  class =" td_leftnoborder  ">
                       <asp:TextBox ID="tbProject" runat="server" Width="300px" CssClass ="textbox20"></asp:TextBox>
                       <span style="color :Red ">（必填） 
                       <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbProject" Display="Dynamic" ErrorMessage="请填写名称" ForeColor="Red" ValidationGroup="list"></asp:RequiredFieldValidator>
                       </span></td>
               </tr>
               <tr>
                   <td  class =" td_centernoborder  ">数 &nbsp;量：</td>
                   <td  class =" td_leftnoborder  ">
                       <asp:TextBox ID="tbNumber" runat="server" Width="100px"  CssClass ="textbox20"></asp:TextBox>
                       <span style="color :Red ">
                       <asp:DropDownList ID="ddlUnit" runat="server">
                       </asp:DropDownList>
                       （必填）</span>
                       <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbNumber" Display="Dynamic" ErrorMessage="请填写数量" ForeColor="Red" ValidationGroup="list"></asp:RequiredFieldValidator>
                       <asp:RegularExpressionValidator ID="RegularExpressionValidator17" runat="server" ControlToValidate="tbNumber" Display="Dynamic" ErrorMessage="请输入大于0的数字。" ForeColor="Red" ValidationExpression="^(?:[1-9][0-9]*|0)(?:\.[0-9]+)?$" ValidationGroup="list"></asp:RegularExpressionValidator>
                   </td>
               </tr>
               <tr>
                   <td  class =" td_centernoborder  ">单 &nbsp;价：</td>
                   <td  class =" td_leftnoborder  ">
                       <asp:TextBox ID="tbPrice" runat="server" Width="100px"  CssClass ="textbox20"></asp:TextBox>
                       元<span style="color :Red ">（必填）</span>
                       <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbPrice" Display="Dynamic" ErrorMessage="请填写单价" ForeColor="Red" ValidationGroup="list"></asp:RequiredFieldValidator>
                       <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="tbPrice" Display="Dynamic" ErrorMessage="请输入大于0的数字。" ForeColor="Red" ValidationExpression="^(?:[1-9][0-9]*|0)(?:\.[0-9]+)?$" ValidationGroup="list"></asp:RegularExpressionValidator>
                   </td>
               </tr>
               <tr>
                   <td   class =" td_centernoborder  ">说 &nbsp;明：</td>
                   <td class =" td_leftnoborder  ">
                       <asp:TextBox ID="tbUser" runat="server" Width="500px"  CssClass ="textbox20"></asp:TextBox>
                   </td>
               </tr>
               <tr>
                   <td  class =" td_leftnoborder  "></td>
                   <td class =" td_leftnoborder  ">
                       <asp:Button ID="btTijiao" runat="server" OnClick="btTijiao_Click" Text="添加" ValidationGroup="list" style="height: 21px" />
                   </td>
               </tr>
                           <tr>
                   <td  class =" td_leftnoborder  "></td>
                   <td class =" td_centernoborder ">
                       <asp:Button ID="btCheck" runat="server" OnClick="btCheck_Click" Text="下一步：选择采购方式及资金类别" />
                   </td>
               </tr>
           </table>

<!--栏目结束 -->
                </div>
            </div>
            </div> 
        </form>
    </body>
</html>
