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

📄 importitemsview.jsp

📁 条形码商品管理系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=gbk" language="java" %>
<%@ taglib uri='/WEB-INF/tlds/MediaStore_template.tld' prefix='mstemplate' %>

<%@ page import="mediastore.web.global.*"%>
<%@ page import="mediastore.web.form.*"%>
<%@ page import="java.text.*"%>
<%@ page import="java.util.*"%>


<html>
<head>
<title>Media Store</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<link rel="stylesheet" href="./css/style.css" type="text/css">

</head>
<body background='./images/bgall.gif'>
<table width="98%" align="center">
  <tr>
  	<td>


<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="5" rowspan="4" class="trtable"></td>
    <td width="6" bgcolor="#214984" height="1"></td>
    <td rowspan="4" bgcolor="#214984" width="1" height="1"></td>
    <td bgcolor="#214984" class="10p" colspan="2" height="1"></td>
    <td rowspan="4" width="1" bgcolor="#214984" height="1"></td>
    <td bgcolor="#214984" width="5" height="1"></td>
    <td width="5" rowspan="4" class="trtable"></td>
  </tr>
  <tr> 
    <td width="6"></td>
    <td width="379" height="20" class="mainhead">进货明细</td>
    <td class="mainhead" width="379" height="20">&nbsp;</td>
    <td width="5"></td>
  </tr>
<tr> 
    <td width="6"></td>
    <td valign="top" colspan="2"> 
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        
        <tr> 
          <td height="100" align="center" valign="top">   
          
<%
	ImportItemsViewFB iivfb = (ImportItemsViewFB)request.getAttribute(Globals.REQUEST_IMPORTITEMSVIEW);
	List giiiList = iivfb.getGiiiList();
%>

    	<form name="form1" method="post" action="" >

    	<IMG src="images/line1.gif" border=0>
    	<br>
	<TABLE width="100%" border="1" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF" class="mailtable">  
		<%
			if(giiiList.size()>0)
			{
		%>
		<tr bgcolor="#C2CEDC">
		<th></th>
		<th>货物标识</th>
		<th>货物名称</th>
		<th>数量</th>
		<th>单价</th>
		<th>录入人员</th>
		<th>录入时间</th>
		<th>单据状态</th>
		</tr>
		<%
			}
		%>
		
		<%
		NumberFormat nf = NumberFormat.getNumberInstance();
		nf.setMaximumFractionDigits(2);
		
		int index = 0;
	      	GoodsImportGoodsInfo tmpInfo = null;
	      	
	      	for (index=0; index<giiiList.size(); index++)
		{
	      		tmpInfo = (GoodsImportGoodsInfo)giiiList.get(index);
	      	%>
	        <tr <%if((index%2)==1){%>bgcolor="#CAE4F4"<%}%> >
		<td align='center' width=2%><a href="<%= request.getContextPath() + "/goodsInfoView.do?goodsid=" + tmpInfo.getGoodsId() %>" target='goodsinfo'><IMG src="images/goods.gif" border=0 alt='查看货物信息'></a></td>
	        <td align='center'><%= tmpInfo.getGoodsId() %></td>
	        <td align='center'><%= tmpInfo.getGoodsName() %></td>
		<td align='center'><%= tmpInfo.getImportAmount() %></td>
		<td align='center'><%= nf.format(tmpInfo.getImportUnitPrice()) %></td>
		<td align='center'><%= tmpInfo.getCreatePerson() %></td>
		<td align='center'>
		<%
			String tmpTime = tmpInfo.getCreateTime();
			if(tmpTime==null)tmpTime="";
			if(tmpTime.length()>=19)
			{
		%>
				<%= tmpTime.substring(0,19) %>
		<%
			}
		%>
		</td>
		<td align='center'>
		<%
			if(tmpInfo.getConfirmFlage().equals("0"))
			{
		%>
			<font color=#E61577>临时单</font>
		<%
			}else{
		%>
			<font color=#007168>确认单</font>
		<%
			}
		%>
		</td>
	        </tr>
	        <%
	
	      	}//--for
	        %>
	</TABLE>
	</form>

	<br>
    	<br>
	

    	

	<a href="javascript:this.close()">关闭</a>

	</td>
        </tr>
        <tr> 
          <td valign="middle" align="center">&nbsp;</td>
        </tr>

      </table>
      
    </td>
    <td width="5"></td>
  </tr>
  <tr> 
    <td width="6"></td>
    <td colspan="2" class="mainhead">&nbsp;</td>
    <td width="5"></td>
  </tr>
  <tr> 
    <td colspan="8" bgcolor="#214984" height="2"></td>
  </tr>
</table>


</td>
  </tr>
</table>
</body>

</html>

⌨️ 快捷键说明

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