栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

基于javaweb+jsp的甜品店奶茶店管理系统

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

基于javaweb+jsp的甜品店奶茶店管理系统

基于javaweb+jsp的甜品店奶茶店管理系统

JavaWeb JavaBean JSP MVC MySQL Tomcat Javascript idea eclipse MyEclipse Servlet SSM Maven …

部分代码实现JSP

            
                商品详情:
            
            
                订购人:
            
            
                电话:
            
            
                地址:
            
            
                支付方式:
                
                      现金    
                      转帐    
                
            
            
    
    



    
    订购 详情
    



        if (document.getElementById("dinggouShouhuo").value.trim().length == 0) {
            alert("订购人不能为空!");
            return false;
        }
        if (document.getElementById("dinggouTel").value.trim().length == 0) {
            alert("电话不能为空!");
            return false;
        }
        if (document.getElementById("dinggouAdd").value.trim().length == 0) {
            alert("地址不能为空!");
            return false;
        }
        return true;
    }



<%@ 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" %>
            
<%@ 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" %>



    
    添加订购 
    


                           已完成    
                
            
商品 商品详情 订购人 电话 地址 支付方式 状态 操作
${vo.dinggouName}
备注:



           
                状态:
                    ${vo.dinggouZhuangtai}
                
            
            
                备注:${vo.dinggouText}
            
        
        
<%@ 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" %>



    
    订购 管理
    





    //提交之前进行检查,如果return false,则不允许提交
    function check() {
        //根据ID获取值
        if (document.getElementById("dinggouName").value.trim().length == 0) {
            alert("商品不能为空!");
            return false;
        }
        if (document.getElementById("dinggouXiangqing").value.trim().length == 0) {
            alert("商品详情不能为空!");
            return false;
        }
        if (document.getElementById("dinggouShouhuo").value.trim().length == 0) {
            alert("订购人不能为空!");
            return false;
        }
        if (document.getElementById("dinggouTel").value.trim().length == 0) {
            alert("电话不能为空!");
            return false;
        }
        if (document.getElementById("dinggouAdd").value.trim().length == 0) {
            alert("地址不能为空!");
                ${vo.dinggouShouhuo}
                ${vo.dinggouTel}
                ${vo.dinggouAdd}
                ${vo.dinggouZhifufangshi}
                ${vo.dinggouZhuangtai}
                
                     
                     
                    
                
            
        
        
    
    
        }
        return true;
    }



<%@ 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" %>



    
    修改订购 
        



商品:${vo.dinggouName}
商品详情:${vo.dinggouXiangqing}
订购人:${vo.dinggouShouhuo}
电话:${vo.dinggouTel}
地址:${vo.dinggouAdd}
支付方式: ${vo.dinggouZhifufangshi}
商品:













商品:
商品详情:
订购人:
电话: