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

📄 supplycomparam.jsp

📁 java阿里巴巴代码
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.*"%>
<jsp:useBean id="sale" class="com.saas.biz.saleMgr.SupplyInfo" scope="page" />
<jsp:useBean id="cust" class="com.saas.biz.custMgr.CustClass" scope="page" />
<%
	String idx = "";
	if (request.getParameter("idx") != null) {
		idx = request.getParameter("idx");
	}
	ArrayList list=sale.getSupplyCompareById(idx);
	String defaultImg="/zone_b2b/images/cp.gif";
%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
		<title>供应详细信息</title>
		<script type="text/javascript" src="/js/prototype.js"></script>
		<script type="text/javascript">
		
		 function remove(obj){
		  if(window.confirm("您确定要移除该信息吗?")){
		    $(obj).style.display="none";
		  }
		 }
		 
		</script>
		<style type="text/css">
		<!--
		body {
			margin-left: 0px;
			margin-top: 0px;
			margin-right: 0px;
			margin-bottom: 0px;
		}
		</style>
		<link href="/zone_b2b/css/css.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<jsp:include flush="true" page="saleHead.jsp" />
		<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td height="20"></td>
			</tr>
		</table>
		<table width="980" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="DCDCDC">
			<tr>
				<td height="29" background="/zone_b2b/images/Content_03.gif" bgcolor="#FFFFFF">
					&nbsp;&nbsp;欢迎您使用
					<span style="color: red;font-weight:bold;">供应信息对比</span>功能,如果您有任何建议和意见,请与我们联系 。 您最多可以选择
					<span style="color: red;font-weight:bold;">5</span>条同时进行对比
				</td>
			</tr>
		</table>
		<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td height="20"></td>
			</tr>
		</table>
		<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td width="100%" valign="top">
					<table border=0 cellpadding=0 cellspacing=0 width="100%">
						<tr>
							<td width="134" height="32" align="center" background="/zone_b2b/images/sup_03.gif" class="bthong">
								供应信息对比
							</td>
							<td align="right" background="/zone_b2b/images/sup_04.gif">
								<img src="/zone_b2b/images/sup_08.gif" align="absmiddle">
								&nbsp;
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#6699FF">
						<tr>
							<td width="20%">
								<table>
									<tr height="20" valign="top" bgcolor="whitesmoke" width="100%">
										<td height="20" valign="top" align="center">
										</td>
									</tr>
									<tr height="80" valign="top" bgcolor="whitesmoke" bordercolor="#CCCCFF">
										<td height="80" valign="top" align="center">
											图片
										</td>
									</tr>
									<tr height="40" valign="top" bgcolor="whitesmoke" bordercolor="#CCCCFF">
										<td height="40" valign="top" align="center">
											标题
										</td>
									</tr>
									<tr height="40" valign="top" bgcolor="whitesmoke" bordercolor="#CCCCFF">
										<td height="40" valign="top" align="center">
											公司
										</td>
									</tr>
									<tr height="40" valign="top" bgcolor="whitesmoke" bordercolor="#CCCCFF">
										<td height="40" valign="top" align="center">
											价格
										</td>
									</tr>
									<tr height="40" valign="top" bgcolor="whitesmoke" bordercolor="#CCCCFF">
										<td height="40" valign="top" align="center">
											会员级别
										</td>
									</tr>
								</table>
							</td>
							<%
							 if(list !=null && list.size()>0){
							  for(int i=0;i<list.size();i++){
							   HashMap map=(HashMap)list.get(i);
					           String sale_id=map.get("sale_id").toString();
					           String cust_name="",sale_unit="",cust_class="",sale_price="",title="",pub_date="";
					           if(map.get("cust_name")!=null){cust_name=map.get("cust_name").toString();}
					           if(map.get("title")!=null){title=map.get("title").toString();}
					           if(map.get("sale_unit")!=null){sale_unit=map.get("sale_unit").toString();}
					           if(map.get("sale_price")!=null){sale_price=map.get("sale_price").toString();}
					           cust_class=cust.cust_Class_Name(sale_unit);
					           if(map.get("publish_date")!=null){
							      pub_date=map.get("publish_date").toString();
							      if(pub_date.length()>10){
							        pub_date=pub_date.substring(0,10);
							      }
							    }
							    String file_path="";
							     if(map.get("file_path")!=null){
							       file_path=map.get("file_path").toString();
							       file_path=file_path.substring(23);
								}else{
								file_path=defaultImg;
								}
							%>
							<td id="td<%=i%>">
								<table>
									<tr height="20px" valign="top" bgcolor="Linen">
										<td height="20px" valign="top" align="center" valign="center">
											<a href="javascript:remove('td<%=i%>')"><font color="red">移 除</font>
											</a>
										</td>
									</tr>
									<tr height="40px" valign="top" bgcolor="WhiteSmoke">
										<td height="80px" valign="top" align="center" valign="center">
											<a href="saleInquiry.jsp?sale_id=<%=sale_id%>" target=_blank><img height=80px src="<%=file_path%>" border=0>
											</a>
										</td>
									</tr>
									<tr height="40px" valign="top">
										<td height="40px" valign="top" align="center" valign="center">
											<a href="saleInquiry.jsp?sale_id=<%=sale_id%>" target=_blank><%=title%></a>
											<br>
											<%=pub_date%>
										</td>
									</tr>
									<tr height="40px" valign="top" bgcolor="WhiteSmoke">
										<td height="40px" valign="top" align="center" valign="center">
											<span style="font-weight:bold;color: #330000"><%=cust_name%></span>
										</td>
									</tr>
									<tr height="40px" valign="top">
										<td height="40px" valign="top" align="center" valign="center">
										<%=sale_price%>
										</td>
									</tr>
									<tr height="40px" valign="top" bgcolor="WhiteSmoke">
										<td height="40px" valign="top" align="center" valign="center">
											<%=cust_class%>
										</td>
									</tr>
								</table>
							</td>
							<%}
							}%>
						</tr>
					</table>
				</td>
				<td valign="top">
					&nbsp;
				</td>
				<td width="228" valign="top">
					&nbsp;
				</td>
			</tr>
			<tr>
			 <td colspan="3" align="center" style="margin-top: 10px;padding-top: 10px">
			   如需重新选择供应商,请【 <a href="javascript:window.close()"><font color="#FF3300">关闭</font></a> 】 此窗口。
			 </td>
			</tr>
		</table>
		<jsp:include flush="true" page="/zone_b2b/footer.jsp" />
	</body>
</html>

⌨️ 快捷键说明

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