第一次提交
This commit is contained in:
70
tomcat/webapps/sm/zk.jsp
Normal file
70
tomcat/webapps/sm/zk.jsp
Normal file
@@ -0,0 +1,70 @@
|
||||
<%@ page contentType="text/html; charset=GBK" %>
|
||||
<%@ page import="java.util.*"%>
|
||||
<%@ page import="com.wxzd.wms.util.ServerUtil"%>
|
||||
<html><head>
|
||||
<title>ת<><D7AA>ָ<EFBFBD><D6B8>ѡ<EFBFBD><D1A1></title>
|
||||
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
|
||||
<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>
|
||||
</head>
|
||||
<jsp:useBean id="db1" scope="application" class="com.zcsoft.dbvisit.DB" />
|
||||
<%
|
||||
String errorInfo = "";
|
||||
session = request.getSession(false);
|
||||
if (session != null && session.getAttribute("userInfo") != null)
|
||||
{
|
||||
//
|
||||
}
|
||||
else
|
||||
{
|
||||
response.sendRedirect("sm.jsp");
|
||||
return;
|
||||
}
|
||||
%>
|
||||
<body onload="check(true);">
|
||||
<form method=post action=zksm.jsp>
|
||||
<table align=center>
|
||||
<%
|
||||
if (errorInfo != null && errorInfo.length() > 0)
|
||||
{
|
||||
out.println("<tr><td colspan=2><font color=red>" + errorInfo + "</font>");
|
||||
}
|
||||
int i, n;
|
||||
|
||||
out.println("<tr><td colspan=2 class=title><3E><>ѡ<EFBFBD><D1A1>ת<EFBFBD><D7AA>ָ<EFBFBD><D6B8>");
|
||||
//һ<><D2BB>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>̿<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD><C9A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ʾ<EFBFBD>ˡ<EFBFBD>
|
||||
List zkzls = db1.getVDataWithException("SELECT A.zlbh,A.zckw,A.zrkw,B.mc,C.mc"
|
||||
+ " FROM zkzl A LEFT JOIN w_kinds B ON A.kindToTransfer=B.kindID"
|
||||
+ " LEFT JOIN (SELECT CAST(dm AS INT)dm,mc FROM usun_dm_mc_dzb WHERE sbm='ZL') C ON A.swzt=C.dm"
|
||||
+ " WHERE A.zt IN(0,1) AND (A.zrtpRkzt IS NULL OR A.zrtpRkzt=0) ORDER BY 1");
|
||||
out.println("<tr><td colspan=2><table border=1>");
|
||||
out.println("<tr bgcolor=gray><th>ָ<><D6B8><EFBFBD><EFBFBD></th><th>ת<><D7AA><EFBFBD><EFBFBD>λ<th>ת<><D7AA><EFBFBD><EFBFBD>λ</th><th>ת<><D7AA><EFBFBD>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD></th><th>ת<><D7AA><EFBFBD>豸״̬</th>");
|
||||
for (i = 0, n = zkzls.size(); i < n; i++)
|
||||
{
|
||||
List row = (List)zkzls.get(i);
|
||||
int j = 0;
|
||||
String zlbh = (String)row.get(j++);
|
||||
String zckw = (String)row.get(j++);
|
||||
String zrkw = (String)row.get(j++);
|
||||
out.write("<tr><td><input name=zlbh type=radio value=\"");
|
||||
out.write(zlbh);out.write("\"");
|
||||
if (i == 0 && zkzls.size() == 1)
|
||||
{
|
||||
out.write(" checked");//<2F><>һ<EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD>ʱ<EFBFBD><CAB1>Ĭ<EFBFBD><C4AC>ѡ<EFBFBD><D1A1>
|
||||
}
|
||||
out.write(">");out.write(zlbh);
|
||||
out.write("<td>");out.write(zckw);
|
||||
out.write("<td>");out.write(zrkw);
|
||||
out.write("<td>");out.write((String)row.get(j++));
|
||||
out.write("<td>");out.write((String)row.get(j++));
|
||||
}
|
||||
out.println("</table>");
|
||||
out.println("<tr><td colspan=2><input name=submit type=submit value=\"<22><> <20><>\">");
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user