From ce8c67734acf64325849f47f9f17aaccf9163b9b Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期一, 08 十二月 2025 08:37:59 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/network/fake/ZyStationFakeConnect.java | 5 ++++-
src/main/webapp/components/WatchCrnCard.js | 1 +
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/core/network/fake/ZyStationFakeConnect.java b/src/main/java/com/zy/core/network/fake/ZyStationFakeConnect.java
index 1ec6b2d..78263cb 100644
--- a/src/main/java/com/zy/core/network/fake/ZyStationFakeConnect.java
+++ b/src/main/java/com/zy/core/network/fake/ZyStationFakeConnect.java
@@ -118,9 +118,12 @@
return;
}
+ String barcodeTime = String.valueOf(System.currentTimeMillis());
+ String barcode = barcodeTime.substring(5);
+
status.setTaskNo(taskNo);
status.setLoading(true);
- status.setBarcode(String.valueOf(System.currentTimeMillis()));
+ status.setBarcode(barcode);
}
private void generateFakeOutStationData(Integer stationId) {
diff --git a/src/main/webapp/components/WatchCrnCard.js b/src/main/webapp/components/WatchCrnCard.js
index 96a8574..432f9ff 100644
--- a/src/main/webapp/components/WatchCrnCard.js
+++ b/src/main/webapp/components/WatchCrnCard.js
@@ -105,6 +105,7 @@
handler(newVal, oldVal) {
if (newVal.crnNo != 0) {
this.activeNames = newVal.crnNo;
+ this.searchCrnNo = newVal.crnNo;
const idx = this.crnList.findIndex(i => i.crnNo == newVal.crnNo);
if (idx >= 0) { this.currentPage = Math.floor(idx / this.pageSize) + 1; }
}
--
Gitblit v1.9.1