📄 bargainsearch.aspx
字号:
<%@ Register TagPrefix="cc1" Namespace="HTMS.Web.AspNetPager" Assembly="HTMS.Web.AspNetPager" %>
<%@ Page language="c#" Codebehind="BargainSearch.aspx.cs" AutoEventWireup="false" Inherits="HTMS.Web.CompanySysMange.Bargain.BargainSearch" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>UserSearch</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="../../WebStyle/Style/admin.css" type="text/css" rel="stylesheet">
<script language="javascript" src="../../WebStyle/Js/Calendar1.js" type="text/javascript"></script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 1px; WIDTH: 100%; POSITION: absolute; TOP: 2px"
cellSpacing="1" cellPadding="1" width="300" border="0">
<TR>
<TD colSpan="2">
<div>
<DIV style="DISPLAY: inline; WIDTH: 240px; HEIGHT: 18px" ms_positioning="FlowLayout"><IMG height="18" src="../../WebStyle/Images/closed.gif" width="18">
<font color="#0066ff" size="3">合同查询:</font>
</DIV>
<br>
<DIV style="DISPLAY: inline; WIDTH: 240px; HEIGHT: 25px" ms_positioning="FlowLayout"><FONT face="宋体">合同标题:
<INPUT id="title" style="WIDTH: 152px; HEIGHT: 18px" type="text" size="20" name="Text1"
runat="server"></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 176px; HEIGHT: 24px" ms_positioning="FlowLayout"><FONT face="宋体">合同类型:
<asp:dropdownlist id="bClass" runat="server" Width="96px"></asp:dropdownlist></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 176px; HEIGHT: 24px" ms_positioning="FlowLayout"><FONT face="宋体">生效类型:
<asp:dropdownlist id="bEffe" runat="server" Width="112px">
<asp:ListItem Value="-1" Selected="True">为选择</asp:ListItem>
<asp:ListItem Value="0">未生效</asp:ListItem>
<asp:ListItem Value="1">已生效</asp:ListItem>
</asp:dropdownlist></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 80px; HEIGHT: 24px" align="center" ms_positioning="FlowLayout"><INPUT id="Submit1" type="submit" value="查 询" name="Submit1" runat="server"></DIV>
<DIV style="DISPLAY: inline; WIDTH: 432px; HEIGHT: 25px" ms_positioning="FlowLayout"><FONT face="宋体">有效时期:
<INPUT id="startdate" style="WIDTH: 152px; HEIGHT: 18px" onfocus="setday(this);" type="text"
size="20" name="Text4" runat="server"> --- <INPUT id="enddate" style="WIDTH: 152px; HEIGHT: 18px" onfocus="setday(this);" type="text"
size="20" name="Text3" runat="server"></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 280px; HEIGHT: 24px" ms_positioning="FlowLayout"><FONT face="宋体">合同备注:
<INPUT id="bDes" style="WIDTH: 216px; HEIGHT: 18px" type="text" size="30" name="Text2"
runat="server"></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 80px; HEIGHT: 24px" align="center" ms_positioning="FlowLayout"><INPUT id="Submit2" style="WIDTH: 67px; HEIGHT: 18px" type="button" value="起草合同" name="Submit1"
runat="server"></DIV>
</div>
</TD>
</TR>
<TR>
<TD vAlign="top" colSpan="2" height="440">
<hr style="WIDTH: 877px; HEIGHT: 1px" width="877" SIZE="1">
<div align="justify">
<DIV style="DISPLAY: inline; WIDTH: 240px; HEIGHT: 18px" ms_positioning="FlowLayout"><IMG height="18" src="../../WebStyle/Images/child.gif" width="18">
<font color="#0066ff" size="3">信息列表:</font>
</DIV>
<div style="DISPLAY: block; VISIBILITY: visible; OVERFLOW: auto; WIDTH: 100%" align="justify"><asp:datagrid id="DataGrid1" runat="server" Width="100%" CellSpacing="1" AutoGenerateColumns="False"
BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="2" ForeColor="DodgerBlue">
<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BorderColor="#C04000" BackColor="#009999"></SelectedItemStyle>
<ItemStyle HorizontalAlign="Center" ForeColor="#003399" Width="80px" VerticalAlign="Middle"
BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#CCCCFF" VerticalAlign="Middle"
BackColor="#003399"></HeaderStyle>
<Columns>
<asp:BoundColumn Visible="False" DataField="BargainID" HeaderText="BargainID"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="编号">
<ItemTemplate>
<asp:Label id=Label2 runat="server" Text='<%# this.DataGrid1.Items.Count+1 %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="合同标题">
<ItemTemplate>
<asp:HyperLink id=HyperLink1 runat="server" ForeColor="#0066ff" NavigateUrl='<%# "BargainDetails.aspx?BargainID="+DataBinder.Eval(Container.DataItem,"BargainID") %>' Text='<%# DataBinder.Eval(Container.DataItem, "BargainTitle").ToString().Length > 20 ? DataBinder.Eval(Container.DataItem, "BargainTitle").ToString().Substring(0,20)+"..." : DataBinder.Eval(Container.DataItem, "BargainTitle").ToString() %>'>
</asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="合同描述">
<ItemTemplate>
<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.BargainDes").ToString().Length>50 ? DataBinder.Eval(Container, "DataItem.BargainDes").ToString().Substring(0,50)+"..." : DataBinder.Eval(Container, "DataItem.BargainDes").ToString() %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="ClassName" HeaderText="合同类型"></asp:BoundColumn>
<asp:BoundColumn DataField="BargainMoney" HeaderText="金额"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="商议状态">
<ItemTemplate>
<asp:HyperLink id="HyperLink3" runat="server"></asp:HyperLink>
<asp:HyperLink id="HyperLink4" runat="server"></asp:HyperLink>
<asp:HyperLink id="HyperLink5" ForeColor="#0066FF" runat="server"></asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="生效状态">
<ItemStyle ForeColor="#0066FF"></ItemStyle>
<ItemTemplate>
<asp:Label id=Label3 runat="server" text='<%# DataBinder.Eval(Container,"DataItem.IsEfficacy").ToString() == "1" ? "已经生效>>" : "未生效>>" %>'>
</asp:Label>
<asp:Label id="Label4" runat="server"></asp:Label>
<asp:Label id=Label5 runat="server" text='<%# "失效期限>>"+System.DateTime.Parse(DataBinder.Eval(Container,"DataItem.BargainOverTime").ToString()).ToLongDateString() %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn Visible="False" DataField="BargainClassID" HeaderText="BargainClassID"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="CompanyBadgeID" HeaderText="CompanyBadgeID"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="IsWriter" HeaderText="IsWriter"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="IsChecked" HeaderText="IsChecked"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="操作">
<ItemTemplate>
<asp:HyperLink id="HyperLink2" runat="server">下载生效合同/</asp:HyperLink>
<asp:LinkButton id="LinkButton1" runat="server" CommandName="Delete" Text="删除" CausesValidation="false"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn Visible="False" DataField="IsAllChecked" HeaderText="IsAllChecked"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="IsEfficacy" HeaderText="IsEfficacy"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="BargainStartTime" HeaderText="BargainStartTime"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="BargainOverTime" HeaderText="BargainOverTime"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="BargainDraft" HeaderText="BargainDraft"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="Param" HeaderText="Param"></asp:BoundColumn>
</Columns>
</asp:datagrid></div>
</div>
<asp:label id="Label1" runat="server" Width="32px" Visible="False">Label</asp:label></TD>
</TR>
<TR>
<TD colSpan="2">
<hr SIZE="1">
<cc1:aspnetpager id="AspNetPager1" runat="server" Width="100%" PageSize="18" AlwaysShow="True" ChinesePageIndex="True"
ShowSelectBox="Always" ShowInputBox="Always" ShowCustomInfoSection="Left" UrlPaging="True"></cc1:aspnetpager></TD>
</TR>
</TABLE>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -