GoodsInfoView.jsp
资源名称:barcode.rar [点击查看]
上传用户:wenzhanhao
上传日期:2022-03-28
资源大小:9150k
文件大小:8k
源码类别:
百货/超市行业
开发平台:
Visual C++
- <%@ 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.*"%>
- <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"> </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">
- <%
- GoodsInfoViewFB givfb = (GoodsInfoViewFB)request.getAttribute(Globals.REQUEST_GOODSINFOVIEW);
- GoodsInfoObj gio = givfb.getGio();
- NumberFormat nf = NumberFormat.getNumberInstance();
- nf.setMaximumFractionDigits(2);
- %>
- <form name="form1" method="post" action="" >
- <!--<font color=#227066><b>添加用户</b></font>-->
- <IMG src="images/line1.gif" border=0>
- <br>
- <TABLE width="100%" border="1" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF" class="mailtable">
- <tr bgcolor="#CAE4F4">
- <td align=center width=10%>
- <font color=#227066><b>货物标识:</b></font>
- </td>
- <td width=35%>
- <%
- if(gio.getGoodsId()!=null)
- {
- %>
- <%=gio.getGoodsId()%>
- <%
- }
- else
- {
- %>
- <font color=blue>未进货</font>
- <%
- }
- %>
- </td>
- <td align=center width=10%>
- <font color=#227066><b>货物名称:</b></font>
- </td>
- <td width=35%>
- <%
- if("<font color=red>新进货</font>".equals(gio.getGoodsName()))
- {
- %>
- <%=gio.getGoodsName()%>
- <%
- }
- else if(gio.getGoodsName()==null)
- {}
- else
- {
- %>
- <font color=red><%=gio.getGoodsName()%></font>
- <%
- }
- %>
- </td>
- </tr>
- <tr>
- <td align=center width=10%>
- <font color=#227066><b>货物类型:</b></font>
- </td>
- <td width=35%>
- <%
- if(gio.getGoodsTypeName()!=null)
- {
- %>
- <%=gio.getGoodsTypeName()%>
- <%
- }
- %>
- </td>
- <td align=center width=10%>
- <font color=#227066><b>分类属性:</b></font>
- </td>
- <td width=35%>
- <%
- if(gio.getGoodsClassName()!=null)
- {
- %>
- <%=gio.getGoodsClassName()%>
- <%
- }
- %>
- </td>
- </tr>
- <tr bgcolor="#CAE4F4">
- <td align=center width=10%>
- <font color=#227066><b>主题人名:</b></font>
- </td>
- <td width=35%>
- <%
- if(gio.getSubjectPersons()!=null)
- {
- %>
- <font color=#AC00FC><%=gio.getSubjectPersons()%></font>
- <%
- }
- %>
- </td>
- <td align=center width=10%>
- <font color=#227066><b>编辑人员:</b></font>
- </td>
- <td width=35%>
- <%
- if(gio.getCreators()!=null)
- {
- %>
- <%=gio.getCreators()%>
- <%
- }
- %>
- </td>
- </tr>
- <tr>
- <td align=center width=10%>
- <font color=#227066><b>库存数量:</b></font>
- </td>
- <td width=35%>
- <%=gio.getRepertoryAmount()%>
- </td>
- <td align=center width=10%>
- <font color=#227066><b>库存单价:</b></font>
- </td>
- <td width=35%>
- <%=nf.format(gio.getImportUnitPrice())%>
- </td>
- </tr>
- <tr bgcolor="#CAE4F4">
- <td align=center width=10%>
- <font color=#227066><b>销售单价:</b></font>
- </td>
- <td width=35%>
- <%=nf.format(gio.getPurchaseUnitPrice())%>
- </td>
- <td align=center width=10%>
- <font color=#227066><b>货物特价:</b></font>
- </td>
- <td width=35%>
- <%=nf.format(gio.getSpecialUnitPrice())%>
- </td>
- </tr>
- <tr>
- <td align=center width=10%>
- <font color=#227066><b>货架名称:</b></font>
- </td>
- <td width=35%>
- <%
- if(gio.getGoodsShelfIdName()!=null)
- {
- %>
- <%=gio.getGoodsShelfIdName()%>
- <%
- }
- %>
- </td>
- <td align=center width=10%>
- <font color=#227066><b>货架位置:</b></font>
- </td>
- <td width=35%>
- <%
- if(gio.getShelfLayerId()!=null && !"".equals(gio.getShelfLayerId()))
- {
- %>
- 位于第<font color=#EB1BF3><%=gio.getShelfLayerId()%></font>层
- <%
- }
- if(gio.getLayerCellId()!=null && !"".equals(gio.getLayerCellId()))
- {
- %>
- 第<font color=#EB1BF3><%=gio.getLayerCellId()%></font>格
- <%
- }
- %>
- </td>
- </tr>
- <tr bgcolor="#CAE4F4">
- <td align=center width=10%>
- <font color=#227066><b>最近更新:</b></font>
- </td>
- <td width=35%>
- <%
- String tmpdate = "";
- if((gio.getLastUpdateTime())!=null) tmpdate = gio.getLastUpdateTime();
- if(tmpdate.length()>=19)
- {
- tmpdate = tmpdate.substring(0,19);
- }
- if(!"".equals(tmpdate))
- {
- %>
- 于 <font color=#0404C5><%=tmpdate%></font>
- <%
- }
- if(gio.getLastCreator()!=null && !"".equals(gio.getLastCreator()))
- {
- %>
- 由 <font color=#0404C5><%=gio.getLastCreator()%></font> 更新
- <%
- }
- %>
- </td>
- <td align=center width=10%>
- <font color=#227066><b>货物状态:</b></font>
- </td>
- <td width=35%>
- <%
- if("0".equals(gio.getConfirmFlage()))
- {
- %>
- <font color=#E61577>临时入库</font>
- <%
- }
- else if("1".equals(gio.getConfirmFlage()))
- {
- %>
- <font color=#007168>正式入库</font>
- <%
- }
- %>
- </td>
- </tr>
- </TABLE>
- </form>
- <br>
- <br>
- <a href="javascript:this.close()">关闭</a>
- </td>
- </tr>
- <tr>
- <td valign="middle" align="center"> </td>
- </tr>
- </table>
- </td>
- <td width="5"></td>
- </tr>
- <tr>
- <td width="6"></td>
- <td colspan="2" class="mainhead"> </td>
- <td width="5"></td>
- </tr>
- <tr>
- <td colspan="8" bgcolor="#214984" height="2"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>