📄 enteradjustvalue.jsp
字号:
<%
/* Copyright 2006-2009 Hexiesoft, Inc. All Rights Reserved.
* This software is the proprietary information of Hexiesoft, Inc.
* Use is subject to license terms.
* Author:sfcll 04-2006
* Tester:
*
* Content:
* Input Param:
*
*
*
* Output param:
*
*/
%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/IncludeBeginMD.jsp"%>
<%
String alert_1 = (String)Configure.getConfigure(sIe_Language,"EnterCode").get("ALERT_1");
String alert_2 = (String)Configure.getConfigure(sIe_Language,"EnterCode").get("ALERT_2");
String title = (String)Configure.getConfigure(sIe_Language,"EnterCode").get("TITLE");
String worksn = (String)Configure.getConfigure(sIe_Language,"EnterCode").get("WORKSN");
String sCode = DataConvert.toRealString(iPostChange,request.getParameter("Code"));
float Insurance = 0;
float Declarins = 0;
String sqlShipment = "select insurance,declarins from invoice where blno = '"+ sCode +"'";
ASResultSet rs = Sqlca.getASResultSet(sqlShipment);
if (rs.next()){
Insurance = rs.getFloat("insurance");
Declarins = rs.getFloat("declarins");
} else {
out.println("Error,Record Not Found.");
}
%>
<html>
<head>
<title><%=title%></title>
</head>
<script type="text/javascript" src="<%=sResourcesPath%>/keyevent.js"></script>
<script language=javascript>
function Che_Val()
{
sCode = document.all.code.value;
sInsurance = document.all.Insurance.value;
sDeclarins = document.all.Declarins.value;
sReturn_isSuccess = PopPage("/Billing/InsurancePremiums/AdjustValue.jsp?Code="+sCode+"&Insurance="+sInsurance+"&Declarins="+sDeclarins+"&rand="+randomNumber(),"","");
if(sReturn_isSuccess == "true")
{
OpenComp("ShowInfo","/Billing/InsurancePremiums/ShowInfo.jsp","Code="+sCode+"&rand="+randomNumber(),"right","");
self.close();
return;
}else{
alert('Billing Number does not exist!');
return;
}
self.close();
return;
}
function Che_Float(num)
{
}
</script>
<body class="pagebackground" bgcolor="#DCDCDC">
<br>
<table border="1" width=100% align="center" bordercolor='#999999' bordercolordark='#FFFFFF' >
<tr>
<td nowarp align="right" bgcolor="#D8D8AF" width=35% >
Premius
<input type="hidden" name="code" value=<%= sCode %>></td>
<td bgcolor="#F0F1DE">
<input type="text" name="Insurance" size="40" value='<%= Insurance %>' onkeydown="MoneyInput()"></input>
</td>
</tr>
<tr>
<td nowarp align="right" bgcolor="#D8D8AF" width=35%>Value </td>
<td nowrap bgcolor="#F0F1DE" >
<input type="text" name="Declarins" size="40" value='<%= Declarins %>' onkeydown="MoneyInput()" ></input>
</td>
</tr>
<tr align="center">
<td nowrap align="right" class="black9pt" bgcolor="#D8D8AF" height="25" > </td>
<td nowrap bgcolor="#F0F1DE" height="25">
<input type="button" name="next" value="确认" onClick="javascript:Che_Val()" style="font-size:9pt;padding-top:3;padding-left:5;padding-right:5;background-image:url(../../Resources/functionbg.gif); border: #DCDCDC; border-style: outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px" border='1'>
<input type="button" name="Cancel" value="取消" onClick="javascript:self.returnValue='_none_';self.close()" style="font-size:9pt;padding-top:3;padding-left:5;padding-right:5;background-image:url(../../Resources/functionbg.gif); border: #DCDCDC; border-style: outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px" border='1'>
</td>
</tr>
</table>
</body>
</html>
<%@ include file="/IncludeEnd.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -