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

📄 cardsaleinput.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 />
	<link rel="stylesheet" type="text/css" href="../common/css/common.css" />
	<title>卡销售信息录入</title>
	<script type="text/javascript" src="../common/js/order.js"></script>
	<script type="text/javascript" src="../common/js/cardSale.js"></script>
	<%
	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>
	<br>
	<html:form action="/jsp/insertCard" onsubmit = "return cardSaleInput()">
		<table width="200" border="1">
			<caption>
				卡销售销售信息录入
				<br>
			</caption>
			<tbody>
				<tr>
					<td class="item">
						销售日期:
						<br>
					</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">
						城市:
						<br>
					</td>
					<td class="item_value">
						&nbsp;
						<html:select property="cityId" value = "-1">
							<html:option  value="-1">--不区分</html:option>
							<html:optionsCollection property="cityList" label="cityName" value="cityId"/>
						</html:select>
						<br>
					</td>
				</tr>
				<tr>
					<td class="item">
						产品名称:
						<br>
					</td>
					<td class="item_value">
						&nbsp;
						<html:select property="proId" value ="-1">
							<html:option  value="-1">--不区分</html:option>
							<html:optionsCollection property="prodList" label = "prodName" value = "prodId"/>
						</html:select>
						<br>
					</td>
				</tr>
				<tr>
					<td class="item">
						单张面值金额:
						<br>
					</td>
					<td class="item_value">
						<html:text size="20" property="singleV" maxlength="10"></html:text>
						<br>
					</td>
				</tr>
				<tr>
					<td class="item">
						卡销售数量:
						<br>
					</td>
					<td class="item_value">
						<html:text size="20" property="proNumber" maxlength="10"></html:text>
						<br>
					</td>
				</tr>
				<tr>
					<td class="item">
						卡总面值金额:
						<br>
					</td>
					<td class="item_value">
						<input type="text" id="proNumV" readonly onFocus="totalValue()">
						<br>
					</td>
				</tr>
				<tr>
					<td class="item">
						折扣后金额:
						<br>
					</td>
					<td class="item_value">
						<html:text property="discordV" size="20" maxlength="15"></html:text>
						<br>
					</td>
				</tr>
				<tr>
					<td class="item">
						&nbsp;
						<br>
					</td>
					<td class="item_value">
						<html:submit value="插入"></html:submit>
						<html:reset value="重设"></html:reset>
						<br>
					</td>
				</tr>
			</tbody>
		</table>
	</html:form>
</body>
</html:html>

⌨️ 快捷键说明

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