zhaowc
2025-01-16 29ced599cab4ded63e569cb8814550555a10a736
HTML/views/WareHouseSetting/FlatLibraryLegend.html
@@ -114,7 +114,7 @@
        .container {
            position: relative; /* 相对定位 */
            top: 50%; /* 向上移动自身高度的一半 */
            top: 90%; /* 向上移动自身高度的一半 */
            left: 50%; /* 向左移动自身宽度的一半 */
            transform: translate(-50%, -50%); /* 通过translate函数进行微调,使其完全居中 */
        }
@@ -139,7 +139,7 @@
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">排</label>
                                    <label class="layui-form-label">楼层</label>
                                    <div class="layui-input-inline">
                                        <select name="Row" id="Row" lay-filter="SelectRow">
                                            <option value="1" selected>一楼</option>
@@ -179,12 +179,12 @@
                                </div>
                                <!-- //定时自刷新库位图例 -->
                                <!-- <div class="layui-inline" style="float: right;">
                                <div class="layui-inline" style="float: right;">
                                    <label class="layui-form-label" style="margin-top: 10px;">自动刷新</label>
                                    <div class="layui-input-inline" style="width: auto;">
                                        <input type="checkbox" checked="" id="autoRefresh" lay-skin="switch" lay-filter="switchTest" lay-text="开|关">
                                    </div>                           
                                </div> -->
                                </div>
                                
                            </div>
                        </div>
@@ -372,11 +372,10 @@
         //获取数据渲染库位图
         function GetSlotVm(houseNo, row,depth) {
         function GetSlotVm(houseNo, row) {
            var param = {
               WareHouseNo: houseNo,
               Row: row,
                    Depth: depth
               Row: row
            }
            sendData(IP + "/Sys/GetFlatLibraryLegend", param, 'get', function (res) {
                    console.log(res)
@@ -1057,10 +1056,11 @@
         });
         //定时器
         setInterval(function(){
                // console.info(1)
            if(autoRefresh){
               GetSlotVm($("#WareHouseNo").val(), $("#RoadwayNo").val(), $("#Row").val(), $("#Depth").val());
               //var currentDate = new Date();
               //console.log('自动刷新了,'+currentDate)
               GetSlotVm($("#WareHouseNo").val(), $("#Row").val());
               // var currentDate = new Date();
               // console.log('自动刷新了,'+currentDate)
            }
         },10000)//10秒自动刷新一次
         // #endregion