You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Settlements/RecvSettleApplication.aspx

259 lines
13 KiB
Plaintext

3 years ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RecvSettleApplication.aspx.cs" Inherits="DSWeb.Settlements.RecvSettleApplication" %>
<!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 runat="server">
<title>收费申请信息</title>
<style type="text/css">
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
</style>
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen"/>
<script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid.js" type="text/javascript"></script>
<script src="../js/dhtmlxgridcell.js" type="text/javascript"></script>
<script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_drag.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_group.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_mcol.js" type="text/javascript"></script>
<script src="../js/TGridCommon.js" type="text/javascript"></script>
<script src="../js/json2.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/dhtmlxcombo.js"></script>
<script type="text/javascript" src="../js/dhtmlxcombo_whp.js"></script>
<script type="text/javascript" src="../js/m97date/wdatepicker.js"></script>
<script type="text/javascript" src="../js/browser.js" ></script>
<script type="text/javascript">
window.dhx_globalImgPath="../images/";
</script>
<script type="text/javascript">
//回车键控制 document.onkeypress=function()
{
if(event.keyCode==13)
{
search();
}
}
function document.onkeydown(){
if(event.keyCode==116){
event.keyCode = 0;
event.cancelBubble = true;
return false;
}
}
</script>
<!--下拉菜单-->
<style type="text/css">
.anylinkcss
{
position:absolute;
visibility: hidden;
border:1px solid #C0C0C0;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height: 18px;
z-index: 100;
background-color: #ECF4FF;
width: 60px;
}
.anylinkcss a
{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid #C0C0C0;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
text-indent: 5px;
}
.anylinkcss a:hover
{
background-color: #C0C0C0;
color: white;
}
.btncss
{
width:100px;
BORDER-RIGHT: #2C59AA 1px solid;
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
BORDER-BOTTOM: #2C59AA 1px solid;
}
</style>
<script language="javascript">
var disappeardelay = 250 //menu disappear speed onMouseout (in miliseconds)
var enableanchorlink = 0 //Enable or disable the anchor link when clicked on? (1=e, 0=d)
var hidemenu_onclick = 1 //hide menu when user clicks within menu? (1=yes, 0=no)
var ie5 = document.all
var ns6 = document.getElementById && !document.all
function getposOffset(what, offsettype) {
var totaloffset = (offsettype == "left") ? what.offsetLeft : what.offsetTop;
var parentEl = what.offsetParent;
while (parentEl != null) {
totaloffset = (offsettype == "left") ? totaloffset + parentEl.offsetLeft : totaloffset + parentEl.offsetTop;
parentEl = parentEl.offsetParent;
}
return totaloffset;
}
function showhide(obj, e, visible, hidden) {
if (ie5 || ns6)
dropmenuobj.style.left = dropmenuobj.style.top = -500
if (e.type == "click" && obj.visibility == hidden || e.type == "mouseover")
obj.visibility = visible
else if (e.type == "click")
obj.visibility = hidden
}
function iecompattest() {
return (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge) {
var edgeoffset = 0
if (whichedge == "rightedge") {
var windowedge = ie5 && !window.opera ? iecompattest().scrollLeft + iecompattest().clientWidth - 15 : window.pageXOffset + window.innerWidth - 15
dropmenuobj.contentmeasure = dropmenuobj.offsetWidth
if (windowedge - dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset = dropmenuobj.contentmeasure - obj.offsetWidth
}
else {
var windowedge = ie5 && !window.opera ? iecompattest().scrollTop + iecompattest().clientHeight - 15 : window.pageYOffset + window.innerHeight - 18
dropmenuobj.contentmeasure = dropmenuobj.offsetHeight
if (windowedge - dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset = dropmenuobj.contentmeasure + obj.offsetHeight
}
return edgeoffset
}
function dropdownmenu(obj, e, dropmenuID) {
if (window.event) event.cancelBubble = true
else if (e.stopPropagation) e.stopPropagation()
if (typeof dropmenuobj != "undefined") //hide previous menu
dropmenuobj.style.visibility = "hidden"
clearhidemenu()
if (ie5 || ns6) {
obj.onmouseout = delayhidemenu
dropmenuobj = document.getElementById(dropmenuID)
if (hidemenu_onclick) dropmenuobj.onclick = function () { dropmenuobj.style.visibility = 'hidden' }
dropmenuobj.onmouseover = clearhidemenu
dropmenuobj.onmouseout = ie5 ? function () { dynamichide(event) } : function (event) { dynamichide(event) }
showhide(dropmenuobj.style, e, "visible", "hidden")
dropmenuobj.x = getposOffset(obj, "left")
dropmenuobj.y = getposOffset(obj, "top")
dropmenuobj.style.left = dropmenuobj.x - clearbrowseredge(obj, "rightedge") - 3 + "px"
dropmenuobj.style.top = dropmenuobj.y - clearbrowseredge(obj, "bottomedge") + obj.offsetHeight + 3 + "px"
}
return clickreturnvalue()
}
function clickreturnvalue() {
if ((ie5 || ns6) && !enableanchorlink) return false
else return true
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
function dynamichide(e) {
if (ie5 && !dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6 && e.currentTarget != e.relatedTarget && !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
function delayhidemenu() {
delayhide = setTimeout("dropmenuobj.style.visibility='hidden'", disappeardelay)
}
function clearhidemenu() {
if (typeof delayhide != "undefined")
clearTimeout(delayhide)
}
</script>
<script src="../js/RecvSettleApp.js" type="text/javascript"></script>
</head>
<body onload="resizeGrid('mygrid_container_application','gridContain','dvContainer',210);search();initCombo()">
<div style=" width:100%; height:100%; position:relative;" oncontextmenu="return true" id="dvContainer">
<div class="btn-content">
<div class="btn-blank"></div>
<div class="xbtn-large">
<div class="btntxt" onclick="applicationAction()">新增收费申请</div>
</div>
<div class="xbtn-img" onclick="refreshList()">
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
</div>
<div class="xbtn2" style="width:70px;">
<div class="btncss" style=" width:40px; height:16px;text-decoration: none; font-size:12px; color:Black; text-align:center;">
<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu1')" style="text-decoration: none; font-size:12px; color:Black;">打印</a>
</div>
<div id="anylinkmenu1" class="anylinkcss" style=" width:64px;" runat="server">
<a href="#" style="text-decoration: none; font-size:12px; color:Black;" id="btprint" onclick="printInvoice();" runat="server">打印列表</a>
<a href="#" style="text-decoration: none; font-size:12px; color:Black;" id="btprint2" onclick="printInvoice2();" runat="server">打印多票</a>
</div>
</div>
</div>
<form id="form1" runat="server">
<table>
<tr>
<td style="width:70px;"><div style="width:70px; text-align:right;">审核状态:</div></td>
<td style="width:100px;">
<asp:DropDownList ID="ddlBILLSTATUS" runat="server" Width="105px">
<asp:ListItem Value="7">ALL</asp:ListItem>
<asp:ListItem Selected="True" Value="3">审批中</asp:ListItem>
<asp:ListItem Value="0">已审批</asp:ListItem>
<asp:ListItem Value="6">审核驳回</asp:ListItem>
<asp:ListItem Value="1">未提交</asp:ListItem>
<asp:ListItem Value="2">已提交</asp:ListItem>
<asp:ListItem Value="4">已结算</asp:ListItem>
<asp:ListItem Value="5">部分结算</asp:ListItem>
</asp:DropDownList>
</td>
<td style="width:70px;"><div style="width:70px; text-align:right;">结算单位:</div></td>
<td style="width:100px;"><select id="sel_customer" runat="server" style="width:102px;" class="txtTab"></select></td>
<td style="width:70px;"><div style="width:70px; text-align:right;">结算日期:</div></td>
<td style="width:80px;"><input type="text" id="txt_beginDate" onclick="WdatePicker()" style="width:80px" class="txtTab"/></td>
<td style="width:8px;"><div style="width:8px;">~</div></td>
<td style="width:80px;"><input type="text" id="txt_endDate" onclick="WdatePicker()" style="width:80px" class="txtTab"/></td>
<td align=center><input id="input1" runat="server" type="button" value="查询" onclick="search();" style="width:40px; height:20px;" class="btncss"/></td>
</tr>
<tr>
<td style="width:70px;"><div style="width:70px; text-align:right;">申请编号:</div></td>
<td style="width:100px;"><input type="text" id="txt_billno" runat="server" class="txtTab" style="width:100px;"/></td>
<td style="width:70px;"><div style="width:70px; text-align:right;">业务编号:</div></td>
<td style="width:100px;"><input type="text" id="txt_blno" runat="server" class="txtTab" style="width:100px;"/></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><input id="input2" runat="server" type="button" value="清空" onclick="initGrid();" style="width:40px; height:20px;" class="btncss"/></td>
</tr>
</table>
<div class="grid-ie7" id="gridContain"><div id="mygrid_container_application" style="width:1100px; height:420px;" runat="server"></div></div>
<div id="pager" style="width: 99%; margin: 0px; padding: 4px; border: 0px solid #999;">
</div>
<div id="info" style="text-align: center; width: 100%; margin: 0 2px; padding: 4px; border: 1px solid #999;display:none;"></div>
<input type="hidden" id="h_mod" runat="server" />
<input type="hidden" id="h_customer" runat="server"/>
<input type="hidden" id="h_searchJson" runat="server" />
</form>
</div>
</body>
</html>