Demo entry 6719783

jsp

   

Submitted by lu on Mar 14, 2018 at 02:43
Language: Java Server Page. Code size: 6.4 kB.

<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">


<script>
	$(function() {
		$("#file").uploadPreview({
			Img : "pic",
			Width : 280,
			Height : 500
		});
	});
</script>

<script>
	function applyMessage() {
		var mess="<%=session.getAttribute("apply_message")%>";
		if (mess!="null")
		{
			if(mess=="success"){
				alert("申请成功!");
			}
			else{
				alert(mess);
			}
			<%session.putValue("apply_message", "null");%>
		}
	}
</script>
</head>


<body onload="applyMessage()">
	<!-- topbar starts -->

	<!-- topbar ends -->

	<div id="content" class="col-lg-10 col-sm-10">
		<!-- content starts -->
		<div>
			<ul class="breadcrumb">
				<li><a href="#">首页</a></li>
				<li><a href="#">申请报销</a></li>
			</ul>
		</div>
		<div class="row">

			<div class="box-inner">
				<div class="box-header well" data-original-title="">
					<h2>
						<i class="glyphicon glyphicon-user"></i> 申请报销
					</h2>

					<div class="box-icon">
						<a href="#" class="btn btn-setting btn-round btn-default"><i
							class="glyphicon glyphicon-cog"></i></a> <a href="#"
							class="btn btn-minimize btn-round btn-default"><i
							class="glyphicon glyphicon-chevron-up"></i></a> <a href="#"
							class="btn btn-close btn-round btn-default"><i
							class="glyphicon glyphicon-remove"></i></a>
					</div>
				</div>




				<br>


				<form class="form-inline" role="form" enctype="multipart/form-data"
					action="<%=path%>/users/Finance_readyfin.action" method="post">
					<table>
						<tr>
							<td>
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">发票号码:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="fnum"
										value='<s:property value="#session.temp_data.fnum"/>' />
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">发票类型:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="type"
										value='<s:property value="#session.temp_data.type"/>' />
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">发票代码:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="serial"
										value='<s:property value="#session.temp_data.serial"/>' />
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">&nbsp;&nbsp;&nbsp;&nbsp;人:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="applyname" readonly
										value='<s:property value="#session.cur_user.name"/>'>
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="jnum" readonly
										value='<s:property value="#session.cur_user.jnum"/>'>
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">项目名称:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="projectname"
										value='<s:property value="#session.temp_data.projectname"/>' />
								</div> <br> <br />
							</td>
							<td>
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">申报金额:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="money"
										value='<s:property value="#session.temp_data.temp"/>' />
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">银行卡号:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="cardnum"
										value='<s:property value="#session.temp_data.cardnum"/>' />
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">&nbsp;&nbsp;&nbsp;&nbsp;名:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="cardname" 
										value='<s:property value="#session.temp_data.cardname"/>'/>
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">开户类型:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="cardtype"
										value='<s:property value="#session.temp_data.cardtype"/>' />
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">申请日期:</label>
									<input readonly type="text" class="form-control"
										id="inputSuccess4"
										value='<s:date name="#session.today" format="yyyy-MM-dd"/>' />
								</div> <br> <br />
								<div class="form-group has-success has-feedback">
									<label class="control-label" for="inputSuccess4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</label>
									<input type="text" class="form-control" id="inputSuccess4"
										name="comment" placeholder="无"
										value='<s:property value="#session.temp_data.comment"/>' />
								</div> <br> <br />
							</td>

						

						</tr>

						<tr>
							<td colspan="2">
								<button class="btn btn-success" type="submit"
									style="margin-left:38%;">
									<i class="glyphicon glyphicon-zoom-in icon-white"></i> 下一步
								</button> <br> <br> <br>
							</td>
						</tr>
					</table>
				</form>
			</div>
		</div>

</body>
</html>

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).