#
Junjie
2025-01-14 9a37464e943154d3fcc5db659e2d5abb6db98909
src/main/webapp/views/shuttle.html
@@ -63,10 +63,7 @@
                    <th>工作号</th>
                    <th>源库位</th>
                    <th>目标库位</th>
                    <th>最高电芯电压</th>
                    <th>最低电芯电压</th>
                    <th>电池电压</th>
                    <th>充放电循环次数</th>
                    <th>剩余电量</th>
                    <th>总电量</th>
                    <th>作业标记</th>
@@ -170,12 +167,6 @@
                <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">
            <button class="form-button" id="save">保存</button>
            <button class="form-button" id="cancel" style="background-color: #D0D0D0">取消</button>
@@ -266,7 +257,6 @@
            shuttleNo: $('#shuttleNo').val(),
            workNo: $('#workNo').val(),
            pakMk: $('#pakMk').val(),
            token: $('#token').val(),
        }, function (res) {
            layer.msg("修改成功", {icon: 1,});
            layer.close(layerDetl);
@@ -386,17 +376,10 @@
                setVal(tr.children("td").eq(1), table[i-1].taskNo);
                setVal(tr.children("td").eq(2), table[i-1].sourceLocNo);
                setVal(tr.children("td").eq(3), table[i-1].locNo);
                setVal(tr.children("td").eq(4), maxCellVoltage);
                setVal(tr.children("td").eq(5), minCellVoltage);
                setVal(tr.children("td").eq(6), voltage);
                setVal(tr.children("td").eq(7), chargeCycleTimes);
                setVal(tr.children("td").eq(8), surplusQuantity);
                setVal(tr.children("td").eq(9), countQuantity);
                setVal(tr.children("td").eq(10), table[i-1].pakMk$);
                if (table[i-1].shuttleNo == parseInt($('input[name="shuttleSelect"]:checked').val())) {
                    $("#runSpeedText").text(table[i-1].runSpeed)
                    $("#chargeLineText").text(table[i-1].chargeLine + "%")
                }
                setVal(tr.children("td").eq(4), voltage);
                setVal(tr.children("td").eq(5), surplusQuantity);
                setVal(tr.children("td").eq(6), countQuantity);
                setVal(tr.children("td").eq(7), table[i-1].pakMk$);
            }
        } else if (res.code === 403){
            window.location.href = baseUrl+"/login";