📄 c0b4a9ec5c31001d1920bb3b63de0236
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ include file="/commons/taglibs.jsp" %>
<html>
<head>
<title>My JSP 'clientList.jsp' starting page</title>
<%@ include file="/commons/meta.jsp" %>
</head>
<body class="bodycolor" topmargin="5">
<table class="title1">
<tr>
<td class="Big"><span class="big3"> 客户产品信息</span><br>
</td>
</tr>
</table>
<br>
<div align="left">
<fieldset style="width:95%;padding-bottom:5px;">
<legend class="small" align=left>
<b>快捷操作</b>
</legend>
<html:form action="clientProduction.do" method="post">
<html:hidden property="p" value="list"/>
<table cellspacing="1" class="small" align="left" cellpadding="3">
<tr>
<td nowrap class="TableData">客户名称: </td>
<td nowrap class="TableData">
<html:text property="clientId" styleClass="SmallInput" size="15" maxlength="100"></html:text>
</td>
<td nowrap class="TableData"> 客户产品名称: </td>
<td nowrap class="TableData">
<html:text property="clientProductionName" styleClass="SmallInput" size="15" maxlength="100"></html:text>
</td>
<td nowrap class="TableData">产品类型: </td>
<td nowrap class="TableData">
<html:text property="productionTypeId" styleClass="SmallInput" size="15" maxlength="100"></html:text>
</td>
</tr>
<tr>
<td nowrap class="TableData" colspan="5" >
<input value="快速查询" type="submit" class="SmallButton" title="快速查询" name="button" onClick="location.href='client.do?p=list'">
<input value="添加客户产品" type="button" class="SmallButton" title="添加客户资料" name="button1" onClick="location.href='${ctx }/clientProduction.do?p=edit'">
</td>
</tr>
</table>
</html:form>
</fieldset>
</div>
<br>
<br>
<!-- 如果没有数据显示 提示 -->
<c:if test="${empty clientProductions}">
<%@ include file="/utility/noData.jsp" %>
</c:if>
<!-- 有数据时 -->
<c:if test="${!empty clientProductions}">
<table class="tablestyle1">
<tr class="TableHeader">
<td nowrap align="center" width="5%">选择</td>
<td nowrap align="center" width="15%">客户产品名称</td>
<td nowrap align="center" width="15%">产品类型</td>
<td nowrap align="center" width="15%">产品单价</td>
<td nowrap align="center" width="15%">产品数量</td>
<td nowrap align="center" width="15%">所属客户</td>
<td nowrap align="center" width="25%">操作</td>
</tr>
<c:forEach items="${clientProductions}" var="item">
<tr class="TableLine1">
<td > <input type="checkbox" name="email_select" value="2" onClick="check_one(self);"></td>
<td nowrap align="center">${item.clientProductionName}</td>
<td nowrap align="center">${item.productionType.name }</td>
<td nowrap align="center">${item.price}</td>
<td nowrap align="center">${item.amount}</td>
<td nowrap align="center">${item.client.clientName }</td>
<td nowrap align="center">
<a href="javascript:show_detail(2);"> 详细信息 </a> |
<a href="${ctx }/clientProduction.do?p=edit&&id=${item.id }"> 编辑</a> |
<a href="${ctx }/clientProduction.do?p=delete&&id=${item.id }" onClick="{if(confirm('确定要删除吗?')){return true;}return false;}"> 删除 </a>
</td>
</tr>
</c:forEach>
<tr class="TableControl" >
<td colspan="11">
<input type="checkbox" name="allbox" id="allbox_for" onClick="check_all();">
<label for="allbox_for">全选</label>
<input type="button" value="批量删除" class="SmallButton" onClick="delete_mail();" title="删除所选客户">
</td>
</tr>
<tr>
<pager:pager value="pager" url="clientProduction.do" pagerStr="pagerstruts"/>
</tr>
</table>
</c:if>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -