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

<!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">

<!--栏目开始 -->
           
            <!--这里添加内容 -->
                <asp:Panel ID="pnApp" runat="server">
		<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="appiouid" HeaderText="申请编号" ReadOnly="True" />
                                <asp:BoundField DataField="title" HeaderText="项目名称" ReadOnly="True" />
                                <asp:BoundField DataField="budget" HeaderText="预估金额" ReadOnly="True" />
                                <asp:BoundField DataField="staffid" HeaderText="申请人编号" ReadOnly="True" />
                                <asp:BoundField DataField="staff" HeaderText="申请人姓名" ReadOnly="True" />
                                <asp:BoundField DataField="applicationdate" HeaderText="申请时间" ReadOnly="True" />
                                <asp:BoundField DataField="state" HeaderText="处理状态" ReadOnly="True" />
                                <asp:CommandField HeaderText="操作" SelectText="处理" ShowSelectButton="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
                    </asp:Panel>
<asp:Panel ID="pnApplist" runat="server" Visible="False">
<table border="0"  class ="tablezong"  cellpadding="0" cellspacing="0" >
      <tr>
      <td   style ="text-align :left ; padding :10px 10px 10px 10px" class ="tabletd_center ">


            <table  style =" width :700px "    border = "0"  cellpadding ="" cellspacing ="0">
                <tr>
                    <td style =" background-color :White ">
                    <div style = " font-size :large ; font-weight :bold ; text-align :center;width :700px;  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="lbDepartment" runat="server"></asp:Label>
                                   &nbsp;<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="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="BulletedList1" runat="server" DisplayMode="LinkButton"  onclick="BulletedList1_Click"></asp:BulletedList>
                    </td>
                </tr>
      <tr>
                    <td style=" text-align :center;  ">
                      <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>
                    </td>
                </tr>
                <tr>
                     <td >
<div class="td_block">
      <div class="row_title">
                        <asp:Label ID="lbCheckTitle" runat="server" Text="审核进度："></asp:Label>
                          <asp:Label ID="lbCheckerCount" runat="server"  Visible ="false" >0</asp:Label>
                        </div> 

                <asp:DataList ID="dlCheck" runat="server" Width="100%" OnItemDataBound="dlCheck_ItemDataBound" >
              <ItemTemplate>
                       
         <div class=" row_pic ">
                    <asp:Image ID="Image1" runat="server" />
                   </div>

                <div>
                    <asp:Label ID="lbShow" runat="server" ></asp:Label>
                    <asp:Label ID="lbcheckername" runat="server" Visible ="false" Text='<%# Bind("checkername") %>'></asp:Label>
                    <asp:Label ID="lbcheckdecided" runat="server" Visible ="false" Text='<%# Bind("checkdecided") %>'></asp:Label> 
                    <asp:Label ID="lbchecknote"  runat="server" Visible ="false" Text='<%# Bind("checknote") %>'></asp:Label>
                    <asp:Label ID="lbchecktime" runat="server" Visible ="false"    Text='<%# Bind("checktime") %>'></asp:Label></div> 
                
                  <asp:Panel ID="plCheckOver" runat="server" Visible ="false" >
                     <div class="row_pic">
                    <asp:Image ID="Image2" runat="server" />
                   </div>
                      <div>审核结束</div>
                  </asp:Panel>
                  </ItemTemplate>
          </asp:DataList>
</div>
                        <table border = "0" cellpadding ="0" cellspacing ="0" style="width:100%" >
                           <tr>
                                <td class="td_leftnoborder ">
                                    <asp:RadioButtonList ID="rblBid" runat="server" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="rblBid_SelectedIndexChanged">
                                        <asp:ListItem >直采</asp:ListItem>
                                        <asp:ListItem >竞争性采购</asp:ListItem>
                                        <asp:ListItem >申请人自行采购</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                            <td class="td_leftnoborder ">
                                <asp:RadioButtonList ID="rblContract" runat="server" RepeatDirection="Horizontal" Enabled="False">
                                    <asp:ListItem Selected="True" Value="否">不签合同</asp:ListItem>
                                    <asp:ListItem Value="是">签订合同</asp:ListItem>
                                </asp:RadioButtonList>
                                </td>
                            </tr>
                           
                            <tr>
                                <td class="td_leftnoborder ">
                                    <asp:RadioButtonList ID="rblmaintenance" runat="server" RepeatDirection="Horizontal" Enabled="False">
                                        <asp:ListItem Selected="True" Value="否">无维保</asp:ListItem>
                                        <asp:ListItem Value="是">有维保</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                                            <tr>
                                <td class="td_leftnoborder ">
                                    <asp:RadioButtonList ID="rblFunds" runat="server" RepeatDirection="Horizontal">
                                        <asp:ListItem Selected="True">常规支付</asp:ListItem>
                                        <asp:ListItem>专项支付</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>

                                <td class="td_leftnoborder ">
                                
                                    <asp:RadioButtonList ID="rblManager" runat="server" AutoPostBack="True" OnSelectedIndexChanged="rblManager_SelectedIndexChanged" RepeatDirection="Horizontal"></asp:RadioButtonList>
                                      <div runat ="server" visible ="false" id ="divManager"> 
                                          将项目分配给<asp:DropDownList ID="ddlManager" runat="server" Enabled="False"></asp:DropDownList>管理

                                      </div> </td>
                            </tr>
                                              <tr>
                                <td class="td_leftnoborder ">
                               说明：<br />
                                    直采：采购人直接从供货商处购买。选择此项要确定是否签订合同，是否有维保。<br />
                                    竞争性采购：包括公开招标、竞争性谈谈、竞争性磋商、询价等公开和非公开方式。<br />
                                    申请人自行采购：采购人不参与采购过程，选择此项后采购流程结束，不涉及签订合同、维保及付款事项。<br />
                                    采购管理：确定此项采购由哪位采购人负责。


                                </td>
                            </tr>
                            <tr>
                                <td class="td_centernoborder ">
                                    <asp:Button ID="btTijiao" runat="server" onclick="btTijiao_Click" Text="提交" />
                                </td>
                            </tr>
                            </table>
                    </td>
                </tr>
            </table>
</td>
      </tr>
    </table>
        </asp:Panel> 
<!--栏目结束 -->

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