资讯专栏INFORMATION COLUMN

基于javaweb+jsp的超市管理系统

aisuhua / 3514人阅读

摘要:基于的超市管理系统代码实现侧边栏类型不能为空入库时间数

基于javaweb+jsp的超市管理系统

代码实现

                <script src="js/jquery-3.5.1.js">script>                        <input type="text" class="form-control" name="action" value="add">            <form action="GoodServlet">                        <input type="text" class="form-control" name="goodName" id="add-goodName">        div>            return false;                    <div class="form-group">                    div>    div>            alert("类型不能为空");                            <th>入库时间th>            url: "GoodServlet?action=get&id=" + id,    div>                                button><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>                    <div class="form-group hidden">        }body>            }            <br>
    }        }        <div class="modal-content">                        <input type="text" class="form-control" name="goodName" id="edit-goodName">                        tr>                    table>                    button>        <div id="navbar" class="navbar-collapse collapse">div>                <div class="modal-header">                    div>                            <td style="width: 15%;">数量:td>        <div class="modal-content">                    tr>                        <label for="add-goodSuppiler" class="control-label">供应商:label>                <div class="modal-body">        let id = button.data("id");                            <th>类型th>            alert("商品不能为空");            return false;
                        <label for="edit-createTime" class="control-label">创建时间:label><div class="container-fluid">    div>                    div><script>            success: function (voString) {                    <h4 class="modal-title">商品 h4>                            <td style="width: 15%;">商品描述:td>                            <th>商品th>        modal.find("#delete-id").val(id);    <meta charset="UTF-8">div>            return false;            alert("价格不能为空");                        <label for="edit-goodType" class="control-label">类型:label>                <span class="icon-bar">span> <span class="icon-bar">span>                <div class="modal-body">            type: "get",                    div>        }                        modal.find("#edit-goodPrice").val(vo.goodPrice);                        <tr>
                <div class="col-sm-5">    <title>商品 管理title>    })                        <input class="form-control" type="text" id="search_keyword" name="search_keyword" placeholder="商品"/> <span class="input-group-btn"><button class="btn btn-pill btn-primary" type="button" onclick="searchList()">搜索button>span>                            <td><b id="info-goodType">b>td>                    <button type="button" class="btn btn-pill btn-default" data-dismiss="modal">关闭button>                <div class="modal-footer">                        <input type="hidden" class="form-control" name="action" value="delete">                div>                        <span aria-hidden="true">×span>                        tr>                        <th style="text-align: center;">操作th>                            <td style="width: 15%;">价格:td>                            <th>数量th>    <link rel="stylesheet" href="css/main.css">        }                        tr>        if (document.getElementById("edit-goodPrice").value.trim().length == 0) {                        <input type="text" class="form-control" name="goodType" id="edit-goodType">
                    <tr>                    <div class="input-group">    <div class="modal-dialog" role="document">            return false;                        tr>                    div>                        <textarea style="height: 100px;" class="form-control" name="goodText" id="add-goodText">textarea><body>            button>                        <label for="add-goodPrice" class="control-label">价格:label>        if (document.getElementById("add-goodSuppiler").value.trim().length == 0) {                    div>        let modal = $(this);                    div>                        <label for="edit-goodPrice" class="control-label">价格:label>                    div>                let vo = eval("(" + voString + ")");                        <label for="edit-goodTime" class="control-label">入库时间:label>                        <tr>                        <label for="add-goodCount" class="control-label">数量:label>                    <button type="button" class="btn btn-pill btn-default" data-dismiss="modal">取消button>            ul>            return false;
    $("#modal-delete").on("show.bs.modal", function (event) {        if (document.getElementById("add-goodType").value.trim().length == 0) {                            <td><b id="info-goodName">b>td>        div>                modal.find("#info-goodSuppiler").text(vo.goodSuppiler);            return false;                            <td><b id="info-goodCount">b>td>            <form>    <div class="modal-dialog" role="document">                    <h4 class="modal-title">删除商品 h4>            <form action="GoodServlet" onsubmit="return addCheck()">                div>        let id = button.data("id");<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>        }<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>                    <button type="submit" class="btn btn-pill btn-info">提交button>                        <span aria-hidden="true">×span>                        <input type="text" class="form-control" name="goodPrice" id="edit-goodPrice">            return false;
                div>            <br>                        modal.find("#edit-goodName").val(vo.goodName);        }                div>    $("#modal-edit").on("show.bs.modal", function (event) {                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">            <jsp:include page="menu.jsp">        <div class="navbar-header">                <div class="col-sm-7">                    <div class="form-group">                            <td style="width: 15%;">类型:td>    <script src="js/bootstrap.js">script>        let button = $(event.relatedTarget);                                        data-id="${vo.id}"        let button = $(event.relatedTarget);                        modal.find("#edit-goodText").val(vo.goodText);                <div class="modal-footer">                        <label for="edit-goodCount" class="control-label">数量:label>
        })div>                    button>        <div class="col-sm-3 col-md-2 sidebar">        let modal = $(this);                    div>                                <button class="btn btn-pill btn-danger btn-sm"                         type="text" readonly class="form-control" name="id" id="edit-id">                                <button class="btn btn-pill btn-warning btn-sm" if test="${loginUser.userType != "管理员"}">disabled="disabled" title="没有权限!!!"c:if> data-id="${vo.id}"    div>                    <div class="form-group">                    div>                <div class="modal-footer">                <td>${vo.goodName}td>                    <tbody>                        <input type="text" class="form-control" name="goodSuppiler" id="edit-goodSuppiler">                    <div class="form-group">
                    <br>                div>    $("#modal-info").on("show.bs.modal", function (event) {                let vo = eval("(" + voString + ")");div>                        <label class="control-label">(hidden)label>                    <h4 class="modal-title" id="myModalLabel">增加商品 h4>        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">        if (document.getElementById("edit-goodSuppiler").value.trim().length == 0) {                    <div class="form-group">                        modal.find("#edit-id").val(vo.id);                div>                        <tr>        if (document.getElementById("edit-goodTime").value.trim().length == 0) {    //增加表单提交之前进行检查,如果return false,则不允许提交                                                <c:if test="${loginUser.userType != "管理员"}">disabled="disabled" title="没有权限!!!"
                 
               
              

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/121748.html

相关文章

  • 基于javaweb+jsp机房设备管理系统

    摘要:基于的机房设备管理系统部分代码实现机房号容纳人数介绍状态 基于javaweb+jsp的机房设备管理系统 JavaWeb JavaBean JSP MVC MySQL...

    Me_Kun 评论0 收藏0
  • 基于javaweb+jsp高校科研项目管理系统

    摘要:基于的高校科研项目管理系统部分代码实现科研方向备注 基于javaweb+jsp的高校科研项目管理系统 JavaWeb JavaBean JSP MVC MySQL ...

    2bdenny 评论0 收藏0
  • 基于javaweb+jsp医院信息管理系统

    摘要:基于的医院信息管理系统部分代码实现科室添加科室列表添加名称科室列表编辑 基于javaweb+jsp的医院信息管理系统 JavaWeb JavaBean JSP MV...

    _DangJin 评论0 收藏0
  • 基于javaweb+jsp企业车辆管理系统

    摘要:基于的企业车辆管理系统部分代码实现车辆添加车辆列表添加车牌 基于javaweb+jsp的企业车辆管理系统 JavaWeb JavaBean JSP MVC MySQ...

    kun_jian 评论0 收藏0
  • 基于javaweb+jsp酒店管理系统

    摘要:基于的酒店管理系统部分代码实现商品编辑商品列表编辑管理员没有权限编辑将要删除 基于javaweb+jsp的酒店管理系统 JavaWeb JavaBean JSP M...

    Richard_Gao 评论0 收藏0

发表评论

0条评论

最新活动
阅读需要支付1元查看
<