基于javaweb+jsp的仓库进销存管理系统
Posted qq_1742826239
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了基于javaweb+jsp的仓库进销存管理系统相关的知识,希望对你有一定的参考价值。
基于javaweb+jsp的仓库进销存管理系统
JavaWeb JavaBean JSP MVC mysql Tomcat javascript idea eclipse MyEclipse Servlet SSM Maven …
部分代码实现JSP
if (document.getElementById("chukuHuohao").value.trim().length == 0)
alert("货号不能为空!");
return false;
if (document.getElementById("chukuName").value.trim().length == 0)
alert("货物名称不能为空!");
return false;
if (document.getElementById("chukuSuliang").value.trim().length == 0)
alert("数量不能为空!");
return false;
if (document.getElementById("chukuClientname").value.trim().length == 0)
alert("客户名不能为空!");
return false;
<div class="col-sm-5">
<textarea rows="3" class="form-control" id="chukuText" name="chukuText" placeholder="请输入内容......"></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"></label>
<div class="col-sm-5">
<input type="submit" class="btn btn-pill btn-line btn-info btn-sm" value="保存">
<input type="button" class="btn btn-pill btn-line btn-default btn-sm" value="返回" onclick="javascript:history.back(-1);">
</div>
</div>
</form>
</div>
</body>
<script type="text/javascript">
//提交之前进行检查,如果return false,则不允许提交
function check()
<td><a href="chukuGet?id=$vo.id">$vo.chukuName</a></td>
<td>$vo.chukuSuliang</td>
<td>$vo.chukuClientname</td>
<td>$vo.chukuTel</td>
<td>$vo.chukuMan</td>
<td>
<button onclick="window.location.href='chukuEditPre?id=$vo.id'"
class="btn btn-pill btn-line btn-info btn-xs"
<c:if test="$loginUser.userType != '管理员'">disabled="disabled" title="没有权限!!!"</c:if>
>
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
编辑
</button>
<button onclick="if(window.confirm('将要删除:$vo.chukuName?'))window.location.href='chukuDelete?id=$vo.id'"
class="btn btn-pill btn-line btn-danger btn-xs"
<c:if test="$loginUser.userType != '管理员'">disabled="disabled" title="没有权限!!!"</c:if> >
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
<textarea rows="3" class="form-control" id="chukuText" name="chukuText" disabled="disabled">$vo.chukuText</textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"></label>
<div class="col-sm-5" style="padding-top: 7px;">
<input type="button" class="btn btn-pill btn-line btn-default btn-sm" value="返回" onclick="javascript:history.back(-1);">
</div>
</div>
</form>
</div>
</body>
</html>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
<head>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">数量:</label>
<div class="col-sm-5" style="padding-top: 7px;">
$vo.chukuSuliang
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">客户名:</label>
<div class="col-sm-5" style="padding-top: 7px;">
$vo.chukuClientname
</div>
</div>
<div class="form-group">
<input type="text" class="form-control" id="chukuName" name="chukuName" value="$vo.chukuName">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">数量:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="chukuSuliang" name="chukuSuliang" value="$vo.chukuSuliang">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">客户名:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="chukuClientname" name="chukuClientname" value="$vo.chukuClientname">
</div>
</div>
<input type="text" class="form-control" id="chukuClientname" name="chukuClientname">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">联系方式:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="chukuTel" name="chukuTel">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">操作员:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="chukuMan" name="chukuMan">
</div>
</div>
<div class="form-group">
</div>
<div class="form-group">
<label class="col-sm-3 control-label">货物名称:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="chukuName" name="chukuName">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">数量:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="chukuSuliang" name="chukuSuliang">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">客户名:</label>
<div class="col-sm-5" style="padding-top: 7px;">
$vo.chukuTel
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">操作员:</label>
<div class="col-sm-5" style="padding-top: 7px;">
$vo.chukuMan
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">备注:</label>
<div class="container-fluid">
<ul class="nav nav-tabs">
<li><a href="chukuList">用户列表</a></li>
<li class="active"><a href="#">详情</a></li>
</ul>
<br/>
<form class="form-horizontal" role="form" action="#" method="post">
<input type="hidden" class="form-control" id="id" name="id" value="$vo.id"/>
<div class="form-group">
<label class="col-sm-3 control-label">货号:</label>
<div class="col-sm-5" style="padding-top: 7px;">
$vo.chukuHuohao
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">货物名称:</label>
<div class="col-sm-5" style="padding-top: 7px;">
<textarea rows="3" class="form-control" id="chukuText" name="chukuText" placeholder="请输入内容......">$vo.chukuText</textarea>
</div>
</div>
<div class="form-group">
<label 以上是关于基于javaweb+jsp的仓库进销存管理系统的主要内容,如果未能解决你的问题,请参考以下文章
基于javaweb仓库理系统设计与实现进销存管理.rar(论文+毕业设计+源码+答辩PPT)