基于javaweb+jsp的企业物资管理系统
JavaWeb JavaBean JSP MVC MySQL Tomcat Javascript idea eclipse MyEclipse Servlet SSM Maven …
部分代码实现JSP
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
物资 管理
if (document.getElementById("suppliesType").value.trim().length == 0) {
alert("类别不能为空!");
return false;
}
if (document.getElementById("suppliesCount").value.trim().length == 0) {
alert("库存数量不能为空!");
return false;
}
if (document.getElementById("suppliesFactory").value.trim().length == 0) {
alert("供应商不能为空!");
return false;
}
if (document.getElementById("suppliesDate").value.trim().length == 0) {
alert("入库日期不能为空!");
return false;
}
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
添加物资


