From cdcda32802aabe65fc6d20fb06907998b3bb9a61 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期二, 25 七月 2023 16:25:41 +0800
Subject: [PATCH] #码垛位自动补充空板:驱动拆盘机输出托盘实装

---
 src/main/webapp/views/console-old.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/console-old.html b/src/main/webapp/views/console-old.html
index e6f6ac4..4ec664f 100644
--- a/src/main/webapp/views/console-old.html
+++ b/src/main/webapp/views/console-old.html
@@ -1016,7 +1016,7 @@
                         } else {
                             siteEl.html(sites[i].siteId);
                         }
-                        if (i + 1 === 8) {
+                        if (sites[i].siteId<100) {
                             carAnimate(i + 1, Number(sites[i].nearbySta));
                         }
                     }
@@ -1199,7 +1199,7 @@
     // 灏忚溅鍋忕Щ鍔ㄧ敾
     function carAnimate(id, target) {
         var targetTop = 122;
-        if (id === 8) {
+        if (id < 100) {
             switch (target) {
                 case 1:
                     targetTop += 160;

--
Gitblit v1.9.1