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.
208 lines
16 KiB
Plaintext
208 lines
16 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DoPayApplicationSettlement.aspx.cs" Inherits="DSWeb.Settlements.DoPayApplicationSettlement" %>
|
|
|
|
<!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">
|
|
.txtTab4{border:1px solid #A0A0A4; border-color:#6699CC;}
|
|
.btn{
|
|
width:95px;
|
|
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" type="text/javascript" src="../js/m97date/wdatepicker.js"></script>
|
|
<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 src="../js/DoPayApplicationSettlement.js" type="text/javascript"></script>
|
|
<script src="../js/DoPayApplicationSettlement2.js" type="text/javascript"></script>
|
|
|
|
</head>
|
|
<body onload="getonload();" style="background-color:#ecf2ff;">
|
|
<form id="form1" runat="server">
|
|
<table style="border-width:0 1px 1px 0;padding:2px; margin-left:2px;margin-right:5px;">
|
|
<tr>
|
|
<td width="150px" align=right><div id="dvBillNO" runat="server" style="width:150px;">结算编号:</div></td>
|
|
<td width="150px"><input type="text" id="txt_billNO" runat="server" disabled = 0 class="txtTab4" style="width:150px"/></td>
|
|
<td width="150px" align=right><div id="dvCustomerName" runat="server" style="width:150px;">结算单位:</div></td>
|
|
<td width="150px"><input type="text" id="txt_customerName" runat="server" class="txtTab4" disabled = 0 style="width:150px"/></td>
|
|
<td width="150px" align=right><div id="dvBillStatus" runat="server" style="width:150px;">结算单状态:</div></td>
|
|
<td width="150px"><input type="text" id="txt_billStatus" runat="server" disabled = 0 class="txtTab4" style="width:150px"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="150px" align=right><div id="dvSettleType" runat="server" style="width:150px;">结算方式:</div></td>
|
|
<td width="150px"><select id="sel_settlemode" runat="server" style="width:155px;" class="txtTab4"><option value="1">现金</option><option value="2">支票</option><option value="3">电汇</option><option value="4">转账</option><option value="5">承兑汇票</option></select></td>
|
|
<td width="150px" align=right><div id="dvVoucherNO" runat="server" style="width:150px;">凭证号码:</div></td>
|
|
<td width="150px"><input type="text" id="txt_voucherNO" runat="server" class="txtTab4" style="width:150px"/></td>
|
|
<td width="150px" align=right><div id="dvChequeNo" runat="server" style="width:150px;">本位币支票号码:</div></td>
|
|
<td width="150px"><input type="text" id="txt_chequeno" runat="server" class="txtTab4" style="width:150px"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="150px" align=right><div id="dvSettleUser" runat="server" style="width:150px;">结算人:</div></td>
|
|
<td width="150px"><input type="text" id="txt_settleUser" runat="server" style="width:150px" disabled = 0 class="txtTab4"/></td>
|
|
<td width="150px" align=right><div id="dvSettleTime" runat="server" style="width:150px;">结算时间:</div></td>
|
|
<td width="150px"><input type="text" id="txt_settleTime" runat="server" class="txtTab4" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});" style="width:150px"/></td>
|
|
<td width="150px" align=right><div id="Div1" runat="server" style="width:150px;">外币支票号码:</div></td>
|
|
<td width="150px"><input type="text" id="txt_chequenousd" runat="server" class="txtTab4" style="width:150px"/></td>
|
|
</tr>
|
|
<tr><td></td></tr>
|
|
<tr>
|
|
<td colspan=6>
|
|
<div id="mygrid_container_paydo" style="width:100%; height:100px;" runat="server" class="txtTab"></div>
|
|
</td>
|
|
</tr>
|
|
<tr><td></td></tr>
|
|
<tr>
|
|
<td colspan=6>
|
|
<div id=YFDiv runat=server style="display:none;">
|
|
<table width=100% style="border: thin groove #6699CC;">
|
|
<tr><td></td></tr>
|
|
<tr>
|
|
<td align=center width="150px" colspan=2><div id="Div11" runat="server" style="width:150px;">记账资料</div></td>
|
|
<td>+</td>
|
|
<td align=center width="150px" colspan=2><div id="Div14" runat="server" style="width:150px;">预付支资料</div></td>
|
|
<td>=</td>
|
|
<td align=center width="150px" colspan=2><div id="Div12" runat="server" style="width:150px;">实付支资料</div></td>
|
|
<td>+</td>
|
|
<td align=center width="150px" colspan=2><div id="Div13" runat="server" style="width:150px;">财务费用</div></td>
|
|
<td>+</td>
|
|
<td align=center width="150px" colspan=2><div id="Div15" runat="server" style="width:150px;">预付支取用资料</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td align=center width="150px" colspan=2><div id="Div22" runat="server" style="width:150px;"></div></td>
|
|
<td></td>
|
|
<td align=center width="150px" colspan=2><div id="Div23" runat="server" style="width:150px;"></div></td>
|
|
<td></td>
|
|
<td align=center width="150px" colspan=2><div id="Div24" runat="server" style="width:150px;"></div></td>
|
|
<td></td>
|
|
<td align=center width="150px" colspan=2><div id="Div25" runat="server" style="width:150px;"></div></td>
|
|
<td></td>
|
|
<td align=center width="150px" colspan=2>
|
|
<input type="button" id="btAccess" value="取用 / 撤销" class="btn" onclick="setAccess('add')" runat="server" style="width:80px;"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30px" align=right><div id="Div2" runat="server" style="width:30px;">币别</div></td>
|
|
<td width="100px"><select id="ddl_bb1" runat="server" style="width:105px;" class="txtTab4"><option value="RMB" selected=selected>RMB</option><option value="USD">USD</option><option value=""></option></select></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div3" runat="server" style="width:30px;">币别</div></td>
|
|
<td width="100px"><select id="ddl_bb2" runat="server" style="width:105px;" class="txtTab4"><option value="RMB" selected=selected>RMB</option><option value="USD">USD</option><option value=""></option></select></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div4" runat="server" style="width:30px;">币别</div></td>
|
|
<td width="100px"><select id="ddl_bb3" runat="server" style="width:105px;" class="txtTab4"><option value="RMB" selected=selected>RMB</option><option value="USD">USD</option><option value=""></option></select></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div5" runat="server" style="width:30px;">币别</div></td>
|
|
<td width="100px"><select id="ddl_bb4" runat="server" style="width:105px;" class="txtTab4"><option value="RMB" selected=selected>RMB</option><option value="USD">USD</option><option value=""></option></select></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div6" runat="server" style="width:30px;">币别</div></td>
|
|
<td width="100px"><select id="ddl_bb5" runat="server" style="width:105px;" class="txtTab4"><option value="RMB" selected=selected>RMB</option><option value="USD">USD</option><option value=""></option></select></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30px" align=right><div id="Div7" runat="server" style="width:30px;">汇率</div></td>
|
|
<td width="100px"><input type="text" id="txt_hl1" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}"/></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div8" runat="server" style="width:30px;">汇率</div></td>
|
|
<td width="100px"><input type="text" id="txt_hl2" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}"/></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div9" runat="server" style="width:30px;">汇率</div></td>
|
|
<td width="100px"><input type="text" id="txt_hl3" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}"/></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div10" runat="server" style="width:30px;">汇率</div></td>
|
|
<td width="100px"><input type="text" id="txt_hl4" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}"/></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div16" runat="server" style="width:30px;">汇率</div></td>
|
|
<td width="100px"><input type="text" id="txt_hl5" name="txt_hl5" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30px" align=right><div id="Div17" runat="server" style="width:30px;">金额</div></td>
|
|
<td width="100px"><input type="text" id="txt_je1" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="txt_je1_onblur();"/></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div18" runat="server" style="width:30px;">金额</div></td>
|
|
<td width="100px"><input type="text" id="txt_je2" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}"/></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div19" runat="server" style="width:30px;">金额</div></td>
|
|
<td width="100px"><input type="text" id="txt_je3" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="txt_je3_onblur();"/></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div20" runat="server" style="width:30px;">金额</div></td>
|
|
<td width="100px"><input type="text" id="txt_je4" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="txt_je4_onblur();"/></td>
|
|
<td></td>
|
|
<td width="30px" align=right><div id="Div21" runat="server" style="width:30px;">金额</div></td>
|
|
<td width="100px"><input type="text" id="txt_je5" runat="server" style="width:100px" class="txtTab4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}"/></td>
|
|
</tr>
|
|
<tr><td></td></tr>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr><td></td></tr>
|
|
<tr>
|
|
<td colspan=6>
|
|
<div id="mygrid_recv_2" style="width:100%; height:100px; display:none;" runat="server" class="txtTab"></div>
|
|
</td>
|
|
</tr>
|
|
<tr><td></td></tr>
|
|
<tr>
|
|
<td colspan=12>
|
|
<div>备注</div>
|
|
<div><textarea id="txt_remark" runat="server" style="width:929px; height:90px;" class="txtTab4"></textarea></div>
|
|
</td>
|
|
</tr>
|
|
<tr><td></td></tr>
|
|
<tr>
|
|
<td width="150px">
|
|
<input type="button" id="btn_enter" value="完成结算" class="btn" onclick="postSettle()" runat="server" style="width:80px;"/>
|
|
</td>
|
|
<td width="150px">
|
|
<input type="button" id="btn_print" class="btn" onclick="printSettle()" value="打印" runat="server" style="width:80px;"/>
|
|
</td>
|
|
<td width="150px">
|
|
<input type="button" id="btn_cancel" class="btn" onclick="cancelSettle()" value="撤销结算" runat="server" style="width:80px; display:none;"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div>
|
|
<input type="hidden" id="h_billno" runat="server"/>
|
|
<input type="hidden" id="h_feecache" runat="server" />
|
|
<input type="hidden" id="h_settlecurrency" runat="server" />
|
|
<input type="hidden" id="h_settleinfo" runat="server" />
|
|
<input type="hidden" id="h_enter" runat="server" />
|
|
<input type="hidden" id="h_currency" runat="server" />
|
|
<input type="hidden" id="h_rmbamount" runat="server" />
|
|
<input type="hidden" id="h_usdamount" runat="server" />
|
|
<input type="hidden" id="h_bankinfo" runat="server" />
|
|
<input type="hidden" id="h_total" runat="server" />
|
|
<input type="hidden" id="h_usdaccount" runat="server" />
|
|
<input type="hidden" id="h_rmbaccount" runat="server" />
|
|
<input type="hidden" id="h_ctl" runat="server" />
|
|
<input type="hidden" id="h_cur" runat="server" />
|
|
<input type="hidden" id="h_ISADVANCE" runat="server" />
|
|
|
|
<!--begin 预收预付取用-->
|
|
<input type="hidden" id="h_je1" runat="server" />
|
|
<input type="hidden" id="h_je5" runat="server" />
|
|
<input type="hidden" id="h_bb5" runat="server" />
|
|
<input type="hidden" id="h_isAccess" runat="server" />
|
|
<input type="hidden" id="recvContainer_2" runat="server" />
|
|
<input type="hidden" id="h_feetype" runat="server" />
|
|
<!--end 预收预付取用-->
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|