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.

132 lines
8.2 KiB
Plaintext

11 months ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaySettlement.aspx.cs" Inherits="DSWeb.Settlements.PaySettlement" %>
<!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;}
.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>
<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/TCombo.js" ></script>
<script src="../js/browser.js" type="text/javascript"></script>
<script type="text/javascript">
window.dhx_globalImgPath="../images/";
function document.onkeydown(){
if(event.keyCode==116){
event.keyCode = 0;
event.cancelBubble = true;
return false;
}
}
</script>
<script src="../js/PaySettlement.js" type="text/javascript"></script>
</head>
<body onload="resizeGrid('mygrid_container_paysettlement','gridContain','dvContainer',210);createGrid();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-small">
<div class="btntxt" onclick="settleAction()">结算</div>
</div>
<div class="xbtn-large">
<div class="btntxt" onclick="payfeeapplsettle()">付费申请结算</div>
</div>
<div class="xbtn" id="btn_cancelsettle" onclick="cancelSettle()">
<div class="btntxt">撤销结算</div>
</div>
<div class="xbtn" id="btn_createcheque" onclick="createCheque()">
<div class="btntxt">生成支票</div>
</div>
<div class="xbtn" id="btn_postsettle" onclick="postSettle()">
<div class="btntxt">提交结算</div>
</div>
<div class="xbtn-img" id="btn_delete" onclick="deleteUnSettle()">
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除"/></div>
</div>
<div class="xbtn-img" onclick="refreshList()">
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
</div>
<div class="xbtn-img" onclick="printSettlement()">
<div class="btnimg"><img src="../images/icons/print.gif" width="16px" title="费用打印"/></div>
</div>
<div class="xbtn-img" id=divexcel runat=server onclick="setExcel();">
<div class="btnimg"><img src="../images/icons/excel.gif" width="16px" height="16px" title="导出" class="cssfont"/></div>
</div>
<div class="xbtn-selection">
<div class="btnimg"><select id="sel_type" style="width:180px;" onchange="checkList(this.options[this.selectedIndex].value)"><option value="2">查看已结算的付费</option><option value="1">查看已保存未结算的付费</option></select></div>
</div>
</div>
<table>
<tr>
<td style="width:60px;"><div style="width:60px; text-align:right;">结算日期:</div></td>
<td style="width:80px;"><input type="text" id="txt_beginDate" onclick="WdatePicker()" style="width:80px" class="txtTab"/></td>
<td align=center style="width:10px;"><div style="width:10px;">~</div></td>
<td style="width:90px;"><input type="text" id="txt_endDate" onclick="WdatePicker()" style="width:80px" class="txtTab"/></td>
<td style="width:60px;"><div style="width:60px; text-align:right;">结算单位:</div></td>
<td style="width:110px;"><select id="sel_customer" runat="server" style="width:102px;" class="txtTab"></select></td>
<td style="width:60px;"><div style="width:60px; 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:40px;">
<input id="input1" runat="server" type="button" value="查询" onclick="search();" style="width:40px; height:20px;" class="btncss"/>
</td>
</tr>
<tr>
<td style="width:40px;"><div style="width:40px; text-align:right;">金额:</div></td>
<td style="width:80px;"><input type="text" id="txt_amount1" runat="server" class="txtTab" style="width:80px;" maxlength="20" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="getIsNum(this);"/></td>
<td style="width:10px;"><div style="width:10px; text-align:right;">~</div></td>
<td style="width:90px;"><input type="text" id="txt_amount2" runat="server" class="txtTab" style="width:80px;" maxlength="20" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="getIsNum(this);"/></td>
<td style="width:60px;"><div style="width:60px; text-align:right;">主提单号:</div></td>
<td style="width:110px;"><input type="text" id="txt_mblno" runat="server" class="txtTab" style="width:100px;"/></td>
<td style="width:60px;"><div style="width:60px; text-align:right;">支票号:</div></td>
<td style="width:110px;"><input type="text" id="txt_other" runat="server" class="txtTab" style="width:100px;"/></td>
<td style="width:40px;">
<input id="Button1" 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_paysettlement" style="width:1600px; height:440px;" 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>
<form id="form1" runat="server">
<div>
<input type="hidden" id="h_mod" runat="server" />
<input type="hidden" id="h_customer" runat="server"/>
<input type="hidden" id="hdSearch" runat="server" />
<input type="hidden" id="hdNAMES" runat="server" />
<input type="hidden" id="hdSQL" runat="server" />
<asp:ImageButton ID="ibExcel" runat="server" onclick="ibExcel_Click" ImageUrl="../images/icons/excel.gif" ToolTip="导出" class="cssfont" style="display:none;"/>
</div>
</form>
</div>
</body>
</html>