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/Settlement.aspx

126 lines
7.2 KiB
Plaintext

3 years ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Settlement.aspx.cs" Inherits="DSWeb.Settlements.Settlement" %>
<!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 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;
}
}
document.onkeypress=function()
{
if(event.keyCode==13)
{
search();
}
}
</script>
<script src="../js/Settlement.js" type="text/javascript"></script>
</head>
<body onload="resizeGrid('mygrid_container_settlement','gridContain','dvContainer',210);createGrid();initCombo()">
<div style="width:100%;height:100%;" oncontextmenu="return true" id="dvContainer">
<div class="btn-content">
<div class="btn-blank"></div>
<div class="xbtn-small">
<div class="btntxt" onclick="settlementAction()">结算</div>
</div>
<div class="xbtn">
<div class="btntxt" onclick="InvoiceVerification()">发票到账</div>
</div>
<div class="xbtn" style="width:90px;">
<div class="btntxt" onclick="recvfeeapplsettle()">收费申请结算</div>
</div>
<div class="xbtn">
<div class="btntxt" onclick="cancelSettle()">撤销结算</div>
</div>
<div class="xbtn-large" style="display:none;">
<div class="btntxt" onclick="orderRecvModify()">发票申请核销</div>
</div>
<div class="xbtn-large" style="display:none;">
<div class="btntxt" onclick="orderRecvAudit()">生成进账单</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>
<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 style="width:8px;"><div style="width:8px;">~</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:100px;"><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:60px;"><div style="width:60px; 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_settlement" style="width:1500px; 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>
<form id="form1" runat="server">
<input type="hidden" id="h_customer" runat="server"/>
</form>
</div>
</body>
</html>