📄 productindex.jsp
字号:
<%@ page language="java" contentType="text/html; charset=GBK"
pageEncoding="GBK"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page import="com.doone.wskfmgr.common.PageEnum" %>
<%@ page import="com.doone.uurm.*, com.doone.data.*, com.doone.fj1w.common.*" %>
<%@ page import="com.doone.fj1w.common.entity.impl.TFNetGoodsImpl"%>
<%
String goodsId = request.getParameter("id");
if(goodsId == null || goodsId.equals("")){
response.sendRedirect("index.jsp");
return;
}
session.setAttribute("SESSION.CURRENT.GOODSID",goodsId);
TFNetGoodsImpl impl = new TFNetGoodsImpl(new DacClient(),goodsId);
session.setAttribute(PageEnum.PAGE_TOKEN,PageEnum.PAGE_TOKEN);
%>
<%@ taglib uri="/WEB-INF/curstom-tags.tld" prefix="custom" %>
<html>
<head>
<title>业务受理单</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Microsoft Theme" content="compass 1011, default">
<meta name="Microsoft Border" content="tlb, default">
<link href="../../common/style/main.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" media="all" href="../calendar/calendar-blue2.css"/>
<script language="JavaScript" src="../../common/script/ChangeStyle.js"></script>
<script language="JavaScript" src="../../common/mainTool.js"></script>
<script language="JavaScript" src="../../common/XMLHttpClient.js"></script>
<script type="text/javascript" src="../calendar/calendar.js"></script>
<script type="text/javascript" src="../calendar/calendar-zh.js"></script>
<script type="text/javascript" src="../calendar/calendar-action.js"></script>
<script type="text/javascript" language="JavaScript" src="js/submitform.js"></script>
<script type="text/javascript" language="JavaScript" src="js/productindex.js"></script>
</head>
<body onload="fn_onload();">
<form id="Default" method="post" action="index.jsp" onsubmit="return fn_OnSubmit(this);">
<div onresize="cltScript_Toolbar();" style="width: 100%">
<div id="divTop" style="overflow: hidden">
<table id="ibtnPanel" style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
cellpadding="0" width="100%" border="0">
<tr bgcolor="#efefef" height="33">
<td valign="middle" align="center" width="71"
onclick="history.back();"
id="ibtnReturn"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
title="返回。">返回</td>
<td valign="middle" align="center" width="71"
onclick="return addProduct();"
id="ibtnAddProduct"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
title="添加产品。">添加产品</td>
<td valign="middle" align="center" width="71"
onclick="return changeProduct();"
id="ibtnChangeProduct"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
title="修改商品。">修改产品</td>
<td valign="middle" align="center" width="90"
onclick="return managerProduct();"
id="ibtnManagerProduct"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
title="管理产品状态。">管理产品状态</td>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
<tr>
<td width="100%" colspan="2" class="OuterHead" align="left">
<strong><font color="blue">当前商品为: </font><font color="red"><%=impl.getGoodsId() %></font>
<font color="blue"> 描述: </font></font><font color="red"><%=impl.getDescription() %></font></strong>
</td>
</tr>
<tr>
<td width="100%" colspan="2" class="InnerMain" align="left">
<table id="QueryTable" border="0" cellspacing="0" cellpadding="0" width="100%">
<caption style="display:none;">
<!-- 隐藏条件值,放入. <input type="hidden">-->
<input type="hidden" name="GOODSID" value="<%= impl.getGoodsId()%>">
</caption>
<tbody>
<!--常用简单的查询条件-->
<tr>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">开始时间:</td>
<td width="15%" class="body_td" align="left" nowrap="nowrap">
<input type="text" name="STARTTIME" id="STARTTIME" title="双击清空。" ondblclick="this.value='';" size="19" /><span style="cursor:hand"
onclick="return showCalendar('STARTTIME', '%Y-%m-%d', null, true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14" />
</td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">产品条码:</td>
<td width="15%" class="body_td" nowrap="nowrap"><input type="text" id=PRODCUTCODE name="PRODCUTCODE" style="width: 100%;"></td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">产品名称:</td>
<td width="15%" class="body_td" nowrap="nowrap"><input type="text" id="NAME" name="NAME" style="width: 100%;"></td>
</td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">产品状态:</td>
<td width="15%" class="body_td" nowrap="nowrap">
<select id="OPARETION" name="OPARETION" style="width: 100%;">
<option value="">全部</option>
<option value="1">未允许销售</option>
<option value="2">允许销售</option>
<option value="3">用户预定购</option>
<option value="4">已售出</option>
<option value="5">禁止销售</option>
</select>
</td>
</tr>
</tbody>
<tbody style="display:;">
<!--其它查询条件-->
<tr>
<td class="Caption_Td" align="right" nowrap="nowrap">结束时间:</td>
<td class="body_td" align="left" nowrap="nowrap">
<input type="text" name="ENDTIME" id="ENDTIME" title="双击清空。" ondblclick="this.value='';" size="19" /><span style="cursor:hand"
onclick="return showCalendar('ENDTIME', '%Y-%m-%d', null, true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14" />
</td>
<td class="Caption_Td" align="right" nowrap="nowrap">状态:</td>
<td class="body_td" align="left" nowrap="nowrap">
<select name="STATE" style="width: 100%;">
<option value="">全部</option>
<option value="E">可用</option>
<option value="D">禁用</option>
</select>
</td>
<td class="Caption_Td" align="right" nowrap="nowrap">排序方式:</td>
<td class="body_td" align="left" nowrap="nowrap" colspan="4">
<select name="SORT" style="width: 100%;">
<option value="">默认</option>
<option value="asc">入库时间顺序排列</option>
<option value="desc">入库时间倒序排列</option>
</select>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="OuterFoot">
<td width="15%" align="left" class="Caption_Td">
<input type="submit" class="button" value="查询">
<input type="reset" class="button" value="重填">
</td>
<td width="85%" align="left" class="Caption_td">
<table id="QueryResult" border="0" width="100%" cellspacing="0"
cellpadding="1"
style="behavior:url(../../common/table.htc)"
ontableload="return onQueryResultLoad();"
serviceURL="<%= request.getContextPath() + "/XmlHttpService"%>"
service="ProductService"
dataService="getConditionResult"
rcService="getConditionCount"
autoLoad="False"
locked="true">
<caption style="display:none;"></caption>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
<tr height="5"><td colspan="2"><img src="../../common/images/spacer.gif"></td></tr>
</table>
</div>
<div id="divMain" style="overflow: auto">
<!--service表的服务名--><!--dataService表的内容--><!--rcService表的行数-->
<table id="Result" border="0" width="100%" cellspacing="0"
cellpadding="1"
style="behavior:url(../../common/table.htc)"
DefaultClass="DefaltRow"
keyName="key"
SelectedClass="SelectedRow"
multiple="true"
onselected="return onChoosed();"
onunselected="return onUnChoosed();"
ontableload="return onContentLoad();"
ondblclick="return fn_dblClick();"
serviceURL="<%=request.getContextPath()+"/XmlHttpService"%>"
service="ProductService"
dataService="getContextResult"
rcService="getContextCount"
pageStyle="0"
autoLoad="false"
class="OuterTable">
<thead>
<tr class="OuterHead" style="cursor: none;">
<TD class="title_td" align="center" width="20%" nowrap><b>产品条码</b></TD>
<TD class="title_td" align="center" width="20%"><b>产品名称</b></TD>
<TD class="title_td" align="center" width="15%"><b>入库时间</b></TD>
<TD class="title_td" align="center" width="15%"><b>出库时间</b></TD>
</tr>
</thead>
<caption style="display:none;"></caption>
<tr key="-1" type="">
<td class="InnerHead" colspan="8" style="cursor: default;" onclick="">没有任何记录信息</td>
</tr>
<tfoot>
<tr class="OuterFoot">
<td align="right" class="foot_td" nowrap width="100%" colspan="10">
分页:<span id="pageSet"></span>
</td>
</tr>
</tfoot>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="OuterTable">
</table>
</div>
</div>
</form>
<IFRAME id="orderAccept" style="display:none;"></IFRAME>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -