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

<!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">
  <asp:Panel ID="plZong" runat="server" Visible="true">   
<!--栏目开始 -->
         
            <!--这里添加内容 -->
         <div  class ="td10">	项目编号：<asp:Label ID="lbAppiouid" runat="server"></asp:Label>
                        &nbsp;项目名称：<asp:Label ID="lbTitle" runat="server"></asp:Label>
      &nbsp;应付款总额：<asp:Label ID="lbPrice" runat="server">0</asp:Label>&nbsp;剩余付款额：<asp:Label ID="lbOtherPrice" runat="server">0</asp:Label>
                        &nbsp;第<asp:Label ID="lbPayorder" runat="server"></asp:Label>次付款<asp:Label ID="lbState" runat="server"  Visible ="false" ></asp:Label>
             </div>  
                 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" Width="100%" OnRowDeleting="GridView1_RowDeleting">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                  <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                                <asp:BoundField DataField="conid" HeaderText="采购编号" ReadOnly="True" />
                                <asp:TemplateField HeaderText="项目名称" ShowHeader="False">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lbtConname" runat="server" CausesValidation="False" 
                                            CommandName="Select" Text='<%# Bind("conname") %>'></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                     <asp:BoundField DataField="payorder" HeaderText="付款次序" ReadOnly="True" />
                                     <asp:BoundField DataField="planmoney" HeaderText="计划支付金额" ReadOnly="True" />
                                     <asp:BoundField DataField="plancumulativescale" HeaderText="累计比例(%)" ReadOnly="True" />
                                     <asp:BoundField DataField="planpaydate" HeaderText="计划支付日期" ReadOnly="True"   />
                                     <asp:BoundField DataField="money" HeaderText="实际支付金额" ReadOnly="True"   />
                                     <asp:BoundField DataField="cumulativescale" HeaderText="累计比例(%)" ReadOnly="True" />
                                     <asp:BoundField DataField="docid" HeaderText="财务凭证号" ReadOnly="True" />
                                     <asp:BoundField DataField="payeddate" HeaderText="实际支付日期" ReadOnly="True" />
                                     <asp:BoundField DataField="paynote" HeaderText="备注" ReadOnly="True" />
                                     <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                                     <asp:BoundField DataField="managername" HeaderText="管理人" ReadOnly="True" />
                                  <asp:TemplateField HeaderText="删除" ShowHeader="False">
                                      <ItemTemplate>
                                          <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete" Text="删除"  onClientClick="return confirm('确认删除吗？')" ></asp:LinkButton>
                                      </ItemTemplate>
                                  </asp:TemplateField>
                              
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
        <table  style =" width :100%" border = "1" class ="table " cellpadding ="0" cellspacing ="0" id="table_AddPay" runat ="server" >
                   <tr>
                    <td class="tabletd_right " style="width:80px">
                        支付金额</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbplanMoney" runat="server" MaxLength="25" Width="100px"  CssClass ="textbox20">0</asp:TextBox>
                        元<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                            ControlToValidate="tbplanMoney" Display="Dynamic" ErrorMessage="金额不能为空。" 
                            ForeColor="Red" ValidationGroup="AddNotice"></asp:RequiredFieldValidator>
                        
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        支付日期</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbplanPlanpay" runat="server"  CssClass ="textbox20"
                            onclick="popUpCalendar(this,this,'yyyy-mm-dd')" placeholder="点击选择日期"
                            Width="100px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                            ControlToValidate="tbplanPlanpay" Display="Dynamic" ErrorMessage="日期不能为空。" 
                            ForeColor="Red" ValidationGroup="AddNotice"></asp:RequiredFieldValidator>
                    </td>
                </tr>

                <tr>
                    <td class="tabletd_right ">财务凭证号</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbDocId" runat="server" MaxLength="48" Width="220px" CssClass ="textbox20"></asp:TextBox>
                    </td>
                </tr>


                   <tr>
                       <td class="tabletd_right ">备注</td>
                       <td class="tabletd_left ">
                           <asp:TextBox ID="tbPayNote" runat="server" MaxLength="48" Width="400px"></asp:TextBox>
                       </td>
                   </tr>


                   <tr>
                       <td class="tabletd_right ">&nbsp;</td>
                       <td class="tabletd_left ">
                           <asp:Button ID="btAddNotice" runat="server" onclick="btAddNotice_Click" Text="添加" ValidationGroup="AddNotice" />
                       </td>
                   </tr>


                </table>
<div style ="width:100%; text-align :center ;">
        <asp:Button ID="btAddNotice0" runat="server" OnClick="btAddNotice0_Click" Text="预览" /></div>
      
<!--栏目结束 -->
</asp:Panel> 
            </div>
            </div> 
        </form>
    </body>
</html>