自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-15 1d39a8a4a084eede13d58d29d77edafd5413ef9c
src/main/webapp/views/pakStore/pakStore.html
@@ -47,6 +47,13 @@
            position: relative;
            overflow: visible !important;
        }
        #mat-query {
            display: none;
        }
        #btn-comb {
            display: none;
        }
    </style>
</head>
<body>
@@ -58,7 +65,7 @@
<hr>
<!-- 表格 -->
<div style="padding-bottom: 5px">
<div style="padding-bottom: 5px; margin-bottom: 45px">
    <!-- 头部 -->
    <script type="text/html" id="toolbar">
@@ -103,27 +110,6 @@
    {{#each data}}
        <option value="{{this}}">{{this}}</option>
    {{/each}}
</script>
<script>
    $(function(){
        $.ajax({
            url: baseUrl+"/available/put/site",
            headers: {'token': localStorage.getItem('token')},
            method: 'POST',
            success: function (res) {
                if (res.code === 200){
                    var tpl = $("#putSiteSelectTemplate").html();
                    var template = Handlebars.compile(tpl);
                    var html = template(res);
                    $('#putSiteSelect').append(html);
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/";
                }else {
                    layer.msg(res.msg)
                }
            }
        })
    })
</script>
</body>
</html>