⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iscontinue.jsp

📁 运输模块代码
💻 JSP
字号:
<%--
  Created by IntelliJ IDEA.
  User: jtgao
  Date: 2005-5-22
  Time: 17:46:01
  To change this template use File | Settings | File Templates.//
--%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ page import="com.hexiesoft.utils.StringUtils" %>
<%@ include file="/IncludeBeginMD.jsp"%>

<%
    String sTitle = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Title");
    String alert_1 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("ALERT_1");
	String alert_2 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("ALERT_2");
    String sLabel1 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_1");
    String sLabel2 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_2");
    String sLabel3 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_3");
    String sLabel4 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_4");
    String sLabel5 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_5");
    String sLabel6 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_6");
    String sLabel7 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_7");
    String sLabel8 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_8");
    String sLabel9 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_9");
    String sLabel10 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_10");
    String sLabel11 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_11");
    String sLabel12 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_12");
    String sLabel13 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_13");
    String sLabel14 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_14");
    String sLabel15 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_15");
    String sLabel16 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_16");
    String sLabel17 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_17");
    String sLabel18 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_18");
    String sLabel19 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_19");
    String sLabel20 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_20");
    String sLabel21 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_21");
    String sLabel22 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("Label_22");


	String sLabel24 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("ButLabel_4");
    String sLabel25 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("ButLabel_5");
    String sAlert3 = (String)Configure.getConfigure(sIe_Language,"Shipping_AddPN").get("ALERT_3");
    String sWorksno = DataConvert.toRealString(iPostChange,(String)CurPage.getParameter("Worksno"));
    //out.println(sWorksno);
%>

<script language="javascript">

    //按下 save
    function pressSubmit() {

		sWorksno = document.all.Worksno.value;

        //alert(sWorksno);
		sReturn_isEmpty = PopPage("/ShippingManager/PackingNote/addPackingNote/UpdStatus.jsp?Worksno="+sWorksno+"&rand="+randomNumber(),"","");
		if(sReturn_isEmpty == "true")
		{
			OpenComp("<%=sTitle%>","/ShippingManager/PackingNote/addPackingNote/InputNewPN.jsp","Worksno="+sWorksno+"&rand="+randomNumber(),"right","");
			self.close();
			return;
		}else{
			alert('<%=alert_2%>');
			return;
		}

    }
    //press abort button
    function pressAbort() {
        OpenComp("", "/ShippingManager/PackingNote/addPackingNote/Blank.jsp", "&rand=" + randomNumber(), "right", "");
        //PopPage("/ShippingManager/TurckingRoutes/EnterCode.jsp?rand="+randomNumber(),"","dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
    }
</script>

<%
    String saccount =  "";
    String ssubacc = "";
    String spnno="";
    String spndate ="";
    String sworkno="";
    String sblno ="";
    String sdesc="";
    String scustpo="";
    String sname="";
    String sadd1 = "";
    String sgross = "";
    String sadd2 = "";
    String scoils="";
    String sstandno = "";
    String sstandwgt = "";
    String sdividerwgt = "";
    String sinsertwgt = "";
    String sctrno = "";
    String sctrwgt = "";
    String spaltno= "";
    String spaltwgt = "";
    String scaseno = "";
    String scasewgt = "";
    String stare = "";
    float snet = 0.0f;
    String sOrder = "";
    String sqlstatement = "select * from shipment where worksno= '"+sWorksno+"'";

    ASResultSet rs = Sqlca.getASResultSet(sqlstatement);
	if(rs.next()){
        saccount = rs.getString("account");
		ssubacc = rs.getString("subacct");
        //spnno = rs.getString("pnno");
        //sworkno = rs.getString("worksno");
        sdesc = rs.getString("desc");
        scustpo = rs.getString("custpo");
        sname = rs.getString("name");
        sadd1 = rs.getString("add1");
        sadd2 = rs.getString("add2");
        snet = rs.getFloat("net");
        /*
        sgross = rs.getString("gross");
        scoils = rs.getString("coils");
        sstandno = rs.getString("standno");sstandwgt = rs.getString("standwgt");
		sinsertwgt = rs.getString("insertwgt");
        sctrno = rs.getString("ctrno");sctrwgt = rs.getString("ctrwgt");
        spaltno = rs.getString("paltno");spaltwgt = rs.getString("paltwgt");
		scaseno = rs.getString("caseno");scasewgt = rs.getString("casewgt");
        sdividerwgt = rs.getString("dividerwgt");
        stare = rs.getString("tare");
        snet = rs.getString("net");
        */
    }
    while(rs.next()){
        snet += rs.getFloat("net");
    }
    sqlstatement = "select * from ord_item where worksno='"+sWorksno+"'";

    rs = Sqlca.getASResultSet(sqlstatement);

    if(rs.next()){
           //IIF(ord_item.islbs,lbs,kgs)
        int islbs=0;
        islbs=rs.getInt("islbs");
        if (islbs==1) {
            sOrder=rs.getString("lbs");
        } else {
            sOrder=rs.getString("kgs");
        }
    }
        sgross = "";
        scoils = "";
        sstandno = "";//sstandwgt = "";
		sinsertwgt = "";
        sctrno = "";sctrwgt = "";
        spaltno = "";spaltwgt = "";
		scaseno = "";scasewgt ="";
        sdividerwgt = "";
        //stare = rs.getString("tare");
        //snet = rs.getString("net");
%>

<html>
<head>
<title><%=sTitle%></title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

<body class="pagebackground" text="#000000">

<table width="640"  border="0">
  <tr>
    <td width="22%"><%=sTitle%></td>
    <td width="21%">&nbsp;</td>
    <td colspan="2">&nbsp;</td>
    <td width="22%">&nbsp;</td>
  </tr>
  <tr>
    <td><%=sLabel2%> :<%=sWorksno%></td>
    <td><%=sLabel3%> <%=sdesc%></td>
    <td colspan="2"><%=sLabel4%> <%=scustpo%></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><%=sLabel5%> <%=saccount%>&nbsp;
      &nbsp; <%=sLabel18%> <%=ssubacc%></td>
    <td colspan="4"><%=sname%> </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="4"><%=sadd1%></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="4"><%=sadd2%></td>
  </tr>
  <tr>
    <td><%=sLabel21%><%=sOrder%></td>
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><%=sLabel22%><%=snet%></td>
    <td>&nbsp;</td>
    <td width="21%">&nbsp;</td>
    <td width="14%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="4">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="4">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="4">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="4">&nbsp;</td>
  </tr>
  <tr>
    <td> <input type="hidden" name="Worksno" value="<%=sWorksno%>"> </td>
    <td colspan="4"><%=sAlert3%></td>
  </tr>
  <tr>
    <td colspan="5" align="center">  &nbsp;&nbsp;&nbsp;
      <input type="button" name="submit" onClick="pressAbort();" value="<%=sLabel25%>" size="6"  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'>
      &nbsp;&nbsp;
      <input type="button" name="submit2" onClick="pressSubmit();" value="<%=sLabel24%>" size="6"  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'>
      &nbsp; </td>
  </tr>
</table>
</body>
</html>
<script language=javascript>
    alert('<%=sAlert3%>');
</script>
<%@ include file="/IncludeEnd.jsp"%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -