From 3d6e22ee9a4eb70d9ce4e7a71fb4893a8c6f6056 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期五, 30 六月 2023 15:30:45 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 1fd3075..e79c633 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -28,10 +28,6 @@
<div class="main-part">
</div>
- <div style="width: 100px;height: 40px;background-color: rgb(108,167,168);position: absolute;
- left: 374px;top:133px;z-index: 999"></div>
- <div style="width: 100px;height: 40px;background-color: rgb(108,167,168);position: absolute;
- left: 374px;top:380px;z-index: 999"></div>
<div id="body">
<!-- 鎬诲紑鍏� -->
<div class="system-state">
@@ -348,7 +344,6 @@
url: baseUrl + '/console/barcode/output/site',
method: 'GET',
success: function (res) {
- console.log(res)
if (res.code === 200) {
tData = eval(res.data);
if (tData.length <= 5) {
@@ -608,10 +603,11 @@
// crns[i].bay = 15;
var offSet = 0;
- unit = 60;
- offSet = 350;
+ unit = -28.5;
+ offSet = 276; //145
+ // crnEl.animate({left: offSet + 'px'}, 1000);
if(crns[i].bay === 1){
crnEl.animate({left: offSet + 'px'}, 1000);
} else {
@@ -638,7 +634,7 @@
if (res.code === 200) {
var barcodes = res.data;
for (var i = 0; i < barcodes.length; i++) {
- $("#code-decoder-data-" + barcodes[i].barcodeId).html(barcodes[i].codeValue);
+ $("#barcode-"+barcodes[i].barcodeId).html(barcodes[i].codeValue ? barcodes[i].codeValue : "--");
}
} else if (res.code === 403) {
parent.location.href = baseUrl + "/login";
--
Gitblit v1.9.1