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.
DS7HYRD/DSWeb/Settlements/CommonPaySettleApplication....

196 lines
12 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CommonPaySettleApplication.aspx.cs" Inherits="DSWeb.Settlements.CommonPaySettleApplication" %>
<!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;}
dvTitle{
font-size:12px;
}
.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">
window.dhx_globalImgPath="../images/";
function document.onkeydown(){
if(event.keyCode==116){
event.keyCode = 0;
event.cancelBubble = true;
return false;
}
}
</script>
<script src="../js/CommonPaySettleApp.js" type="text/javascript"></script>
</head>
<body onload="refreshParentDialog();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; width:100%; font-size:12px;margin-left:2px;margin-right:10px;">
<tr>
<td style="width:80px;"><div id="dvCustomer" runat="server" style="text-align:right;width:80px; font-size:12px;">结算单位:</div></td>
<td style="width:10%;"><select id="sel_customer" runat="server" style="width:180px;"></select></td>
<td style="width:80px;"><div id="dvBillNO" runat="server" style="text-align:right;width:80px; font-size:12px;">编号:</div></td>
<td style="width:10%;"><input type="text" id="txt_billNO" class="txtTab" style="width:98%;"/></td>
<td style="width:80px;"><div id="dvSettleTime" runat="server" style="text-align:right;width:80px; font-size:12px;">业务日期:</div></td>
<td style="width:10%; height:20px;">
<table style="width:180px; border:0; padding:0; height:20px;">
<tr>
<td style="height:15px;"><input type="text" id="txt_beginTime" class="txtTab" style="width:76px" onclick="WdatePicker()"/></td>
<td style="height:15px;"><div>~</div></td>
<td style="height:15px;"><input type="text" id="txt_endTime" class="txtTab" style="width:75px" onclick="WdatePicker()"/></td>
</tr>
</table>
</td>
<td style="width:10%" rowspan="3">
<table>
<tr>
<td style="width:100px;">
<input id="input1" runat="server" type="button" value="清空条件" onclick="initSearch();" style="width:60px; height:20px;" class="btncss"/>
</td>
</tr>
<tr>
<td>
<input id="Button1" runat="server" type="button" value="查询费用" onclick="searchOrder();" style="width:60px; height:20px;" class="btncss"/>
</td>
</tr>
</table>
</td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:80px;"><div id="dvVessel" runat="server" style="text-align:right;width:80px;font-size:12px;">船名:</div></td>
<td style="width:10%;"><select id="sel_vessel" runat="server" style="width:180px;"></select></td>
<td style="width:80px;"><div id="dvVoyno" runat="server" style="text-align:right;width:80px;font-size:12px;">航次:</div></td>
<td style="width:10%;"><select id="sel_voyno" runat="server" style="width:180px;"></select></td>
<td style="width:80px;"><div id="dvFeeName" runat="server" style="text-align:right;width:80px;font-size:12px;">费用名称:</div></td>
<td style="width:10%;"><select id="sel_feename" runat="server" style="width:180px;"></select></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:80px;"><div id="dvBSType" runat="server" style="text-align:right;width:80px;font-size:12px;">业务类型:</div></td>
<td style="width:10%;"><select id="sel_bstype" runat="server" style="width:180px;"><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:80px;"><div id="dvFeeType" runat="server" style="text-align:right;width:80px;font-size:12px;">收/付:</div></td>
<td style="width:10%;"><select id="sel_feetype" runat="server" style="width:180px;"><option value="0">全部</option><option value="1">收</option><option value="2" selected=selected>付</option></select></td>
<td style="width:80px;"><div id="dvCurrency" style="text-align:right;width:80px;font-size:12px;">币别:</div></td>
<td style="width:10%;"><select id="sel_currency" runat="server" style="width:180px;"><option value="0" selected=selected>全部</option><option value="1">RMB</option><option value="2">USD</option></select></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:80px;"><div id="dvACCDATE" runat="server" style="text-align:right;width:80px; font-size:12px;">会计期间:</div></td>
<td style="width:10%;">
<input type="text" id="txt_AccSta" class="txtTab" style="width:176px" onclick="WdatePicker({ dateFmt: 'yyyy-M', isShowToday: false, isShowClear: false })"/>
</td>
<td style="width:80px;"><div id="Div2" runat="server" style="text-align:right;width:80px;font-size:12px;">操作:</div></td>
<td style="width:10%;"><select id="ddlOP" runat="server" style="width:180px;"></select></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" checked=checked 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="btncss" value="申请上述费用" onclick="doSettle()"/>
</div>
<div style="width:100%;" oncontextmenu="return false">
<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_mod" 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_refreshstate" runat="server" />
<input type="hidden" id="h_totalcache" runat="server" />
<input type="hidden" id="h_bsnocache" runat="server" />
<input type="hidden" id="hd_comboOP" runat="server" />
<input type="hidden" id="hdUserID" runat="server" />
<div id="dvResult"></div>
</div>
</form>
</div>
</body>
</html>