| | |
| | | <tr> |
| | | <th>提升机</th> |
| | | <th>工作号</th> |
| | | <th>任务地址</th> |
| | | <th>目的地址</th> |
| | | <th>已完成的任务号</th> |
| | | <th>层</th> |
| | | <th>站点信息</th> |
| | | <th>作业标记</th> |
| | | <th>穿梭车号</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | } |
| | | 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); |
| | | setVal(tr.children("td").eq(3), table[i-1].pakMk); |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |