105 lines
3.8 KiB
Plaintext
105 lines
3.8 KiB
Plaintext
|
|
<%@ page contentType="text/html; charset=GBK" %>
|
|||
|
|
<%@ page import="java.util.*"%>
|
|||
|
|
<%@ page import="com.wxzd.wms.util.ServerUtil"%>
|
|||
|
|
<html><head>
|
|||
|
|
<title>ת<><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɨ<EFBFBD><C9A8></title>
|
|||
|
|
<META HTTP-EQUIV="pragma" CONTENT="no-cache"> <!--<2D><>ֹ<EFBFBD>ͻ<EFBFBD><CDBB>˻<EFBFBD><CBBB><EFBFBD>-->
|
|||
|
|
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
|
|||
|
|
<META HTTP-EQUIV="expires" CONTENT="0">
|
|||
|
|
<link rel="stylesheet" type="text/css" href="css/sm.css">
|
|||
|
|
<script type="text/javascript" src="script/ajax.js"></script>
|
|||
|
|
<script type="text/javascript" src="script/zk.js"></script>
|
|||
|
|
<script type="text/javascript" src="script/logic.js"></script>
|
|||
|
|
</head>
|
|||
|
|
<jsp:useBean id="db1" scope="application" class="com.zcsoft.dbvisit.DB" />
|
|||
|
|
<%
|
|||
|
|
String errorInfo = "", zlbh = null;
|
|||
|
|
Map zlxx = null;
|
|||
|
|
session = request.getSession(false);
|
|||
|
|
if (session != null && session.getAttribute("userInfo") != null)
|
|||
|
|
{
|
|||
|
|
zlbh = request.getParameter("zlbh");
|
|||
|
|
//ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>š<EFBFBD><C5A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ѡ<EFBFBD><D1A1>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
if (zlbh != null && zlbh.length() > 0)
|
|||
|
|
{
|
|||
|
|
zlxx = db1.getSingleRow("SELECT zckw,zctp,zctpQczt,zrkw,zrtp,zrtpQczt,zysl FROM zkzl WHERE zlbh=? AND zt IN(0,1)", zlbh);
|
|||
|
|
if (zlxx == null)
|
|||
|
|
{
|
|||
|
|
errorInfo = "ָ<><EFBFBD><EEB2BB><EFBFBD>ڣ<EFBFBD><DAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѱ<EFBFBD><D1B1><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>";
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{//<2F><><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>ŵĽ<C5B5><C4BD><EFBFBD>
|
|||
|
|
errorInfo = "δ<><CEB4><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
response.sendRedirect("sm.jsp");
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
%>
|
|||
|
|
<body onload="check(true);">
|
|||
|
|
<form name=rkbjxx onsubmit="return check(false);">
|
|||
|
|
<table align=center>
|
|||
|
|
<%
|
|||
|
|
if (errorInfo != null && errorInfo.length() > 0)
|
|||
|
|
{
|
|||
|
|
out.println("<tr><td colspan=2><font color=red>" + errorInfo + "</font>");
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
int i, n;
|
|||
|
|
//<2F><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>ź<EFBFBD><C5BA>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD>
|
|||
|
|
out.write("<tr><td colspan=2><input type=hidden name=zlbh value=\"" + zlbh);
|
|||
|
|
out.write("\">");
|
|||
|
|
out.write("ָ <3B><> <3B>ţ<EFBFBD>" + zlbh.substring(zlbh.indexOf('|') + 1));
|
|||
|
|
out.write("<br>ת<><D7AA><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>" + zlxx.get("zckw"));
|
|||
|
|
if (!"".equals(zlxx.get("zctp")))
|
|||
|
|
{
|
|||
|
|
out.write(" <3B><><EFBFBD><EFBFBD><EFBFBD>̣<EFBFBD>" + zlxx.get("zctp"));
|
|||
|
|
}
|
|||
|
|
if ("0".equals(zlxx.get("zctpQczt")))
|
|||
|
|
{
|
|||
|
|
out.write(" <input id=cmdQzctp type=button value=ȡ<><C8A1> onclick=\"qctp('");
|
|||
|
|
out.write(zlxx.get("zckw") + "','" + zlxx.get("zctp") + "','zctpQczt');\">");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
out.write("<tr><td>ת<><D7AA><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><td id=kwbh>");
|
|||
|
|
out.write((String)zlxx.get("zrkw"));
|
|||
|
|
out.print(" <3B><><EFBFBD><EFBFBD><EFBFBD>̣<EFBFBD>");
|
|||
|
|
out.write((String)zlxx.get("zrtp"));
|
|||
|
|
if ("0".equals(zlxx.get("zrtpQczt")))
|
|||
|
|
{
|
|||
|
|
out.write(" <input id=cmdQzrtp type=button value=ȡ<><C8A1> onclick=\"qctp('");
|
|||
|
|
out.write(zlxx.get("zrkw") + "','" + zlxx.get("zrtp") + "','zrtpQczt');\">");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
out.write("<tr bgcolor=yellow><td colspan=2>");
|
|||
|
|
out.write("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɨ<EFBFBD><C9A8>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>ź<EFBFBD>ת<EFBFBD>Ʊ<EFBFBD><C6B1>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD>룬<br><3E><> <20><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>ʱ<EFBFBD><CAB1>ɨ<EFBFBD><C9A8>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
|||
|
|
|
|||
|
|
out.write("<tr><td><3E><><EFBFBD><EFBFBD>ɨ<EFBFBD><C9A8><br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>룺</td>");
|
|||
|
|
out.write("<td><input id=\"jh\" class=label type=text name=jh size=27 disabled=true></td></tr>");
|
|||
|
|
|
|||
|
|
out.write("<tr><td>ת<><D7AA><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD></td>");
|
|||
|
|
out.write("<td><input id=\"BoxID\" class=label type=text name=BoxID size=13 disabled=true>");
|
|||
|
|
out.write("<22><><EFBFBD>б<EFBFBD><D0B1><EFBFBD>ɨ<EFBFBD><C9A8><EFBFBD><EFBFBD> <label id=countInBox total=0>0</label></td></tr>");
|
|||
|
|
|
|||
|
|
out.println("<tr><td width=60><3E><> <3B>룺<td><input name=barcode class=barcode size=27 maxlength=40>");
|
|||
|
|
out.write("<input id=\"jhs\" type=hidden name=jhs value=\"");
|
|||
|
|
out.write("\">");
|
|||
|
|
out.write("<tr><td>ת<><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><td><label id=count total=" + (String)zlxx.get("zysl") + ">");
|
|||
|
|
out.write((String)zlxx.get("zysl"));
|
|||
|
|
out.write("</label> <input type=checkbox name=qxsm>ȡ<><C8A1>ɨ<EFBFBD><C9A8></td>");
|
|||
|
|
String kwbhAndTpbh = zlxx.get("zrkw") + "|" + zlxx.get("zrtp");
|
|||
|
|
out.println("<tr><td colspan=2 height=10>");
|
|||
|
|
out.println("<tr><td/><td><input name=submit type=submit value=\"<22><> <20><>\">");
|
|||
|
|
//out.write("<td><input name=cmdSave type=button value=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> onclick=\"save();\">");
|
|||
|
|
out.write(" <input name=cmdEnd type=button value=ɨ<><C9A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> onclick=\"end();\">");
|
|||
|
|
out.write("</tr>");
|
|||
|
|
}
|
|||
|
|
%>
|
|||
|
|
</table>
|
|||
|
|
</form>
|
|||
|
|
</body>
|
|||
|
|
</html>
|