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

<!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 id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
      <meta charset="utf-8" />
        <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 class ="lanmubiaoti ">付款管理</div>
            
            <!--这里添加内容 -->
                                             <div style =" text-align :right ; padding-bottom :10px">
            <asp:LinkButton ID="linkpayadd" runat="server" onclick="linkpayadd_Click" 
                >编辑付款</asp:LinkButton>
                    &nbsp;&nbsp;  
                            <asp:LinkButton ID="linkpayedit" runat="server" onclick="linkpayedit_Click" 
                >付款更新</asp:LinkButton>
        </div>
            <div>
                项目&nbsp; ：<asp:DropDownList ID="ddlContract" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlContract_SelectedIndexChanged">
                </asp:DropDownList>
            </div>
		<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" onrowdatabound="GridView1_RowDataBound" 
                            
          onselectedindexchanging="GridView1_SelectedIndexChanging" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                  <asp:BoundField DataField="payid" HeaderText="付款编号" ReadOnly="True" />

                               

                    <asp:TemplateField HeaderText="标题" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# Bind("title") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                                                   <asp:BoundField DataField="conid" HeaderText="合同号" ReadOnly="True" />
                                    <asp:BoundField DataField="palnpaydate" HeaderText="计划支付日期" ReadOnly="True" />
                                     <asp:BoundField DataField="money" HeaderText="金额" ReadOnly="True" />
                                     <asp:BoundField DataField="cumulativescale" HeaderText="累计支付比例" ReadOnly="True" />
                                <asp:BoundField DataField="managername" HeaderText="管理人" ReadOnly="True" />
                                  <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                                   <asp:BoundField DataField="payeddate" HeaderText="实际支付日期" ReadOnly="True" />
                                  <asp:CommandField HeaderText="操作" SelectText="修改" ShowSelectButton="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>

                 
<!--栏目开始 -->
  <asp:Panel ID="plZong" runat="server" Visible="False">   
            <!--这里添加内容 -->
            <table  style =" width :100%" border = "1" class ="table " cellpadding ="0" cellspacing ="0">
                <tr>
                    <td class="tabletd_right " style="width:80px">
                        项目编号</td>
                   <td class="tabletd_left ">
                        <asp:Label ID="lbConid" runat="server" ></asp:Label>
                        <asp:Label ID="lbPayid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right " style="width:80px">
                        项目名称</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbConname" runat="server" ></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right " style="width:80px">
                        标题</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 ">
                          <div id ="content1" runat ="server"  style ="width :700px; padding :5px 5px 5px 5px"  ></div>
                          <div>             <asp:Label ID="lbFujian" runat="server" Text="附件："></asp:Label>
                        <asp:BulletedList ID="blFujian" runat="server" DisplayMode="LinkButton"  
                                  onclick="blFujian_Click"></asp:BulletedList></div>
                   </td>



                </tr>

                <tr>
                    <td class="tabletd_right ">
                        支付金额</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbMoney" runat="server"></asp:Label>
                        元</td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        累计支付比例</td>
                    <td class="tabletd_left ">
                           <asp:Label ID="lbCumulativescale" runat="server"></asp:Label>
                        %</td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        计划支付日期</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbPlanpay" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td class="tabletd_right ">
                        实际支付日期</td>
                    <td class="tabletd_left ">
                        <asp:TextBox ID="tbPayDate" runat="server" 
                            onclick="popUpCalendar(this,this,'yyyy-mm-dd')" ToolTip="点击输入框右侧的日期图标选择日期" 
                            Width="100px"></asp:TextBox>
                    </td>
                </tr>

                <tr>
                    <td class="tabletd_right ">
                        状态</td>
                    <td class="tabletd_left ">
                        <asp:DropDownList ID="ddlState" runat="server">
                            <asp:ListItem>完成</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>

                </table>

            
   <div class = "td10"  style = " text-align :center ">
                        <asp:Button ID="btAddNotice" runat="server" onclick="btAddNotice_Click" 
                            Text="提交" ValidationGroup="AddNotice" />
                    </div> 
<!--栏目结束 -->
</asp:Panel> 
            </div>
            </div> 
        </form>
    </body>
</html>


