| | |
| | | |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <title>储位图例</title> |
| | | <title>平库图例</title> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" |
| | | content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
| | |
| | | <!-- 储位图例 --> |
| | | <table style="margin:0 auto;"> |
| | | <tr> |
| | | <td><button class="btnShow1 five" disabled></button></td> |
| | | <td>移出中</td> |
| | | <td><button class="btnShow1 four" disabled></button></td> |
| | | <td>移入中</td> |
| | | <td><button class="btnShow1 three" disabled></button></td> |
| | | <td>出库中</td> |
| | | <td><button class="btnShow1 two" disabled></button></td> |
| | |
| | | else if (item.Status == 3) { |
| | | html1 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html1 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html1 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html1 += '<td></td>' |
| | |
| | | else if (item.Status == 3) { |
| | | html2 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html2 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html2 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html2 += '<td></td>' |
| | |
| | | else if (item.Status == 3) { |
| | | html3 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html3 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html3 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html3 += '<td></td>' |
| | |
| | | else if (item.Status == 3) { |
| | | html4 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html4 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html4 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html4 += '<td></td>' |
| | |
| | | //出库中 3 |
| | | else if (item.Status == 3) { |
| | | html5 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html5 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html5 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | |
| | | else if (item.Status == 3) { |
| | | html6 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html6 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html6 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html6 += '<td></td>' |
| | |
| | | //出库中 3 |
| | | else if (item.Status == 3) { |
| | | html7 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html7 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html7 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | |
| | | else if (item.Status == 3) { |
| | | html5 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html5 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html5 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html5 += '<td></td>' |
| | |
| | | else if (item.Status == 3) { |
| | | html7 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html7 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html7 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html7 += '<td></td>' |
| | |
| | | else if (item.Status == 3) { |
| | | html2 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html2 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html2 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html2 += '<td></td>' |
| | | } |
| | | |
| | | if (item.Row == 2) { |
| | | html4 += '<tr></tr>' |
| | | html2 += '<tr></tr>' |
| | | } |
| | | } |
| | | else if(item.AreaNo == "B14") |
| | |
| | | //出库中 3 |
| | | else if (item.Status == 3) { |
| | | html1 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html1 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html1 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | |
| | | else if (item.Status == 3) { |
| | | html4 += '<td><button value=' + item.LocatNo + ' class="btnShow three" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移入中 4 |
| | | else if (item.Status == 4) { |
| | | html4 += '<td><button value=' + item.LocatNo + ' class="btnShow four" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | //移出中 5 |
| | | else if (item.Status == 5) { |
| | | html4 += '<td><button value=' + item.LocatNo + ' class="btnShow five" style="width: 100%;height: 100%;" ></button></td>' |
| | | } |
| | | } else { |
| | | // console.log(i, a); |
| | | html4 += '<td></td>' |