📄 entermorecondition.jsp
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/IncludeBeginMD.jsp"%>
<%
String sTitle = (String)Configure.getConfigure(sIe_Language, "BOL").get("Title");
String sBol = (String)Configure.getConfigure(sIe_Language, "BOL").get("Bol");
String sCurrency = (String)Configure.getConfigure(sIe_Language, "BOL").get("Currency");
String sFrghtFrwd = (String)Configure.getConfigure(sIe_Language, "BOL").get("FrghtFrwd");
String sShipDate = (String)Configure.getConfigure(sIe_Language, "BOL").get("ShipDate");
String sBroker = (String)Configure.getConfigure(sIe_Language, "BOL").get("Broker");
String sCountry = (String)Configure.getConfigure(sIe_Language, "BOL").get("Country");
String sCarrier = (String)Configure.getConfigure(sIe_Language, "BOL").get("Carrier");
String sPriceList = (String)Configure.getConfigure(sIe_Language, "BOL").get("PriceList");
String sCustomer = (String)Configure.getConfigure(sIe_Language, "BOL").get("Customer");
String sInvoiceDate= (String)Configure.getConfigure(sIe_Language, "BOL").get("InvoiceDate");
String sRoute= (String)Configure.getConfigure(sIe_Language, "BOL").get("Route");
String sInvoiceTo= (String)Configure.getConfigure(sIe_Language, "BOL").get("InvoiceTo");
String sShipto= (String)Configure.getConfigure(sIe_Language, "BOL").get("Shipto");
String sName = (String)Configure.getConfigure(sIe_Language, "BOL").get("name");
String sExitpt = (String)Configure.getConfigure(sIe_Language, "BOL").get("exitpt");
String sSubmit = (String)Configure.getConfigure(sIe_Language, "BOL").get("Submit");
String sReedit = (String)Configure.getConfigure(sIe_Language, "BOL").get("Reedit");
String sAbort = (String)Configure.getConfigure(sIe_Language, "BOL").get("Abort");
String sExitFreight = (String)Configure.getConfigure(sIe_Language, "BOL").get("ExitFreight");
String Bol = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Bol"));
// String m_shipdt = DataConvert.toRealString(iPostChange,(String)request.getParameter("Shipdt"));
String FrghtFrwd = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("FrghtFrwd"));
String Exitpt = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Exitpt"));
String Broker = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Broker"));
String Carrier = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Carrier"));
String Customer = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Customer"));
// String vshipdt = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("vshipdt"));
String vshipdt = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Shipdt"));
String bladd1 = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("bladd1"));
String bladd2 = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("bladd2"));
String bladd3 = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("bladd3"));
String bladd4 = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("bladd4"));
String shadd1 = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("shadd1"));
String shadd2 = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("shadd2"));
String shadd3 = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("shadd3"));
String shadd4 = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("shadd4"));
String Currency = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Currency"));
String Country = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Country"));
String Pricelist = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Pricelist"));
String Route = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Route"));
String InvoiceDate = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("InvoiceDate"));
String ExitFreight = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("ExitFreight"));
/////////////////////////////// out.print("<script>alert('"+ Customer +"');</script>");
/* float tgross =0;
float tnet =0;
float tcoils =0;
float tnotes =0;
String pricelist="";
ASResultSet rsShipment=Sqlca.getASResultSet("select loaded,net,coils,notes,worksno from shipment where blno="+vBol);
if(rsShipment.next())
{
tgross =tgross - rsShipment.getFloat("loaded");
tnet =tnet + rsShipment.getFloat("net");
tcoils =tcoils + rsShipment.getFloat("coils");
tnotes =tnotes + rsShipment.getFloat("notes");
ASResultSet rsOrditem=Sqlca.getASResultSet("select contract from ord_item where worksno="+ rsShipment.getString("worksno"));
if(rsOrditem.next() )
{
if(rsOrditem.getString("contract").equals("") || rsOrditem.getString("contract")==null)
{
pricelist=Pricelist;
}
else
{
pricelist="XXXX";
}
}
}*/
%>
<html>
<head>
<title><%=sTitle%></title>
</head>
<script language=javascript>
function pressEnter(arg){
if(window.event.keyCode==13){
Che_acc();
}
}
function Che_acc()
{
}
function pressSubmit() {
OpenComp("ExistBol", "/Billing/addBOL/DealFirst.jsp", "Bol=<%=Bol%>" +"&Currency=<%=Currency%>" + "&FrghtFrwd=<%=FrghtFrwd%>" +"&ShipDate=<%=vshipdt%>" +"&ExitFreight=<%=ExitFreight%> "+"&Exitpt=<%=Exitpt%>" +"&Broker=<%=Broker%>" + "&Country=<%=Country%>" + "&Carrier=<%=Carrier%>" +"&Pricelist=<%=Pricelist%>"+"&Customer=<%=Customer%>" + "&InvoiceDate=<%=InvoiceDate%>" + "&rand=" + randomNumber(), "right", "");
}
function pressReedit() {
OpenComp("ExistBol", "/Billing/addBOL/EnterDate.jsp", "Bol=<%=Bol%>"+"&rand="+randomNumber(),"right","");
}
function pressAbort() {
OpenComp("ExistBol", "/Billing/addBOL/blank.jsp", "&rand=" + randomNumber(), "right", "");
}
</script>
<body bgcolor="#DCDCDC">
<br>
<table border="0" width=100% align="center" bordercolor='#999999' bordercolordark='#FFFFFF'>
<form name="AccountForm" >
<tr>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sBol%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=Bol%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=sExitpt%></td>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sCurrency%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" > <%=Currency%> </td>
</tr>
<tr>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sFrghtFrwd%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=FrghtFrwd%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=Exitpt %></td>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sShipDate%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=vshipdt%></td>
</tr>
<tr>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sBroker%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=Broker%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=sExitFreight%></td>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sCountry%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" > <%=Country%> </td>
</tr>
<tr>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sCarrier%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" > <%=Carrier%> </td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" > <%=ExitFreight%> </td>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sPriceList%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" > <%=Pricelist%> </td>
</tr>
<tr>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sCustomer%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" > <%=Customer%> </td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" > </td>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sInvoiceDate%></td>
<td nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=InvoiceDate%></td>
</tr>
<tr>
<td colspan=2 nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sRoute%></td>
<td align=left nowarp bgcolor="#DCDCDC" ><input type="text" name="Route" size="20" value=<%=Route%>></input> </td>
</tr>
<tr>
<td nowarp align="right" class="black9pt" bgcolor="#DCDCDC" ><%=sInvoiceTo%></td>
<td colspan=2 nowarp align="left" class="black9pt" bgcolor="#DCDCDC" ><%=sShipto%></td>
</tr>
<tr>
<td colspan=2 nowarp bgcolor="#DCDCDC" ><input type="text" name="bladd1" size="40" value=<%=bladd1%>></input> </td>
<td colspan=2 nowarp bgcolor="#DCDCDC" ><input type="text" name="shadd1" size="40"value=<%=shadd1%>> </input> </td>
</tr>
<tr>
<td colspan=2 nowarp bgcolor="#DCDCDC" ><input type="text" name="bladd2" size="40" value=<%=bladd2%>></input> </td>
<td colspan=2 nowarp bgcolor="#DCDCDC" ><input type="text" name="shadd2" size="40" value=<%=shadd2%>></input> </td>
</tr>
<tr>
<td colspan=2 nowarp bgcolor="#DCDCDC" ><input type="text" name="bladd3" size="40" value=<%=bladd3%>></input> </td>
<td colspan=2 nowarp bgcolor="#DCDCDC" ><input type="text" name="shadd3" size="40" value=<%=shadd3%>></input> </td>
</tr>
<tr>
<td colspan=2 nowarp bgcolor="#DCDCDC" ><input type="text" name="bladd4" size="40" value=<%=bladd4%>></input> </td>
<td colspan=2 nowarp bgcolor="#DCDCDC" ><input type="text" name="shadd4" size="40" value=<%=shadd4%>></input> </td>
</tr>
<tr align="center">
<td colspan="5" align="center">
<input type="button" name="submit" onClick="pressSubmit();" value="<%=sSubmit%>" style="font-size:9pt;padding-top:3;padding-left:5;padding-right:5; 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="reedit" onClick="pressReedit();" value="<%=sReedit%>" style="font-size:9pt;padding-top:3;padding-left:5;padding-right:5; border: #DCDCDC; border-style: outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px" border='1'>
<input name="Abort" type="button" id="Abort" value="<%=sAbort%>" onclick="javascript:OpenPage('/Blank.jsp?TextToShow=Please click the list on left','right','');" style="font-size:9pt;padding-top:3;padding-left:5;padding-right:5; 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>
</form>
</table>
</body>
</html>
<%@ include file="/IncludeEnd.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -