From 964b8b59ad2a37c92bd3c738bf98d65e3916d0e7 Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期日, 07 七月 2024 13:27:02 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 91ea99a..38cc23d 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -648,7 +648,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";
@@ -698,14 +698,14 @@
$("#crn-3").animate({left: leftVal + 'px'}, 1000);
crn3Position = leftVal;
break;
- case 4:
- $("#crn-4").animate({left: leftVal + 'px'}, 1000);
- crn4Position = leftVal;
- break;
- case 5:
- $("#crn-5").animate({left: leftVal + 'px'}, 1000);
- crn5Position = leftVal;
- break;
+ // case 4:
+ // $("#crn-4").animate({left: leftVal + 'px'}, 1000);
+ // crn4Position = leftVal;
+ // break;
+ // case 5:
+ // $("#crn-5").animate({left: leftVal + 'px'}, 1000);
+ // crn5Position = leftVal;
+ // break;
default:
break
}
--
Gitblit v1.9.1