📄 accounting.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Accounting.aspx.cs" Inherits="CRM.WEB.Bussiness.adccount.Accounting" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="ZLTextBox" Namespace="BaseText" TagPrefix="cc2" %>
<%@ Register Assembly="PowerEasy.Controls" Namespace="PowerEasy.Controls" TagPrefix="cc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>财务管理</title>
<link href="../../Css/repeater.css" type="text/css" rel="stylesheet" />
<link href="../../Css/Common.css" type="text/css" rel="stylesheet" />
<link href="../../Css/grid.css" type="text/css" rel="stylesheet" />
</head>
<script language="javascript" type="text/javascript">
<!--
var c_orderId=1;
function getRowValue(sender)
{
if(sender.checked)
{
var tblRow = sender.parentNode.parentNode;
c_orderId=sender.value;
document.getElementById("<%=hd.ClientID%>").value=c_orderId;
}
}
function BatchDelete()
{
var delcustid="";
var oElements = document.getElementsByTagName("INPUT");
var num=0;
for(var i=1;i<oElements.length;i++)
{
if(IsCheckBox(oElements[i])&&IsMatch(oElements[i].id,'chkItem')&&oElements[i].checked)
{
num+=1;
}
}
if(num ==0)
{
alert("请选择需要处理的数据!");
return false;
}
else
{
for(var i=1;i< oElements.length;i++)
{
if(IsCheckBox(oElements[i])&&IsMatch(oElements[i].id,'chkItem')&&oElements[i].checked)
{
delcustid+=oElements[i].value +",";
}
}
document.getElementById("<%=hd.ClientID%>").value=delcustid;
return true;
}
}
function CheckEdit()
{
var oElements = document.getElementsByTagName("INPUT");
var num=0;
for(var i=1;i<oElements.length;i++)
{
if(IsCheckBox(oElements[i])&&IsMatch(oElements[i].id,'chkItem')&&oElements[i].checked)
{
num+=1;
}
}
if(num==0)
{
alert("请选择需要处理的数据!");
return false;
}
else if(num>1)
{
alert("该操作只允许单选");
for(var i=1;i< oElements.length;i++)
{
if(IsCheckBox(oElements[i])&&IsMatch(oElements[i].id,'chkItem')&&oElements[i].checked)
{
oElements[i].checked=false;
}
}
return false;
}
else
{
return true;
}
}
//-->
</script>
<body id="MasterPagebody" leftmargin="0" topmargin="0">
<form id="form1" runat="server">
<asp:SiteMapPath ID="smp" runat="server" RootNodeStyle-Font-Names="Verdana" RootNodeStyle-ForeColor="Orange" PathSeparator=" >> ">
<RootNodeStyle Font-Names="Verdana" ForeColor="Orange" />
</asp:SiteMapPath>
<br />
<br />
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr align="center">
<td id="TabTitle0" class="tabtitle" runat="server">
查看应收款</td>
<td>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="border">
<tr class="tdbg">
<td style="height: 100px;" valign="top">
<table border="0" cellpadding="2" cellspacing="2" width="100%">
<tr>
<td align="right" colspan="2">
<asp:Button ID="btnAll" runat="server" CssClass="button"
Text="全 部" Width="60px" OnClick="btnAll_Click"/>
<asp:Button ID="btnPlanMoney" runat="server" OnClientClick="return BatchDelete();" CssClass="button" Width="60px" Text="回 款" OnClick="btnPlanMoney_Click"/>
<asp:Button ID="btnOut" runat="server" CssClass="button"
Text="导 出" Width="60px" OnClick="btnOut_Click1"/></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<div id="TList" style="height:470px;width:expression(document.body.clientWidth-15);">
<div id="THead">
<asp:Literal id="lit_head" runat="server"></asp:Literal>
</div>
<div id="TBody" onscroll="HeadScroll();">
<asp:Repeater id="rptTB" runat="server" OnItemDataBound="rp_ItemDataBound" EnableViewState="True">
<ItemTemplate>
<tr class="tdbg" id='<%# String.Format("TR{0}",Container.ItemIndex+1)%>' onmouseover='rowover(<%# String.Format("TR{0}",Container.ItemIndex+1)%>);' onmouseout='rowout(<%# String.Format("TR{0}",Container.ItemIndex+1)%>);' onclick='rowclick(<%# String.Format("TR{0}",Container.ItemIndex+1)%>);' ondblclick="">
<asp:Literal id="lit_item" runat="server"></asp:Literal>
</tr>
</ItemTemplate>
<HeaderTemplate>
<table id="MyBodyTab" class="border" cellspacing="1" cellpadding="0" border="0" style="border-collapse:collapse;"
frame="void">
</HeaderTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
<div id="kb" runat="server" visible="false">
<table class="border" cellspacing="1" cellpadding="0" border="0" id="ctl00" style="width:100%;">
<tr class="tdbg" align="center" style="height:100px;">
<td colspan="11">没有任何符合条件的记录!</td>
</tr>
</table>
</div></div>
</div>
</td>
</tr>
<tr>
<td> <table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
<tr>
<td align="center" colspan="4"><div>
</div></td>
<td align="left" colspan="4">
<div id="wep" align="right">
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" Width="330px" PageSize="20" FirstPageText="首页" LastPageText="尾页"
NextPageText="下一页" PrevPageText="上一页" AlwaysShow="True" NumericButtonCount="5" ShowInputBox="Always" OnPageChanged="AspNetPager1_PageChanged">
</webdiyer:AspNetPager>
</div>
</td>
<td align="left" colspan="4">
<div id="dv" style="text-align:center" align="left">
<asp:Label ID="CustText" runat="server"></asp:Label>
</div></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
<asp:HiddenField ID="hd" runat="server" />
<%-- <!--查询窗口开始-->
<div id="alert" class=alert><div><h4 class=h4><span>查询设置</span><span id="close" class=close title="关闭">×</span></h4>
</div><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR><TD width=1 bgColor=#add7fd></TD><TD bgColor=#f6f7f8 height=100> <!--搜索 begin-->
<table id="advancedSearchTable" cellSpacing="1" cellPadding="0" width="98%" align="center"
bgColor="#e7e7e7" border="0">
<tr>
<td style="WIDTH: 110px; HEIGHT: 20px" width="110" bgColor="#ffffff" height="20"> 关联合同:</td>
<td style="HEIGHT: 20px" width="307" bgColor="#ffffff" height="20">
<asp:TextBox ID="txtcontract" runat="server"></asp:TextBox></td>
<td style="HEIGHT: 20px" width="98" bgColor="#ffffff"> 关联客户:</td>
<td style="HEIGHT: 20px" width="274" bgColor="#ffffff">
<asp:TextBox ID="txtnamefull" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="WIDTH: 110px" width="110" bgColor="#ffffff" height="20"> 负责人:</td>
<td bgColor="#ffffff" height="20">
<asp:TextBox ID="txtctcName" runat="server"></asp:TextBox></td>
<td bgColor="#ffffff"><FONT face="宋体"> 应收金额:</FONT></td>
<td bgColor="#ffffff"> <asp:TextBox ID="txttotal" runat="server"></asp:TextBox></td>
</tr>
<tr style="DISPLAY: none">
<td style="WIDTH: 110px" width="110" bgColor="#ffffff" height="20"> 计划日期:</td>
<td bgColor="#ffffff" colSpan="3" height="20"> <cc2:ZLTextBox ID="TxtBegin" runat="server" InputType="date" IsDisplayTime="False"></cc2:ZLTextBox> 到
<cc2:ZLTextBox ID="txtend" runat="server" InputType="date" IsDisplayTime="False"></cc2:ZLTextBox></td>
</tr>
<tr style="DISPLAY: none">
<td style="WIDTH: 110px" width="110" bgColor="#ffffff" height="20"> 收款编号:</td>
<td bgColor="#ffffff" colSpan="3" height="20">
<asp:TextBox ID="txtno" runat="server"></asp:TextBox></td>
</tr>
<tr style="display: none">
<td bgcolor="#ffffff" height="20" style="width: 110px" width="110">
期数:</td>
<td bgcolor="#ffffff" colspan="3" height="20"> <asp:DropDownList ID="ddlcs" runat="server">
<asp:ListItem Value="">--选择--</asp:ListItem>
<asp:ListItem Value=">">大于</asp:ListItem>
<asp:ListItem Value="<">小于</asp:ListItem>
<asp:ListItem Value="<=">小于等于</asp:ListItem>
<asp:ListItem Value="=">等于</asp:ListItem>
</asp:DropDownList>
<asp:TextBox ID="txtnum" runat="server" Width="35px"></asp:TextBox></td>
</tr>
<tr style="DISPLAY: none">
<td style="WIDTH: 110px; height: 20px;" bgColor="#ffffff">
<span style="font-family: 宋体"> 创建日期:</span></td>
<td bgcolor="#ffffff" colspan="3" style="height: 20px">
<cc2:ZLTextBox ID="txtsetbegin" runat="server" InputType="date" IsDisplayTime="False"></cc2:ZLTextBox> 到 <cc2:ZLTextBox
ID="txtsetend" runat="server" InputType="date" IsDisplayTime="False"></cc2:ZLTextBox> <FONT face="宋体"></FONT></td>
</tr>
<tr style="DISPLAY: none">
<td style="WIDTH: 110px" bgColor="#ffffff" height="20"> </td>
<td bgColor="#ffffff" height="-1" colspan="3">
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -