From b6fdee9da53afedd0c03b3ec29284360d54b1290 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期一, 08 十二月 2025 09:47:06 +0800
Subject: [PATCH] #增加许可证
---
src/main/webapp/views/forklift.html | 35 ++++++++++++++---------------------
1 files changed, 14 insertions(+), 21 deletions(-)
diff --git a/src/main/webapp/views/forklift.html b/src/main/webapp/views/forklift.html
index f19da2c..2e4e60d 100644
--- a/src/main/webapp/views/forklift.html
+++ b/src/main/webapp/views/forklift.html
@@ -36,6 +36,7 @@
<th>鏀捐揣鏁版嵁</th>
<th>鍑哄叆搴撴ā寮�</th>
<th>鏁呴殰鐮�</th>
+ <th>灞�</th>
</tr>
</thead>
<tbody>
@@ -50,12 +51,7 @@
<tr>
<th>鎻愬崌鏈�</th>
<th>宸ヤ綔鍙�</th>
- <th>浠诲姟鍦板潃</th>
- <th>鐩殑鍦板潃</th>
- <th>宸插畬鎴愮殑浠诲姟鍙�</th>
- <th>灞�</th>
- <th>浣滀笟鏍囪</th>
- <th>绌挎杞﹀彿</th>
+ <th>绔欑偣淇℃伅</th>
</tr>
</thead>
<tbody>
@@ -96,6 +92,8 @@
</div>
<button class="item" onclick="liftOperator(1)">灏忚溅鎹㈠眰</button>
<button class="item" onclick="liftOperator(2)">绉诲姩鎵樼洏</button>
+ <button class="item" onclick="liftOperator(3)">绉诲姩</button>
+ <button class="item" onclick="liftOperator(4)">浠诲姟纭</button>
<button class="item" onclick="liftOperator(0)">澶嶄綅</button>
</div>
</fieldset>
@@ -119,12 +117,6 @@
<label class="form-label">宸ヤ綔鍙�:</label>
<div class="form-input">
<input id="workNo" name="workNo" type="number" class="layui-input" lay-verify="number" autocomplete="off">
- </div>
- </div>
- <div class="form-item">
- <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 form-button-container">
@@ -181,8 +173,6 @@
http.post(baseUrl+ "/forkLift/detl/update", {
liftNo: $('#liftNo').val(),
workNo: $('#workNo').val(),
- pakMk: $('#pakMk').val(),
- token: $('#token').val(),
}, function (res) {
layer.msg("淇敼鎴愬姛", {icon: 1,});
layer.close(layerDetl);
@@ -248,7 +238,8 @@
setVal(tr.children("td").eq(6), table[i-1].pick);
setVal(tr.children("td").eq(7), table[i-1].put);
setVal(tr.children("td").eq(8), table[i-1].iOMode$);
- setVal(tr.children("td").eq(9), table[i-1].errorCode);
+ setVal(tr.children("td").eq(9), table[i-1].errorCode$);
+ setVal(tr.children("td").eq(10), table[i-1].lev);
}
} else if (res.code === 403){
window.location.href = baseUrl+"/login";
@@ -275,14 +266,16 @@
}
for (var i=1;i<=table.length;i++){
var tr = tableEl.find("tr").eq(i);
+ let staDiv = "";
+ table[i-1].forkLiftStaProtocols.forEach((item) => {
+ let hasTray = item.hasTray ? "Y" : "N";
+ let hasCar = item.hasCar ? "Y" : "N";
+ staDiv += "<div>" + item.lev + "灞傦紝鎵樼洏锛�" + hasTray + "锛屽皬杞︼細" + hasCar + "</div>"
+ })
+
setVal(tr.children("td").eq(0), table[i-1].liftNo);
setVal(tr.children("td").eq(1), table[i-1].workNo);
- setVal(tr.children("td").eq(2), table[i-1].taskAddress);
- setVal(tr.children("td").eq(3), table[i-1].distAddress);
- setVal(tr.children("td").eq(4), table[i-1].completeTaskNo);
- setVal(tr.children("td").eq(5), table[i-1].lev);
- setVal(tr.children("td").eq(6), table[i-1].pakMk);
- setVal(tr.children("td").eq(7), table[i-1].shuttleNo);
+ setVal(tr.children("td").eq(2), staDiv);
}
} else if (res.code === 403){
window.location.href = baseUrl+"/login";
--
Gitblit v1.9.1