From 46a856468a8e60b388fa7dea09808151dbb5b44d Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 12 七月 2023 16:29:13 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index fde6b24..d6d83d6 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -613,6 +613,10 @@
unit = 17;
offSet = 337;
break;
+ case 3:
+ unit = 24;
+ offSet = 337;
+ break;
}
if(crns[i].bay === 1){
@@ -641,7 +645,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