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

<!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" />
    <meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
    <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>
      
<table border="0"  class ="tablezong"  cellpadding="0" cellspacing="0" id="tbList" runat ="server"  visible ="false" style="width :100%" >
      <tr>
        <td   style ="text-align :left ; padding :10px 10px 10px 10px" class ="tabletd_center ">
            <table  style =" width :100%"    border = "0"  cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style =" background-color :White " >
                                  <div class  ="divLinkButtonRight "> 
                <asp:HyperLink ID="hlPrint" runat="server" ImageUrl="/css/images/print.png" Target="_blank" >HyperLink</asp:HyperLink>
            </div>
                    <div style = " font-size :large ; font-weight :bold ; text-align :center;width :100%;  padding :20px 5px 20px 5px  " >
                        <asp:Label ID="lbTitle" runat="server" ></asp:Label></div>
                               <div style =" text-align :left; margin-bottom :10px ">申请编号：<asp:Label ID="lbAppiouid" runat="server"></asp:Label>
                        </div>
                              <div style =" text-align :left; margin-bottom :10px  ">预估金额：<asp:Label ID="lbBudget" runat="server">0</asp:Label></div> 
                               <div style =" text-align :left; margin-bottom :10px  "> 申请人:<asp:Label ID="lbStaffid" runat="server"></asp:Label> &nbsp;<asp:Label ID="lbStaff" runat="server"></asp:Label></div> 
                               <div style =" text-align :left; margin-bottom :10px  ">申请时间：<asp:Label ID="lbApplicationdate" runat="server"></asp:Label></div> 
                               <div style =" text-align :left ; margin-bottom :10px ">
                                   采购方式：<asp:Label ID="lbBid" runat="server"></asp:Label>&nbsp;签订合同：<asp:Label ID="lbContract" runat="server"></asp:Label>&nbsp;维保：<asp:Label ID="lbMaintenance" runat="server"></asp:Label>
                                   &nbsp;支付类别：<asp:Label ID="lbFunds" runat="server"></asp:Label>&nbsp;付款比例：<asp:Label ID="lbPay" runat="server"></asp:Label>%&nbsp;处理状态：<asp:Label ID="lbState" runat="server"></asp:Label></div> 
</td>
                </tr>

                <tr>
                    <td  style =" padding :20px 5px 5px 5px" >
                        <asp:Label ID="lbFujian" runat="server" Text="附件："></asp:Label>
                        <asp:BulletedList ID="blApp" runat="server" DisplayMode="LinkButton"  onclick="blFujian_Click"></asp:BulletedList>
                    </td>
                </tr>

   <tr>
                    <td style=" text-align :center;  ">

                        <asp:Panel ID="plAppList" runat="server">
                     <div class="row_title">申请明细：</div> 
                        <asp:GridView ID="gvAppList" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                <asp:BoundField DataField="project" HeaderText="名称及型号" ReadOnly="True" />
                                <asp:TemplateField HeaderText="数量">
                                    <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" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
                        </asp:Panel>

        
            <div class="row_title">竞争性采购
                        <asp:Button ID="btEditBid" runat="server"  Text="修改" OnClick="btEdit_Click" />
         
                        </div> 
        <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="BidTiTle" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        采购代理</td>
                    <td class="tabletd_left ">
                       <asp:Label  ID="lbBidagent" runat="server" ></asp:Label>
                        &nbsp;<asp:Label ID="lbContacts" runat="server"></asp:Label>
                        &nbsp;<asp:Label ID="lbBidagenttel" runat="server"></asp:Label>
                        &nbsp;<asp:Label ID="lbBidagentemail" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        公告文号</td>
                    <td  class="tabletd_left ">
                        <asp:Label ID="lbBidnoticeid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right " >
                        公告内容</td>
                    <td class ="tabletd_left ">
                    <asp:BulletedList ID="blBid" runat="server" DisplayMode="LinkButton"  
                                 onclick="blFujian_Click"></asp:BulletedList>
                   </td>
                </tr>
                   <tr>
                    <td class ="tabletd_right ">
                        公告网址</td>
                    <td class ="tabletd_left ">
                        <asp:HyperLink ID="hlBidWeb" runat="server" Target ="_blank" >查看</asp:HyperLink>
                    </td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        挂网时间</td>
                    <td class ="tabletd_left ">
                             <asp:Label ID="lbBiddatestar" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        开标时间</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbBidopendate" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td class="tabletd_right ">
                        中标单位</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbWinbider" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        中标价格</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbWinbidprice" runat="server"></asp:Label>
                        元</td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        中标通知</td>
                    <td class ="tabletd_left ">
                        <asp:BulletedList ID="blWin" runat="server" DisplayMode="LinkButton"  
                               onclick="blFujian_Click"></asp:BulletedList>
                          </td>
                </tr>

                </table>
                               <div class="row_title">合同
                                         
         
                        <asp:Button ID="btEditContact" runat="server"  Text="修改" OnClick="btEdit_Click" />
         
         
                        </div> 
