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

📄 cardsaleupdate.jsp

📁 本套系统采用了业界当前最为流行的beanAction组件
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>

<%@ 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"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />
	<script type="text/javascript" src="../js/my.js"></script>
	<link rel="stylesheet" type="text/css" href="../common/css/common.css" />
	<script type="text/javascript" src="../common/js/order.js"></script>
	<script type="text/javascript" src="../common/js/cardSale.js"></script>
	<title>卡销售信息更新</title>
	<%
	String type =(String)session.getAttribute("userClass");
	if (!type.equals("1")) {
		session.setAttribute("notLogin", true);	
		out.print("<script language=javascript>window.location.href='/TeleReport/jsp/login.jsp';</script>");		
	}                                                   
  %>
</head>
<body>
	<html:form action="/jsp/updateCard" onsubmit = "return cardSaleInput()">
	<table width="200" border="1">
		<caption>
			卡销售收入更新
		</caption>
		<tbody>
			<tr>
				<td class="item">
					销售日期:
				</td>
				<td class="item_value">
						<INPUT id=Begin_Time1
							onclick="fPopCalendar(Begin_Time1,Begin_Time1,'Down');return false"
							type="text" name="saleDate"  readonly/>
						<br>
				</td>
			</tr>
			<tr>
				<td class="item">
					城市:
				</td>
				<td class="item_value">&nbsp;
					<html:select  property="cityId">
							<html:option value="-1">不区分</html:option>
							<html:optionsCollection property="cityList" label="cityName"
								value="cityId" />
					</html:select>
				</td>
			</tr>
			<tr>
				<td class="item">
					产品名称:
				</td>
				<td class="item_value">&nbsp;
					<html:select  property="proId">
							<html:option value="-1">不区分</html:option>
							<html:optionsCollection property="prodList" label="prodName"
								value="prodId" />
					</html:select>
				</td>
			</tr>
			<tr>
				<td class="item">
					单张面值金额:
				</td>
				<td class="item_value">
					<html:text size="6" property="singleV" maxlength="15"></html:text>
				</td>
			</tr>
			<tr>
				<td class="item">
					卡销售数量:
				</td>
				<td class="item_value">
					<html:text size="8" property="proNumber" maxlength="15"></html:text>
				</td>
			</tr>
			<tr>
				<td class="item">
					卡总面值金额:
				</td>
				<td class="item_value">
					<input type="text" id="proNumV" readonly onFocus="totalValue()">
				</td>
			</tr>
			<tr>
				<td class="item">
					折扣后金额:
				</td>
				<td class="item_value">
					<html:text property="discordV"></html:text>
				</td>
			</tr>
			<tr>
				<td class="item">
					&nbsp;
				</td>
				<td class="item_value">
					<html:submit value="录入" ></html:submit>
					<html:reset value="重设"></html:reset>
				</td>
			</tr>
		</tbody>
	</table>
	</html:form>
</body>
</html:html>

⌨️ 快捷键说明

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