自动化立体仓库 - WCS系统
#
Junjie
2025-04-10 1d624dfdb040825ffecba6c792c480be662b2dbc
src/main/webapp/views/lift.html
@@ -55,13 +55,10 @@
                <tr>
                    <th>提升机</th>
                    <th>工作号</th>
                    <th>任务地址</th>
                    <th>目的地址</th>
                    <th>已完成的任务号</th>
                    <th>层</th>
                    <th>作业标记</th>
                    <th>穿梭车号</th>
                    <th>令牌</th>
                </tr>
                </thead>
                <tbody>
@@ -102,7 +99,6 @@
                            <option value="7">7F</option>
                            <option value="8">8F</option>
                            <option value="9">9F</option>
                            <option value="10">10F</option>
                        </select>
                        <button class="item" onclick="liftOperator(1)">移动提升机</button>
@@ -114,8 +110,12 @@
                            <span>目标站</span>
                            <label><input id="staNo" type="text" name="staNo" /></label>
                        </div>
                        <button class="item" onclick="liftOperator(2)">移动托盘</button>
                        <button class="item" onclick="liftOperator(5)">托盘入</button>
                        <button class="item" onclick="liftOperator(6)">托盘出</button>
                        <button class="item" onclick="liftOperator(7)">移动</button>
                        <button class="item" onclick="liftOperator(8)">车货移动</button>
                        <button class="item" onclick="liftOperator(0)">复位</button>
                        <button class="item" onclick="liftOperator(3)">等待确认</button>
                    </div>
                </fieldset>
            </div>
@@ -144,12 +144,6 @@
                    <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">
@@ -216,7 +210,6 @@
            liftNo: $('#liftNo').val(),
            workNo: $('#workNo').val(),
            pakMk: $('#pakMk').val(),
            token: $('#token').val(),
        }, function (res) {
            layer.msg("修改成功", {icon: 1,});
            layer.close(layerDetl);
@@ -277,10 +270,10 @@
                        setVal(tr.children("td").eq(1), table[i-1].taskNo);
                        setVal(tr.children("td").eq(2), table[i-1].protocolStatus$);
                        setVal(tr.children("td").eq(3), table[i-1].model$);
                        setVal(tr.children("td").eq(4), table[i-1].busy$);
                        setVal(tr.children("td").eq(4), table[i-1].run$);
                        setVal(tr.children("td").eq(5), table[i-1].hasTray$);
                        setVal(tr.children("td").eq(6), table[i-1].hasCar$);
                        setVal(tr.children("td").eq(7), table[i-1].deviceError$);
                        setVal(tr.children("td").eq(7), table[i-1].errCode$);
                        setVal(tr.children("td").eq(8), table[i-1].frontOverrun$);
                        setVal(tr.children("td").eq(9), table[i-1].backOverrun$);
                        setVal(tr.children("td").eq(10), table[i-1].leftOverrun$);
@@ -316,13 +309,10 @@
                        var tr = tableEl.find("tr").eq(i);
                        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(8), table[i-1].token);
                        setVal(tr.children("td").eq(2), table[i-1].completeTaskNo);
                        setVal(tr.children("td").eq(3), table[i-1].lev);
                        setVal(tr.children("td").eq(4), table[i-1].pakMk);
                        setVal(tr.children("td").eq(5), table[i-1].shuttleNo);
                    }
                } else if (res.code === 403){
                    window.location.href = baseUrl+"/login";