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

📄 refundadd.jsp

📁 仓库管理系统,适合各种行业的仓库管理系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*,com.bean.DTO.*,com.bean.DAO.*,com.database.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<%=request.getContextPath()%>/css/SMSpublic.css" rel="stylesheet" type="text/css"/>
<link href="../css/SMSpublic.css" rel="stylesheet" type="text/css"/>
<script language="javascript" type="text/javascript" src="<%=request.getContextPath() %>/js/birthday.js"></script>
</head>
<script language="javascript" type="text/javascript">

function ckeck1(){
    var projectID = document.form1.projectID.value;
    
	var totalfee = document.form1.totalfee.value;
	
	
	var checkerID = document.form1.checkerID.value;
	var directorID = document.form1.directorID.value;
	
	if(projectID==""){
	   alert("采购项目不能为空!");
	   return false;
	}
	
	if(totalfee==""){
	 alert("总费用不能为空!");
	   return false;
	}
	
	
	if(checkerID==""){
	 alert("经手人ID不能为空!");
	   return false;
	}
	if(directorID==""){
	 alert("部门主管ID不能为空!");
	   return false;
	}
	if(isNaN(projectID)){
	 alert("报销项目必须为数字!");
	   return false;
	}
	
	if(isNaN(totalfee)){
	 alert("总费用必须位数字!");
	   return false;
	}
	if(isNaN(checkerID)){
	 alert("经手人ID必须位数字!");
	   return false;
	}
	if(isNaN(directorID)){
	 alert("部门主管ID必须位数字!");
	   return false;
	}
	
	
}
</script>
<body>
<table width="1010" border="0" height="21" bgcolor="#6495ED"cellpadding="0" cellspacing="0" >
<tr>
<td width="15%" align="center"><font color="#FFFFFF">填 写 报 销 表</font></td>
</tr>
</table>
<p align="center" style=" font-family:'华文行楷'; font-size:24px; color:#FF0000 ">${err }</p>
<%request.setAttribute("err","") ;%>
<form id="form1" name="form1" method="post" action="/SMS/refundadd.do" onsubmit="return ckeck1()">
<table width="80%" border="0"  cellpadding="1" cellspacing="1">
<tr>
<td height="41" colspan="6" align="center" class="title1">填 写 报 销 表</td>
</tr>
<tr>
<td width="29%" class="title2">采购项目ID:</td>
<td width="71%" class="STYLE18"><input name="projectID" type="text" class="inputcontent" id="projectID" onblur="check()"/>
<label id="result"></label></td>
</tr>

<tr>
<td height="30" class="title2">总  费   用:</td>
<td height="30" class="STYLE18"><input name="totalfee" type="text" class="inputcontent" id="totalfee" /></td>
</tr>

<tr>
<td height="30" class="title2">经 手 人 ID:</td>
<td height="30" class="STYLE18"><input name="checkerID" type="text" class="inputcontent" /></td>
</tr>

<tr>
<td height="30" class="title2">部门主 管ID:</td>
<td height="30" class="STYLE18"><input name="directorID" type="text" class="inputcontent" /></td>
</tr>

<tr>
<td height="30" colspan="2" class="STYLE18">         
  <input type="submit" name="Submit" value="提 交" class="button"/> 

     
  <input type="reset" name="Submit2" value="重 置" class="button"/></td>
</tr>
</table>
<p>&nbsp;</p>
<p class="title2">&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</form>
</body>
</html>

⌨️ 快捷键说明

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