From 8abca3f5413d977f5b11ed74b12ee39cc8570851 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 22 八月 2023 13:20:03 +0800
Subject: [PATCH] #console

---
 src/main/webapp/views/shuttle.html |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/shuttle.html b/src/main/webapp/views/shuttle.html
index 0651ec9..d553a77 100644
--- a/src/main/webapp/views/shuttle.html
+++ b/src/main/webapp/views/shuttle.html
@@ -71,6 +71,7 @@
                             <th>鎬婚噷绋嬫暟</th>
                             <th>浣滀笟鏍囪</th>
                             <th>褰撳墠搴撲綅</th>
+                            <th>浠ょ墝</th>
                         </tr>
                     </thead>
                     <tbody>
@@ -132,6 +133,8 @@
                                             <button class="item" onclick="shuttleOperator(4)">鎵樼洏涓嬮檷</button>
                                             <button class="item" onclick="shuttleOperator(15)">鍏呯數寮�鍏�</button>
                                             <button class="item" onclick="shuttleOperator(9)">澶嶄綅</button>
+                                            <button class="item" onclick="shuttleOperator(21)">绠″埗</button>
+                                            <button class="item" onclick="shuttleOperator(22)">鍙栨秷绠″埗</button>
                                         </div>
                                     </div>
                                 </div>
@@ -167,6 +170,12 @@
                 <label class="form-label">浣滀笟鏍囪:</label>
                 <div class="form-input">
                     <input id="pakMk" name="pakMk" type="text" class="layui-input" autocomplete="off">
+                </div>
+            </div>
+            <div class="form-item">
+                <label class="form-label">浠ょ墝:</label>
+                <div class="form-input">
+                    <input id="token" name="token" type="text" class="layui-input" autocomplete="off">
                 </div>
             </div>
             <div class="form-item form-button-container">
@@ -231,6 +240,7 @@
             shuttleNo: $('#shuttleNo').val(),
             workNo: $('#workNo').val(),
             pakMk: $('#pakMk').val(),
+            token: $('#token').val(),
         }, function (res) {
             layer.msg("淇敼鎴愬姛", {icon: 1,});
             layer.close(layerDetl);
@@ -342,6 +352,7 @@
                         setVal(tr.children("td").eq(10), table[i-1].statusSum.mileage);
                         setVal(tr.children("td").eq(11), table[i-1].pakMk$);
                         setVal(tr.children("td").eq(12), table[i-1].currentLocNo);
+                        setVal(tr.children("td").eq(13), table[i-1].token);
                         if (table[i-1].shuttleNo == parseInt($('input[name="shuttleSelect"]:checked').val())) {
                             $("#runSpeedText").text(table[i-1].runSpeed)
                             $("#chargeLineText").text(table[i-1].chargeLine + "%")
@@ -520,6 +531,7 @@
                                         $('#shuttleNo').val(shuttleNo);
                                         $('#workNo').val(table[i-1].taskNo);
                                         $('#pakMk').val(table[i-1].pakMk$);
+                                        $('#token').val(table[i-1].token);
                                     }
                                 }
                             } else if (res.code === 403){
@@ -534,6 +546,7 @@
                     $('#shuttleNo').val("");
                     $('#workNo').val("");
                     $('#pakMk').val("");
+                    $('#token').val("");
                 }
             })
         }
@@ -543,6 +556,7 @@
         $('#shuttleNo').val("");
         $('#workNo').val("");
         $('#pakMk').val("");
+        $('#token').val("");
         layer.close(layerDetl);
     })
 

--
Gitblit v1.9.1