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

📄 consumerecordlist.jsp

📁 自己制作的联通CRM,支持客户分类,管理,升级,积分管理等等..
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="${pageContext.request.contextPath }/image/main.css"
		rel="stylesheet" type="text/css">
	<link href="${pageContext.request.contextPath }/image/shh.css"
		rel="stylesheet" type="text/css">
	<script language="javascript"
		src="${pageContext.request.contextPath}/js/meizzDate.js"></script>
	<script type="text/javascript">
		function listConsumeRecord(){
			var phone = document.getElementById("phone").value;
			if(phone.length<11){
				alert("输入的手机号码不正确");
			}else{
				form1.submit();
			}
		}
	</script>
</head>

<body style="text-align: center;">

	<div id="title">
		积分消费查询
	</div>
	<html:form action="/consumeRecord.do?task=listConsumeRecord" styleId="form1">
		<div id="main" style="height: 595px;">
			<div id="query">
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="60" height="27px" align="right">号 码:&nbsp;</td>
						<td width="120" align="left">
							<html:text property="phone" size="12" maxlength="11" styleId="phone"></html:text>
						</td>
						<td width="70" align="right">起始账期:&nbsp;</td>
						<td width="120" align="left">
							<html:text property="startDate" onclick="setday(this);" size="12" readonly="true"></html:text>
						</td>
						<td width="70" align="right">结束账期:&nbsp;</td>
						<td width="120">
							<html:text property="endDate" onclick="setday(this);" size="12" readonly="true"></html:text>
						</td>
						<td width="180" align="center">
							<input type="button" value=" 查 询 " onclick="listConsumeRecord();"/>&nbsp;
							<input type="button" value=" 返 回 " onclick="location.href='${pageContext.request.contextPath }/consumeRecord.do?task=showConsumeRecord'"/>
						</td>
					</tr>
				</table>
			</div><br />
			<div style="height: 81px">
				<table width="740" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="27px" align="left" colspan="8">
							&nbsp;&nbsp;<span style="font-weight:bold">用户信息</span>
						</td>
					</tr>
					<tr class="ttop">
						<td width="90" height="27px" align="center">客户姓名</td>
						<td width="90" align="center">证件类型</td>
						<td width="130" align="center">证件号码</td>
						<td width="90" align="center">客户主套餐</td>
						<td width="90" align="center">客户类型</td>
						<td width="90" align="center">入网时间</td>
						<td width="70" align="center">地区</td>
						<td width="90" align="center">可用积分</td>
					</tr>
					<tr>
						<td width="90" height="27px" align="center" >${userInfo.username }</td>
						<td width="90"  align="center" >${userInfo.papertype }</td>
						<td width="130" align="center" >${userInfo.paperid }</td>
						<td width="90" align="center" >${userInfo.mainoption }</td>
						<td width="90" align="center" >${userInfo.optiontype }</td>
						<td width="90" align="center" >${userInfo.regtime }</td>
						<td width="70"  align="center" >${userInfo.area }</td>
						<td width="90"  align="center" >${totalIntergral }</td>
					</tr>
				</table>
			</div>
			<br />
			<div style="height: 300px">
				<table width="740" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="27px" align="left" colspan="8">
							&nbsp;&nbsp;<span style="font-weight:bold">客户积分消费信息</span>
						</td>
					</tr>
					<tr class="ttop">
						<td width="120" height="27px" align="center">消费时间</td>
						<td width="100" height="27px" align="center">消费类型</td>
						<td width="100" height="27px" align="center">消费积分</td>
						<td width="100" height="27px" align="center">操作员</td>
						<td width="100" height="27px" align="center">消费地区</td>
						<td width="100" height="27px" align="center">消费县市</td>
						<td width="120" height="27px" align="center">操  作</td>
					</tr>
					<c:forEach var="consumeRecord" items="${consumeRecordList}" >
						<tr>
							<td width="120" height="27px" align="center">${consumeRecord.consumedate }</td>
							<td width="100" height="27px" align="center">${consumeRecord.consumetype}</td>
							<td width="100" height="27px" align="center">${consumeRecord.consumepoint}</td>
							<td width="100" height="27px" align="center">${consumeRecord.operatorid}</td>
							<td width="100" height="27px" align="center">${consumeRecord.consumelocation}</td>
							<td width="100" height="27px" align="center">${consumeRecord.consumecity}</td>
							<td width="120" height="27px" align="center">
								<span id="link" onclick="showDetail(${consumeRecord.consumeid });">[兑换详细信息]</span>
								<script type="text/javascript">
									function showDetail(consumeid){
										window.showModalDialog("<c:url value='/consumeRecord.do?task=showDetail&consumeid="+consumeid+"'/>","_blank","dialogWidth:580px;dialogHeight:270px;status:1");
										document.location.reload();
									}
								</script>
							</td>
						</tr>
					</c:forEach>
				</table>
			</div>
			<br/>
			<table align="center" width="740px">
				<tr><td>${pagetool }</td></tr>
			</table>
		</div>
	</html:form>
</body>
</html:html>

⌨️ 快捷键说明

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