<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="lbContractTitle" runat="server"></asp:Label></td>
                </tr>

                  <tr>
                    <td   class ="tabletd_right ">
                        其他编号</td>
                    <td  class="tabletd_left ">
                        <asp:Label ID="lbOtherid" runat="server"></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td   class ="tabletd_right ">
                        合同单位</td>
                    <td  class="tabletd_left ">
                        单位名称：<asp:Label ID="lbCompany" runat="server"></asp:Label>
                        &nbsp;信用代码：<asp:Label ID="lbBusinesslicense" runat="server"></asp:Label>
                    </td>
                </tr>
                             <tr>
                    <td   class ="tabletd_right ">
                        签字人</td>
                    <td  class="tabletd_left ">
                        <asp:Label ID="lbConsigner" runat="server"></asp:Label>
                    </td>
                </tr>
       <tr>
                    <td   class ="tabletd_right ">
                        联系人</td>
                    <td  class="tabletd_left ">
                        姓名：<asp:Label ID="lbLiaison" runat="server"></asp:Label>
                        &nbsp;电话：<asp:Label ID="lbTel" runat="server"></asp:Label>
                        &nbsp;邮箱：<asp:Label ID="lbEmail" runat="server"></asp:Label>
                        &nbsp;地址：<asp:Label ID="lbAddress" runat="server"></asp:Label>
                    </td>
                </tr>

                                                 <tr>
                    <td   class ="tabletd_right ">
                        银行账号</td>
                    <td  class="tabletd_left ">
                        <asp:Label ID="lbDepositbank" runat="server"></asp:Label>
                        &nbsp;<asp:Label ID="lbBankaccount" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td class ="tabletd_right " >
                        合同</td>
                    <td class ="tabletd_left ">
                        <asp:BulletedList ID="blCon" runat="server" DisplayMode="LinkButton"  
                                onclick="blFujian_Click"></asp:BulletedList>
                   </td>
                </tr>
                    <tr>
                    <td class ="tabletd_right ">
                        合同价格</td>
                    <td class ="tabletd_left ">
                       <asp:Label ID="lbPrice" runat="server"></asp:Label>元
                    </td>
                </tr>
     <tr>
                    <td class ="tabletd_right ">
                        付款计划</td>
                    <td class ="tabletd_left ">
                     
	<asp:GridView ID="GridView2" 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>
                    </td>
                </tr>
                 <tr>
                    <td class ="tabletd_right ">
                        已方签字人</td>
                    <td class ="tabletd_left ">
                             <asp:Label ID="lbSignname" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        是否验收 </td>
                    <td class ="tabletd_left ">
                             <asp:Label ID="lbCheckState" runat="server"></asp:Label>
                    </td>
                </tr>
                    <tr>
                    <td class ="tabletd_right ">
                        合同期</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbSigndate" runat="server"></asp:Label>&nbsp;-&nbsp;<asp:Label ID="lbEnddate" runat="server"></asp:Label>
                    </td>
                </tr>
   
      
                </table>

 <div id ="divPmCheck" runat ="server" >
      <div class="row_title">验收 
              <asp:Button ID="btEditPmCheck" runat="server" OnClick="btEdit_Click" Text="修改" />
      </div> 
    <div style ="text-align :left ">
        结算金额：<asp:Label ID="lbFinalPrice" runat="server"></asp:Label>
        &nbsp;验收时间：<asp:Label ID="lbCheckDate" runat="server"></asp:Label>
        &nbsp;验收结论：<asp:Label ID="lbCheck" runat="server"></asp:Label>
        &nbsp;验收报告：<asp:LinkButton ID="lbtCheck" runat="server" OnClick="lbtCheck_Click"></asp:LinkButton>
            &nbsp;项目变更：<asp:LinkButton ID="lbtProjectChange" runat="server" OnClick="lbtCheck_Click"></asp:LinkButton>
    </div></div> 
                    <div class="row_title">付款 
                                           <asp:Button ID="btEditPay" runat="server" OnClick="btEdit_Click" Text="修改" />
                                       </div> 
          
                        <asp:GridView ID="gvPay" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                  <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                                <asp:BoundField DataField="conid" HeaderText="采购单号" ReadOnly="True" />
                                <asp:BoundField DataField="conname" HeaderText="项目名称" ReadOnly="True" />
                               
                                     <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="paynote" HeaderText="支付备注" ReadOnly="True" />
                                     <asp:BoundField DataField="payeddate" HeaderText="实际支付日期" ReadOnly="True" />
                                     <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                                     <asp:BoundField DataField="managername" HeaderText="管理人" ReadOnly="True" />
                              
                              
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>        
                 <div class="row_title">审核进程</div>
                              <div style ="text-align :left ;">              
          <asp:DataList ID="dtlCheckList" runat="server" Width="100%">
              <AlternatingItemStyle CssClass="gv2row_AlternatingItemStyle" />
              <ItemTemplate>
              <div  class ="gv2row ">
            <div ><asp:Label ID="Label5" runat="server" Text='<%# Bind("checktime") %>'></asp:Label>
                <asp:Label ID="Label1" runat="server" Text='<%# Bind("rank") %>'></asp:Label>
                <asp:Label ID="Label2" runat="server" Text='<%# Bind("checkername") %>'></asp:Label>：
                  <asp:Label ID="Label3" runat="server" Text='<%# Bind("checkdecided") %>'></asp:Label>
                <asp:Label ID="Label4" runat="server" Text='<%# Bind("checknote") %>'></asp:Label>
            </div> 
   
             </div>
             </ItemTemplate>
          </asp:DataList>
            </div> 
                    </td>
                </tr>
                

                <tr>
                    <td style=" text-align :center">
                     <asp:Panel ID="Panel1" runat="server" >
                        <asp:Button ID="btSub" runat="server" Text="审核通过" OnClick="btSub_Click"   onClientClick="return confirm('确认审核通过！')" />
                          &nbsp;&nbsp;
                          <asp:Button ID="btReturn" runat="server" Text="退回修改"  OnClick="btReturn_Click" />
                       </asp:Panel> 
                                 <asp:Panel ID="Panel2" runat="server"  Visible ="false" >
                        <asp:TextBox ID="tbRetrun" runat="server" Height="30px" Width="90%" TextMode="MultiLine" MaxLength="200"></asp:TextBox><br/><br/>
                          <asp:Button ID="btReturnSub" runat="server" Text="退回修改"   onClientClick="return confirm('确认退回修改！')" OnClick="btReturnSub_Click" />
                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="tbRetrun" Display="Dynamic" ErrorMessage="退回原因不能为空。" ForeColor="Red" ValidationGroup="Add"></asp:RequiredFieldValidator>
       </asp:Panel>
                    </td>
                </tr>
                

                <tr>
                    <td style=" text-align :right">
                        <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" />
                    </td>
                </tr>
            </table>
            </td>
          </tr>
    </table>

<!--栏目结束 -->

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