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

<!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" />
     <script type="text/javascript" src="/css/popcalendar.js"></script>
</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" >
            
            <!--这里添加内容 -->
            <table  style =" width :100%" border = "1" class ="table " cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style ="width:80px"  class ="tabletd_right ">
                        申请编号</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbCheckappid" runat="server"></asp:Label>
                        <asp:Label ID="lbState" runat="server"  Visible ="false" ></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td  class ="tabletd_right ">
                        项目编号</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbAppiouid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td  class ="tabletd_right ">
                        项目名称</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbTitle" runat="server"></asp:Label>
                    </td>
                </tr>
           

                <tr>
                    <td class ="tabletd_right ">
                        验收结论</td>
                    <td class ="tabletd_left ">
                        <asp:DropDownList ID="ddlState" runat="server">
                            <asp:ListItem>合格</asp:ListItem>
                            <asp:ListItem>不合格</asp:ListItem>
                            <asp:ListItem>暂未验收</asp:ListItem>
                        </asp:DropDownList>
                                 
                    </td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        结算金额</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbFinalprice" runat="server"  CssClass ="textbox20"></asp:TextBox>
                        元</td>
                </tr>
                
                <tr>
                    <td class ="tabletd_right ">
                        付款计划</td>
                    <td class ="tabletd_left ">
	<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" Width="600px">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                <asp:BoundField DataField="payorder" HeaderText="付款次序" ReadOnly="True" />
                                <asp:BoundField DataField="price" HeaderText="付款金额" ReadOnly="True" />
                                <asp:BoundField DataField="cumulativescale" HeaderText="累计比例(%)" ReadOnly="True" />
                                <asp:BoundField DataField="paydate" HeaderText="支付日期" ReadOnly="True" />
                                <asp:BoundField DataField="docid" HeaderText="支付凭证号" ReadOnly="True" />
                     
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
       <FooterStyle  BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
        <div style ="text-align :right ; width :600px;">
         <asp:Button ID="delPayPlan" runat="server" Text="删除付款计划" OnClick="delPayPlan_Click"  Visible ="false" /></div>
<table  style =" width :600px" border = "1" class ="table " cellpadding ="0" cellspacing ="0" runat ="server" id ="tablebAddPrice">
                <tr>
                    <td style ="width:80px"  class ="tabletd_center ">付款时间
                        </td> 
                    <td class="tabletd_left ">
                         <asp:textbox id="tbPayDate" runat="server"   CssClass ="textbox20" Width="100px"  onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator35" runat="server" 
                  ControlToValidate="tbPayDate" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="btAddPay" 
                  ForeColor="Red"></asp:RegularExpressionValidator> </td>
                    </tr>
             <tr>
                    <td style ="width:80px"  class ="tabletd_center ">付款金额
                        </td> 
                    <td class="tabletd_left "><asp:TextBox ID="tbPlanPrice" runat="server" Width="120px"  CssClass ="textbox20"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" ControlToValidate="tbPlanPrice" Display="Dynamic" ErrorMessage="请输入大于0的数字" ForeColor="Red" ValidationExpression="^(?:[1-9][0-9]*|0)(?:\.[0-9]+)?$" ValidationGroup="btAddPay"></asp:RegularExpressionValidator>
                    </td>
                    </tr>
             <tr>
                    <td style ="width:80px"  class ="tabletd_center ">付款凭证号
                        </td> 
                    <td class="tabletd_left "><asp:TextBox ID="tbDocId" runat="server" Width="160px"  CssClass ="textbox20"></asp:TextBox>说明：已付款的填写付款凭证号。</td>
                    </tr>
             <tr>
                    <td style ="width:80px"  class ="tabletd_center ">支付备注
                        </td> 
                    <td class="tabletd_left "><asp:TextBox ID="tbPayNote" runat="server" MaxLength="48" Width="400px"  CssClass ="textbox20"></asp:TextBox></td>
                    </tr>
             <tr>
                    <td  class ="tabletd_center " colspan="2">
                        <asp:Button ID="btAddPay" runat="server" Text="增加" OnClick="btAddPay_Click" ValidationGroup="btAddPay" />
                        </td> 
                    </tr>
       </table>
</td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        验收日期</td>
                    <td class ="tabletd_left ">
                        <asp:textbox id="tbCheckdate" runat="server" Width="100px"   CssClass ="textbox20"
               onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
                                 
                    </td>
                </tr>
                          <tr>
                    <td class ="tabletd_right ">
                        合同结束日期</td>
                    <td class ="tabletd_left ">
                        <asp:textbox id="tbContractEndDate" runat="server" Width="100px"   CssClass ="textbox20" 
               onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
                                 
                    </td>
                </tr>
                     <tr>
                    <td class ="tabletd_right ">
                        验收报告 </td>
                    <td class ="tabletd_left ">
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                           &nbsp;<asp:Button ID="btUpload" runat="server" Text="上传" onclick="btUpload_Click" />
                         单个附件不大于50M<div>
                            <asp:Label ID="lbFileNameList" runat="server" Text="已经上传的文件：" Visible="False"></asp:Label>
                            <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click"></asp:LinkButton>
                            <asp:Button ID="btDel" runat="server" Text="删除" OnClick="btDel_Click"  onClientClick="return confirm('确认删除吗？')" />
                        </div>
                    </td>
                </tr><tr>
                    <td class ="tabletd_right ">
                        变更资料</td>
                    <td class ="tabletd_left ">
                        <asp:FileUpload ID="FileUpload2" runat="server" />
                          &nbsp;<asp:Button ID="btUpload2" runat="server" Text="上传" onclick="btUpload2_Click" />
                         单个附件不大于50M<div>
                            <asp:Label ID="lbFileNameList2" runat="server" Text="已经上传的文件：" Visible="False"></asp:Label>
                            <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton1_Click"></asp:LinkButton>
                            <asp:Button ID="btDel2" runat="server" Text="删除" OnClick="btDel2_Click"  Visible ="false"  />
                        </div>
                    </td>
                </tr>
                </table>

            
   <div class = " tabletd_center ">
                        <asp:Button ID="btAddNotice" runat="server" onclick="btAddNotice_Click" 
                            Text="预览" ValidationGroup="btAdd" />
                    </div> 
    </div>
<!--栏目结束 -->

                </div>
            </div>
            </div> 
        </form>
    </body>
</html>