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

335 lines
22 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SettlementEdit.aspx.cs" Inherits="DSWeb.Settlements.SettlementEdit" %>
<!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%;}
.table{
width:1080px;
}
.head{
font-size:12px;
background-color:#ecf2ff;
height:20px;
border: 1px;
border-color:#000000;
}
.head div{
width:170px;
float:left;
text-align:center;
height:15px;
padding-top:5px;
border-top:1px solid #C1BBAB;
border-left:1px solid #C1BBAB;
}
.head_begin{
width:40px !important;
float:left;
text-align:center;
height:18px;
padding-top:2px;
cursor:default;
}
.head_end{
float:right;
text-align:center;
height:18px;
padding-top:2px;
border-right:1px solid #C1BBAB;
}
.row{
font-size:12px;
background-color:#ecf2ff;
height:20px;
}
.row div{
width:170px;
float:left;
text-align:center;
height:15px;
padding-top:5px;
border-top:1px solid #C1BBAB;
border-left:1px solid #C1BBAB;
}
.row_begin{
width:40px !important;
float:left;
text-align:center;
height:18px;
padding-top:2px;
cursor:default;
}
.row_end{
float:right;
text-align:center;
height:18px;
padding-top:2px;
border-right:1px solid #C1BBAB;
}
.lastrow div{
width:170px;
float:left;
text-align:center;
height:18px;
padding-top:2px;
border-bottom:1px solid #C1BBAB;
}
.row_select{
font-size:12px;
background-color:#f8f28f;
height:20px;
}
.row_select div{
width:170px;
float:left;
text-align:center;
height:15px;
padding-top:5px;
border-top:1px solid #C1BBAB;
border-left:1px solid #C1BBAB;
}
.lastrow_select div{
width:150px;
float:left;
text-align:center;
height:18px;
padding-top:2px;
border-bottom:1px solid #C1BBAB;
}
.row_id{
display:none;
}
.txtTab{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>
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.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 language="javascript" type="text/javascript" src="../js/date/calendar.js"></script>
<script type="text/javascript">
window.dhx_globalImgPath="../images/";
</script>
<script src="../js/SettlementEdit.js" type="text/javascript"></script>
<script src="../js/DoPayApplicationSettlement2.js" type="text/javascript"></script>
<script src="../js/PaySettlementEdit2.js" type="text/javascript"></script>
<style type="text/css">
*{ margin:0; padding:0;}
html,body{ width:100%; height:100%; overflow:hidden;}
.containercss{ position:relative; width:100%; height:100%; overflow-y:scroll; overflow-x:auto;}
.topcss{ width:100%; position:absolute; top:0; left:0;}
.boxcss{ height:720px;}
</style>
</head>
<body onload="createInfo()" style="background-color:#ecf2ff;">
<div style="width:100%;height:100%;" oncontextmenu="return false">
<p class="topcss">
<div class="btn-content">
<div class="btn-blank"></div>
<div class="xbtn" style="width:70px;">
<div class="btntxt" onclick="cancelSettle()" style="width:60px;">撤销结算</div>
</div>
<div class="xbtn-img" onclick="printSettlement()">
<div class="btnimg"><img src="../images/icons/print.gif" width="16px" title="费用打印"/></div>
</div>
</div>
</p>
<div id=divTier class="containercss" style="float:left; width:100%;height:720px; overflow-y:scroll; overflow-x:hidden;">
<!-- 内容开始 -->
<form id="form1" runat="server">
<div>
<table>
<tr>
<td width="70px;"><div id="dvBillNO" runat="server" style="text-align:right; width:70px;font-size:12px;">结算单号:</div></td>
<td width="150px"><input type="text" id="txt_billno" runat="server" class="txtTab" style="width:150px;" disabled=disabled/></td>
<td width="70px;"><div id="dvCustomer" runat="server" style="text-align:right; width:70px;font-size:12px;">结算单位:</div></td>
<td width="150px"><select id="sel_customer" runat="server" style="width:152px;" disabled=disabled></select></td>
<td width="70px;"><div id="dvSettleType" runat="server" style="text-align:right; width:70px;font-size:12px;">结算方式:</div></td>
<td width="150px"><select id="sel_settletype" runat="server" style="width:152px;"><option value="1">现金</option><option value="2">支票</option><option value="3">电汇</option><option value="4">转账</option><option value="5">承兑汇票</option></select></td>
<td width="80px;"><div id="dvSettleMode" runat="server" style="text-align:right;width:80px;font-size:12px;">结算单状态:</div></td>
<td width="150px"><input type="text" id="txt_billstatus" class="txtTab" style="width:150px;" runat="server" disabled=disabled/></td>
</tr>
<tr>
<td width="70px;"><div id="dvRMB" runat="server" style="text-align:right; width:70px;font-size:12px;">RMB</div></td>
<td width="150px"><input type="text" id="txt_rmb" class="txtTab" style="width:150px;" runat="server" disabled=disabled/></td>
<td width="70px;"><div id="dvRMBAccount" runat="server" style="text-align:right; width:70px;font-size:12px;">RMB 账户:</div></td>
<td width="150px"><input type="text" id="txt_rmbaccount" class="txtTab" style="width:150px;" runat="server" disabled=disabled/></td>
<td width="70px;"><div id="dvSettleUser" runat="server" style="text-align:right; width:70px;font-size:12px;">结算人:</div></td>
<td width="150px"><input type="text" id="txt_settleuser" class="txtTab" style="width:150px;" runat="server" disabled=disabled/></td>
<td width="80px;"><div id="dvSettleTime" runat="server" style="text-align:right; width:80px;font-size:12px;">结算时间:</div></td>
<td width="150px"><input type="text" id="txt_settletime" runat="server" class="txtTab" style="width:150px;" disabled=disabled/></td>
</tr>
<tr>
<td width="70px;"><div id="dvUSD" runat="server" style="text-align:right; width:70px;font-size:12px;">USD</div></td>
<td width="150px"><input type="text" id="txt_usd" runat="server" class="txtTab" style="width:150px;" disabled=disabled/></td>
<td width="70px;"><div id="dvUSDAccount" runat="server" style="text-align:right; width:70px;font-size:12px;">USD 账户:</div></td>
<td width="150px"><input type="text" id="txt_usdaccount" class="txtTab" style="width:150px;" runat="server" disabled=disabled/></td>
<td width="70px;"><div id="Div1" runat="server" style="text-align:right; width:70px;font-size:12px;">发票号码:</div></td>
<td width="150px"><input type="text" id="txt_invoicenum" class="txtTab" style="width:150px;" runat="server" disabled=disabled/></td>
<td width="80px;"><div id="dvVoucherNO" runat="server" style="text-align:right; width:80px;font-size:12px;">凭证号码:</div></td>
<td width="150px"><input type="text" id="txt_voucherno" class="txtTab" style="width:150px;" runat="server" disabled=disabled/></td>
</tr>
<tr>
<td width="70px;"><div id="dvRemark" runat="server" style="text-align:right; width:70px;font-size:12px;">备注:</div></td>
<td colspan="7">
<asp:Label ID="txt_remark" runat="server" Text="Label" Width="875px" Height="60px" class="txtTab"></asp:Label>
</td>
</tr>
<tr><td height=10px></td></tr>
<tr>
<td colspan=9>
<div id=YFDiv runat=server style="display:none;"><!---->
<div class="btn-content">
<div class="btn-blank"></div>
<div class="xbtn" id="Div23" onclick="saveRecvChange3()" style="width:120px;">
<div class="btntxt" style="width:110px;">保存预收预付信息</div>
</div>
</div>
<table style="border: thin groove #6699CC;">
<tr><td height=10px></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="Div24" runat="server" style="width:150px;"></div></td>
<td></td>
<td align=center width="150px" colspan=2>
<input type="button" id="Button1" value="已使用情况查看" class="btn" onclick="setSHOW();" runat="server" style="width:100px;"/>
</td>
<td></td>
<td align=center width="150px" colspan=2><div id="Div26" runat="server" style="width:150px;"></div></td>
<td></td>
<td align=center width="150px" colspan=2><div id="Div27" 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('edit');" runat="server" style="width:80px;"/>
</td>
</tr>
<tr>
<td width="30px" align=right><div id="Div3" runat="server" style="width:30px;">币别</div></td>
<td width="150px"><select id="ddl_bb1" runat="server" style="width:105px;" class="txtTab"><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="150px"><select id="ddl_bb2" runat="server" style="width:105px;" class="txtTab"><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="150px"><select id="ddl_bb3" runat="server" style="width:105px;" class="txtTab"><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="150px"><select id="ddl_bb4" runat="server" style="width:105px;" class="txtTab"><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="Div7" runat="server" style="width:30px;">币别</div></td>
<td width="150px"><select id="ddl_bb5" runat="server" style="width:105px;" class="txtTab"><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="Div8" runat="server" style="width:30px;">汇率</div></td>
<td width="100px"><input type="text" id="txt_hl1" runat="server" style="width:100px" class="txtTab" 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_hl2" runat="server" style="width:100px" class="txtTab" 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_hl3" runat="server" style="width:100px" class="txtTab" 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="Div22" runat="server" style="width:30px;">汇率</div></td>
<td width="100px"><input type="text" id="txt_hl4" runat="server" style="width:100px" class="txtTab" 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" runat="server" style="width:100px" class="txtTab" 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="txtTab" 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="Div18" runat="server" style="width:30px;">金额</div></td>
<td width="100px"><input type="text" id="txt_je2" runat="server" style="width:100px" class="txtTab" 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="txtTab" 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="Div20" runat="server" style="width:30px;">金额</div></td>
<td width="100px"><input type="text" id="txt_je4" runat="server" style="width:100px" class="txtTab" 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="Div21" runat="server" style="width:30px;">金额</div></td>
<td width="100px"><input type="text" id="txt_je5" runat="server" style="width:100px" class="txtTab" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}"/></td>
</tr>
<tr><td height=10px></td></tr>
</table>
<div id="mygrid_recv_2" style="width:99%; height:100px;display:none;" runat="server" class="txtTab"></div><!-- -->
<br />
<div id=divSHOW runat=server style="display:none;"><!---->
<div id="Div28" runat="server" style="width:200px; height:20px;">预付支资料已使用情况查看:</div>
<div id="mygrid_pay_2" style="width:99%; height:100px;" runat="server" class="txtTab"></div><!-- display:none;-->
</div>
</div>
</td>
</tr>
<tr><td height=10px></td></tr>
</table>
<br />
<div style="width:98%; height:300px; position:relative; overflow-x:hidden;">
<div id="dvOpseae" runat="server"><div class="table"></div></div>
<div id="dvFee" style="display:none;"><div id="mygrid_container_fee" style="width:950px; height:150px;" runat="server"></div></div>
</div>
</div>
<div>
<input type="hidden" id="h_settlementid" runat="server"/>
<input type="hidden" id="h_bsno" runat="server" />
<input type="hidden" id="h_opcache" runat="server" />
<input type="hidden" id="txt_customerName" runat="server" />
<input type="hidden" id="h_account" runat="server" />
<input type="hidden" id="h_settletype" runat="server" />
<input type="hidden" id="h_currency" runat="server" />
<input type="hidden" id="h_billno" runat="server" />
<!--begin 预收预付取用-->
<input type="hidden" id="h_ISADVANCE" runat="server" />
<input type="hidden" id="h_je1" runat="server" />
<input type="hidden" id="h_je2" runat="server" />
<input type="hidden" id="h_je3" runat="server" />
<input type="hidden" id="h_je4" 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="h_isSHOW" runat="server" />
<input type="hidden" id="recvContainer_2" runat="server" />
<input type="hidden" id="h_enter" runat="server" />
<input type="hidden" id="h_feetype" runat="server" />
<!--end 预收预付取用-->
</div>
</form>
</div>
</div>
</body>
</html>