| | |
| | | <tr> |
| | | <th>RGV</th> |
| | | <th>当前模式</th> |
| | | <th>当前状态</th> |
| | | <!-- <th>当前状态</th>--> |
| | | <th>任务号</th> |
| | | <th>工作状态</th> |
| | | <th>有物</th> |
| | | <th>RGV位置</th> |
| | | <th>走行定位</th> |
| | | <!-- <th>任务号2</th>--> |
| | | <!-- <th>状态2</th>--> |
| | | <!-- <th>有物2</th>--> |
| | | <!-- <th>走行定位</th>--> |
| | | <th>故障代码</th> |
| | | <th>故障描述</th> |
| | | <th>锁定状态</th> |
| | | <th>入库标记</th> |
| | | <th>出库标记</th> |
| | | <th>优先放货</th> |
| | | <!-- <th>接驳标记</th>--> |
| | | <th>连续取货</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <th>工位1工作号</th> |
| | | <th>工位2工作号</th> |
| | | <th>状态</th> |
| | | <th>目标站</th> |
| | | <!-- <th>源库位</th>--> |
| | | <th>走行目标站</th> |
| | | <th>工位1目标站</th> |
| | | <th>工位2目标站</th> |
| | | <!-- <th>源库位</th>--> |
| | | <!-- <th>目标库位</th>--> |
| | | <!-- <th>走行速度(m/min)</th>--> |
| | | <!-- <th>升降速度(m/min)</th>--> |
| | |
| | | <!-- <button class="item" onclick="lock()">解锁</button>--> |
| | | <!-- <button class="item" onclick="pause()">暂停</button>--> |
| | | <!-- <button class="item" onclick="boot()">启动</button>--> |
| | | <!-- <button class="item" onclick="clearCommand()">清除命令</button>--> |
| | | <button class="item" onclick="clearCommand()">清除命令</button> |
| | | <!-- <button class="item" onclick="handleReset()">复位</button>--> |
| | | </div> |
| | | </fieldset> |
| | |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | method: 'POST', |
| | | success: function (res) { |
| | | // console.log(res) |
| | | // console.log(res); |
| | | if (res.code === 200){ |
| | | var table = res.data; |
| | | if (table.length > rgvStateTableBlankRows && table.length !== rgvStateTableFullRows) { |
| | |
| | | var tr = tableEl.find("tr").eq(i); |
| | | setVal(tr.children("td").eq(0), table[i-1].rgvNo); |
| | | setVal(tr.children("td").eq(1), table[i-1].statusType); |
| | | setVal(tr.children("td").eq(2), table[i-1].status); |
| | | setVal(tr.children("td").eq(3), table[i-1].workNo1); |
| | | setVal(tr.children("td").eq(4), table[i-1].status1); |
| | | setVal(tr.children("td").eq(5), table[i-1].loading1); |
| | | setVal(tr.children("td").eq(6), table[i-1].rgvPos1); |
| | | setVal(tr.children("td").eq(7), table[i-1].walkPos); |
| | | setVal(tr.children("td").eq(2), table[i-1].workNo1); |
| | | setVal(tr.children("td").eq(3), table[i-1].status1); |
| | | setVal(tr.children("td").eq(4), table[i-1].loading1); |
| | | setVal(tr.children("td").eq(5), table[i-1].rgvPos1); |
| | | // setVal(tr.children("td").eq(6), table[i-1].walkPos); |
| | | // setVal(tr.children("td").eq(8), table[i-1].workNo2); |
| | | // setVal(tr.children("td").eq(9), table[i-1].status2); |
| | | // setVal(tr.children("td").eq(10), table[i-1].loading2); |
| | | setVal(tr.children("td").eq(8), table[i-1].warnCode); |
| | | setVal(tr.children("td").eq(9), table[i-1].alarm); |
| | | setVal(tr.children("td").eq(10), table[i-1].pakMk); |
| | | setVal(tr.children("td").eq(6), table[i-1].warnCode); |
| | | setVal(tr.children("td").eq(7), table[i-1].alarm); |
| | | setVal(tr.children("td").eq(8), table[i-1].pakIn); |
| | | setVal(tr.children("td").eq(9), table[i-1].pakOut); |
| | | setVal(tr.children("td").eq(10), table[i-1].pakRgv); |
| | | setVal(tr.children("td").eq(11), table[i-1].pakAll); |
| | | |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |