204 lines
13 KiB
Plaintext
204 lines
13 KiB
Plaintext
3 years ago
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CommonSettlement.aspx.cs" Inherits="DSWeb.Settlements.CommonSettlement" %>
|
||
|
|
||
|
<%@ Register assembly="DSWebComponent" namespace="DSWebComponent" tagprefix="cc1" %>
|
||
|
|
||
|
<!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">
|
||
|
html,body{font-size:12px;margin:0px;height:100%;}
|
||
|
td{
|
||
|
font-size:14px;
|
||
|
}
|
||
|
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
|
||
|
.ck{border:1px solid #A0A0A4; border-color:#6699CC;}
|
||
|
.btn
|
||
|
{
|
||
|
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
|
||
|
}
|
||
|
dvTitle{
|
||
|
font-size:12px;
|
||
|
}
|
||
|
</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"/>
|
||
|
<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_whp.js"></script>
|
||
|
<script type="text/javascript" src="../js/m97date/wdatepicker.js"></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>
|
||
|
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
|
||
|
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen"/>
|
||
|
<script src="../js/CommonSettlement.js" type="text/javascript"></script>
|
||
|
</head>
|
||
|
<body onload="createOrder();initCombos()" style="background-color:#ecf2ff;">
|
||
|
<div style="width:100%;height:100%;" oncontextmenu="return false">
|
||
|
<table style="border-width:0 1px 1px 0;padding:2px; font-size:12px;margin-left:2px;margin-right:10px;">
|
||
|
<tr>
|
||
|
<td style="width:70px;"><div id="dvCustomer" runat="server" style="text-align:right;width:70px; font-size:12px;">结算单位:</div></td>
|
||
|
<td style="width:100px;"><select id="sel_customer" runat="server" style="width:100px;"></select></td>
|
||
|
<td style="width:50px;"><div id="dvBillNO" runat="server" style="text-align:right;width:50px; font-size:12px;">编号:</div></td>
|
||
|
<td style="width:100px;"><input type="text" id="txt_billNO" class="txtTab" style="width:100px;"/></td>
|
||
|
<td style="width:70px;"><div id="dvSettleTime" runat="server" style="text-align:right;width:70px; font-size:12px;">业务日期:</div></td>
|
||
|
<td style="width:100px;"><input type="text" id="txt_beginTime" class="txtTab" style="width:100px;" onclick="WdatePicker()"/></td>
|
||
|
<td style="width:50px;"><div id="Div3" runat="server" style="text-align:center;width:50px; font-size:12px;">~</div></td>
|
||
|
<td style="width:100px;"><input type="text" id="txt_endTime" class="txtTab" style="width:100px;" onclick="WdatePicker()"/></td>
|
||
|
<td style="width:100px" rowspan="3">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width:100px;">
|
||
|
<div onclick="initSearch()" style="margin-left:5px;height:20px;width:100%;">
|
||
|
<div style="width:17px; height:17px; float:left; background-color:#ecf2ff;"></div>
|
||
|
<div style="float:left; font-size:12px; cursor:default;">清空条件</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<div onclick="searchOrder()" style="margin-left:5px;height:20px;">
|
||
|
<div style="width:17px; height:17px; float:left; background-color:#ecf2ff;"><img src="../images/icons/search.gif" title="查询费用"/></div>
|
||
|
<div style="float:left; font-size:12px; cursor:default;">查询费用</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</td>
|
||
|
<td style="width:50px;"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="width:70px;"><div id="dvBSType" runat="server" style="text-align:right;width:70px;font-size:12px;">业务类型:</div></td>
|
||
|
<td style="width:100px;"><select id="sel_bstype" runat="server" style="width:100px;"><option value="0">全部</option><option value="1">海运出口</option><option value="2">海运进口</option><option value="3">空运出口</option><option value="4">空运进口</option><option value="5">陆运托运</option><option value="9">陆运派车</option><option value="6">仓储费</option><option value="7">仓储入库</option><option value="8">仓储出库</option><option value="11">报关业务</option><option value="12">大宗散货</option></select></td>
|
||
|
<td style="width:50px;"><div id="dvFeeType" runat="server" style="text-align:right;width:50px;font-size:12px;">收/付:</div></td>
|
||
|
<td style="width:100px;"><select id="sel_feetype" runat="server" style="width:100px;"><option value="0">全部</option><option value="1" selected=1>收</option><option value="2">付</option></select></td>
|
||
|
<td style="width:70px;"><div id="dvVessel" runat="server" style="text-align:right;width:70px;font-size:12px;">船名:</div></td>
|
||
|
<td style="width:100px;"><select id="sel_vessel" runat="server" style="width:100px;"></select></td>
|
||
|
<td style="width:50px;"><div id="dvVoyno" runat="server" style="text-align:right;width:50px;font-size:12px;">航次:</div></td>
|
||
|
<td style="width:100px;"><select id="sel_voyno" runat="server" style="width:100px;"></select></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="width:70px;"><div id="dvFeeName" runat="server" style="text-align:right;width:70px;font-size:12px;">费用名称:</div></td>
|
||
|
<td style="width:100px;"><select id="sel_feename" runat="server" style="width:100px;"></select></td>
|
||
|
<td style="width:50px;"><div id="dvCurrency" style="text-align:right;width:50px;font-size:12px;">币别:</div></td>
|
||
|
<td style="width:100px;"><select id="sel_currency" runat="server" style="width:100px;"><option value="0">全部</option><option value="1">RMB</option><option value="2">USD</option></select></td>
|
||
|
<td style="width:70px;"><div style="text-align:right;width:70px;font-size:12px;">金额:</div></td>
|
||
|
<td style="width:100px;"><input type="text" id="txt_amount1" runat="server" class="txtTab" style="width:100px;" 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:50px;"><div style="width:50px; text-align:center;">~</div></td>
|
||
|
<td style="width:100px;"><input type="text" id="txt_amount2" runat="server" class="txtTab" style="width:100px;" 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>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="width:70px;"><div id="dvAccDate" runat="server" style="text-align:right;width:70px;font-size:12px;">会计期间:</div></td>
|
||
|
<td style="width:100px;"><input type="text" id="txt_Accdate" class="txtTab" style="width:100px" onclick="WdatePicker({ dateFmt: 'yyyy-M', isShowToday: false, isShowClear: false })"/></td>
|
||
|
<td style="width:50px;"></td>
|
||
|
<td style="width:100px;"></td>
|
||
|
<td style="width:70px;"></td>
|
||
|
<td style="width:100px;"></td>
|
||
|
<td style="width:50px;"></td>
|
||
|
<td style="width:100px;"></td>
|
||
|
<td style="width:100px;"></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<table style="border:0; padding:0; margin:0;">
|
||
|
<tr>
|
||
|
<td style="border:0; padding:0; margin:0;"><div id="mygrid_container_order" style="width:440px; height:300px;" runat="server"></div></td>
|
||
|
<td style="border:0; padding:0; margin:0;"><div id="mygrid_container_fee" style="width:520px; height:300px;" runat="server"></div></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<form id="form1" runat="server">
|
||
|
<table style="border-width:0 1px 1px 0;padding:2px; width:100%; font-size:12px;margin-left:2px;margin-right:10px;">
|
||
|
<tr>
|
||
|
<td style="width:100px; height:20px;"><div id="dvTotalRecvAmount" style="font-size:12px;width:100px;text-align:right;">合计应收金额:</div></td>
|
||
|
<td style="width:40px;"></td>
|
||
|
<td style="width:60px"><div id="dvTotalRecvRMB" style="width:60px;font-size:12px;">RMB</div></td>
|
||
|
<td style="width:8%"><div id="dvTotalRecvRMBVal" style="width:100%;text-align:left;font-size:12px;"></div></td>
|
||
|
<td style="width:60px"><div id="dvTotalRecvUSD" style="width:40px;font-size:12px;">USD</div></td>
|
||
|
<td style="width:8%"><div id="dvTotalRecvUSDVal" style="width:100%;text-align:left;font-size:12px;"></div></td>
|
||
|
<td style="width:60%"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="width:100px;height:20px;"><div id="dvTotalPayAmount" style="font-size:12px;width:100px;text-align:right;">合计应付金额:</div></td>
|
||
|
<td style="width:40px;"></td>
|
||
|
<td style="width:60px"><div id="dvTotalPayRMB" style="width:60px;font-size:12px;">RMB</div></td>
|
||
|
<td style="width:8%"><div id="dvTotalPayRMBVal" style="width:100%;text-align:left;font-size:12px;"></div></td>
|
||
|
<td style="width:60px"><div id="dvTotalPayUSD" style="width:60px;font-size:12px;">USD</div></td>
|
||
|
<td style="width:8%"><div id="dvTotalPayUSDVal" style="width:100%;text-align:left;font-size:12px;"></div></td>
|
||
|
<td style="width:60%"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="width:100px;height:20px;"><div id="dvTotalSettleAmount" style="width:100px;font-size:12px;text-align:right;">合计结算金额:</div></td>
|
||
|
<td style="width:40px;"></td>
|
||
|
<td style="width:60px"><div id="dvTotalSettleRMB" style="width:100%;text-align:left;font-size:12px;">RMB</div></td>
|
||
|
<td style="width:8%"><div id="dvTotalSettleRMBVal" style="width:100%;text-align:left;font-size:12px;"></div></td>
|
||
|
<td style="width:60px"><div id="dvTotalSettleUSD" style="width:60px;font-size:12px;">USD</div></td>
|
||
|
<td style="width:8%"><div id="dvTotalSettleUSDVal" style="width:100%;text-align:left;font-size:12px;"></div></td>
|
||
|
<td style="width:60%"></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<table style="border-width:0 1px 1px 0;padding:2px; width:300px; font-size:12px;margin-left:2px;margin-right:10px; margin-bottom:10px;">
|
||
|
<tr>
|
||
|
<td width="100px" height="20px" ><div id="Div1" style="width:100px;font-size:12px;text-align:right;">折合币别结算:</div></td>
|
||
|
<td width="90px"><div id="dvEquRmb" style="float:right; font-size:12px;">RMB</div><div style="float:right;"><input type="checkbox" id="ck_rmb" onclick="doSettleCurrency('ck_rmb')" runat="server"/></div>
|
||
|
</td>
|
||
|
<td width="90px"><div id="dvEquUsd" style="float:right;font-size:12px;">USD</div><div style="float:right"><input type="checkbox" id="ck_usd" onclick="doSettleCurrency('ck_usd')" runat="server"/></div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div style=" margin-left:30px;">
|
||
|
<input type="button" id="btn_settle" class="btn" value="结算以上费用" onclick="doSettle()"/>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<div>
|
||
|
<input type="hidden" id="h_bsno" runat="server"/>
|
||
|
<input type="hidden" id="h_customer" runat="server"/>
|
||
|
<input type="hidden" id="h_vessel" runat="server" />
|
||
|
<input type="hidden" id="h_voyno" runat="server" />
|
||
|
<input type="hidden" id="h_feename" runat="server" />
|
||
|
<input type="hidden" id="h_feecache" runat="server" />
|
||
|
<input type="hidden" id="h_sessionid" runat="server" />
|
||
|
<input type="hidden" id="h_exrmbtousd" runat="server" />
|
||
|
<input type="hidden" id="h_exusdtormb" runat="server" />
|
||
|
<input type="hidden" id="h_ordercache" runat="server" />
|
||
|
<input type="hidden" id="h_cachename" runat="server" />
|
||
|
<input type="hidden" id="h_postsession" runat="server" />
|
||
|
<input type="hidden" id="h_handle" runat="server" />
|
||
|
<input type="hidden" id="h_verifycache" runat="server"/>
|
||
|
<input type="hidden" id="h_verifycur" runat="server" />
|
||
|
<input type="hidden" id="h_totalcache" runat="server" />
|
||
|
<input type="hidden" id="h_bsnocache" runat="server" />
|
||
|
<div id="dvResult"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|