#
whycq
2023-06-27 759e123c07b3e89550564a3137491e16c300b9f9
src/main/webapp/views/console.html
@@ -1075,7 +1075,6 @@
        getSystemRunningStatus();
        getBarcodeInfo();
        getScaleInfo();
        getInStaBarcodeInfo(1);
    }, 1000);
    setInterval(function () {
        getSitesInfo();
@@ -1206,25 +1205,6 @@
                }
            }
        });
    }
    // 入库站扫码器数据实时获取
    function getInStaBarcodeInfo(barcodeId) {
        $.ajax({
            url: baseUrl + "/latest/inSta/data/barcode",
            data: {barcodeId:barcodeId},
            headers: {'token': localStorage.getItem('token')},
            method: 'POST',
            success: function (res) {
                console.log(res)
                if (res.code === 200){
                } else if (res.code === 403){
                    parent.location.href = baseUrl+"/login";
                }  else {
                    console.log(res.msg);
                }
            }
        })
    }
    // 扫码器实时数据获取