|  |  | 
 |  |  |                         <th>故障码</th> | 
 |  |  |                         <th>管制状态</th> | 
 |  |  |                         <th>低电量</th> | 
 |  |  |                         <th>演示模式</th> | 
 |  |  |                     </tr> | 
 |  |  |                     </thead> | 
 |  |  |                     <tbody> | 
 |  |  | 
 |  |  |                     <th>工作号</th> | 
 |  |  |                     <th>源库位</th> | 
 |  |  |                     <th>目标库位</th> | 
 |  |  |                     <th>最高电芯电压</th> | 
 |  |  |                     <th>最低电芯电压</th> | 
 |  |  |                     <th>电池电压</th> | 
 |  |  |                     <th>充放电循环次数</th> | 
 |  |  |                     <th>剩余电量</th> | 
 |  |  |                     <th>总电量</th> | 
 |  |  |                     <th>作业标记</th> | 
 |  |  | 
 |  |  |                                         <button class="item" onclick="shuttleOperator(2)">托盘下降</button> | 
 |  |  |                                         <button class="item" onclick="shuttleOperator(6)">充电开关</button> | 
 |  |  |                                         <button class="item" onclick="shuttleOperator(3)">复位</button> | 
 |  |  |                                         <button class="item" onclick="shuttleOperator(12)">演示模式-开</button> | 
 |  |  |                                         <button class="item" onclick="shuttleOperator(13)">演示模式-关</button> | 
 |  |  |                                     </div> | 
 |  |  |                                 </div> | 
 |  |  |                             </div> | 
 |  |  | 
 |  |  |             <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"> | 
 |  |  | 
 |  |  |             shuttleNo: $('#shuttleNo').val(), | 
 |  |  |             workNo: $('#workNo').val(), | 
 |  |  |             pakMk: $('#pakMk').val(), | 
 |  |  |             token: $('#token').val(), | 
 |  |  |         }, function (res) { | 
 |  |  |             layer.msg("修改成功", {icon: 1,}); | 
 |  |  |             layer.close(layerDetl); | 
 |  |  | 
 |  |  |                 setVal(tr.children("td").eq(11), table[i-1].statusErrorCode$); | 
 |  |  |                 setVal(tr.children("td").eq(12), suspendState); | 
 |  |  |                 setVal(tr.children("td").eq(13), table[i-1].lowerPower); | 
 |  |  |                 setVal(tr.children("td").eq(14), table[i-1].demo$); | 
 |  |  |             } | 
 |  |  |         } else if (res.code === 403){ | 
 |  |  |             window.location.href = baseUrl+"/login"; | 
 |  |  | 
 |  |  |                 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"; |