王佳豪
2021-06-25 eb3f8587aa7466fd6d2d3ca712d0f9baf4e27dcb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ include file="../../include/core.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>库位排号</title>
<%--    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>--%>
<%--    <script src="https://cdn.bootcss.com/xlsx/0.14.1/xlsx.core.min.js"></script>--%>
<style type="text/css">
.modal-dialog { 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: 0; 
    right: 0; 
 
.modal-content { 
    /*overflow-y: scroll; */ 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    height :60%;
    width: 100%; 
 
.modal-body {
    overflow-y: scroll; 
    position: absolute; 
    top: 55px;     
    bottom: 65px;  
    width: 100%; 
 
.modal-header .close {margin-right: 15px;} 
 
.modal-footer {
    position: absolute; 
    width: 100%; 
    bottom: 0; 
}
 
</style>
</head>
<body>
 
<!-- search -->
<div class="panel panel-default">
    <div class="panel-body">
        <form id="conForm" class="form-inline">
            <input type="text" class="form-control" style="width:10%" id="loc_no" name="loc_no" placeholder="库位号">
            <select class="form-control form-control-static" style="width:10%" name="loc_sts" id="loc_sts"></select>
            <input type="text" class="form-control" style="width:10%" id="crn_no" name="crn_no" placeholder="堆垛机号">            
            <input type="text" class="form-control" style="width:10%" id="row1" name="row1" placeholder="排">
            <input type="text" class="form-control" style="width:10%" id="bay1" name="bay1" placeholder="列">
            <input type="text" class="form-control" style="width:10%" id="lev1" name="lev1" placeholder="层">
            
            <button type="button" onclick="getLocationByCon()" class="btn btn-info ">
           <span class="glyphicon glyphicon-search" aria-hidden="true" >  搜索</span></button>
        </form>
    </div>
</div>
<%--<button type="button" class=" btn btn-info" onclick="syncStocks()" style="margin-bottom: 20px">批量更新库存</button>--%>
<label style="font-size: 18px;margin: 0 10px;display: inline-block">excel批量更新</label>
<input type="file" id="excel-file" class=" btn btn-info" style="margin-bottom: 20px; display: inline-block" value="excel批量更新"/>
<table id="stk-mast" class="table table-hover table-striped table-condensed table-bordered"></table>
<input type="hidden" id="detail_loc_no" name="detail_loc_no">
 
<!--表格自动出现水平滚动条-->
<div class="table-responsive">
<!-- <div style="overflow:scroll;"> -->
<!-- <table id="test-table" class="table table-hover table-striped table-condensed table-bordered"></table> -->
<table id="stk-detail" class="table table-hover text-nowrap"></table>
</div>
 
<!--toolbar  -->
<div id="toolbar" class="btn-toolbar">
<!--     <button onclick="addLocation()" type="button" class="btn btn-success"> -->
<!--       <span class="glyphicon glyphicon-plus" aria-hidden="true">初始化</span> -->
<!--     </button> -->
<!--     <button  type="button" onclick="resetLocation()" class="btn btn-danger"> -->
<!--       <span class="glyphicon glyphicon-trash" aria-hidden="true">重置</span> -->
<!--     </button> -->
<!--     <button  type="button" onclick="resetLocation()" class="btn btn-warning"> -->
<!--       <span class="glyphicon glyphicon-trash" aria-hidden="true">禁用</span> -->
<!--     </button> -->
</div>
 
</body>
<script type="text/javascript" src="${path }/jsFiles/xlsx.core.min.js"></script>
<script type="text/javascript" src="${path }/jsFiles/layer.js"></script>
<script type="text/javascript" src="${path }/jsFiles/stock.js"></script>
</html>