<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%><html><head><title>My JSP 'ruku.jsp' starting page</title><meta http-equiv="pragma" content="no-cache"><meta http-equiv="cache-control" content="no-cache"><meta http-equiv="expires" content="0"><meta http-equiv="keywords" content="keyword1,keyword2,keyword3"><meta http-equiv="description" content="This is my page"><!-- <link rel="stylesheet" type="text/css" href="styles.css"> --><link rel="stylesheet" href="js/bootstrap.min.css" /><link rel="stylesheet" href="js/bootstrap-datetimepicker.min.css"><script type="text/javascript" src="js/jquery-3.2.0.js"></script><script type="text/javascript" src="js/bootstrap.min.js"></script><script type="text/javascript" src="js/bootstrap-datetimepicker.min.js"></script><script type="text/javascript" src="js/bootstrap-datetimepicker.zh-CN.js"></script><script type="text/javascript">?$(".form_datetime").datetimepicker({?format: "yyyy-mm-dd",?autoclose: true,?todayBtn: true,?todayHighlight: true,?showMeridian: true,?pickerPosition: "bottom-left",?language: 'zh-CN',//中文,需要引用zh-CN.js包?startView: 2,//月視圖?minView: 2//日期時(shí)間選擇器所能夠提供的最精確的時(shí)間選擇視圖?});?</script></head><body> <%@include file="head.jsp"%> <div class="container"> <hr style="height:5px;border:none;border-top:5px ridge dodgerblue;" /> <h2>入庫(kù)管理</h2> <c:if test="${fn:length(productMap.getProductMap()) eq 0 }"> <span>貨車為空,隨時(shí)準(zhǔn)備入庫(kù)</span> </c:if> <c:if test="${fn:length(productMap.getProductMap()) gt 0 }"> <div class="row clearfix"> <div class="col-md-12 column"> <table class="table table-striped table-bordered"> <thead> <tr> <th>流水號(hào)</th> <th>風(fēng)格</th> <th>適應(yīng)季節(jié)</th> <th>進(jìn)貨價(jià)</th> <th>出貨價(jià)</th> <th>入庫(kù)數(shù)量</th> <th>刪除</th> </tr> </thead> <tbody> <c:forEach items="${sessionScope.productMap.getProductMap()}" var="entity"> <tr> <td><c:out value="${entity.value.serialNo}"></c:out></td> <td><c:out value="${entity.value.style }"></c:out></td> <td><c:out value="${entity.value.season }"></c:out></td> <td><c:out value="${entity.value.intPrice}"></c:out></td> <td><c:out value="${entity.value.outPrice }"></c:out></td> <td><c:out value="${entity.value.num }"></c:out></td> <td> <button type="button" class="btn btn-warning btn-sm" onclick="del('${artno.id}')">刪除</button> </td> </tr> </c:forEach> </tbody> </table> </div> </div> 填寫下面完整信息后才可入庫(kù): <hr> <div class="row clearfix"> <div class="col-md-12 column"> <form role="form"> <div class="form-group"> <label for="name">從下面選擇一個(gè)倉(cāng)庫(kù)</label> <select class="form-control"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> </div> <label for="name">從下面選擇一個(gè)日期</label> <input class="form_datetime form-control" type="text" value="2016-03-07" size="16"> </form> </div> </div> </c:if> <hr style="height:5px;border:none;border-top:5px ridge dodgerblue;" /> </div> <%@include file="foot.jsp"%></body></html>
bootstrap日期選擇器沒(méi)反應(yīng)
frank_mojito
2017-06-05 16:47:04