| | |
| | | <style> |
| | | /* layer 深蓝色按钮修改 */ |
| | | /*.layui-layer-lan .layui-layer-btn {*/ |
| | | /*border-top: none;*/ |
| | | /*border-top: none;*/ |
| | | /*}*/ |
| | | .layui-layer-lan .layui-layer-btn a { |
| | | background: #4476A7; |
| | |
| | | <div class="tips-item"> |
| | | <label>堆垛机状态颜色: </label> |
| | | <div class="item-group"> |
| | | <span class="machine-put">入库</span> |
| | | <span class="machine-take">出库</span> |
| | | <span class="machine-stock-move">库到库</span> |
| | | <span class="machine-site-move">站到站</span> |
| | | <span class="machine-p-move">PToP</span> |
| | | <span class="machine-error">异常</span> |
| | | <span class="machine-auto">自动</span> |
| | | <span class="machine-unauto">非自动/手动</span> |
| | | <span class="machine-put-flag">入库</span> |
| | | <span class="machine-take-flag">出库</span> |
| | | <span class="machine-stock-move-flag">库到库</span> |
| | | <span class="machine-site-move-flag">站到站</span> |
| | | <span class="machine-p-move-flag">PToP</span> |
| | | <span class="machine-error-flag">异常</span> |
| | | <span class="machine-auto-flag">自动</span> |
| | | <span class="machine-unauto-flag">非自动/手动</span> |
| | | </div> |
| | | </div> |
| | | <div class="tips-item"> |
| | |
| | | </div> |
| | | |
| | | |
| | | <!-- 左输送线 --> |
| | | |
| | | <!-- 台车1 --> |
| | | <!----------- 左输送线 ----------> |
| | | |
| | | <!-- 台车轨道 --> |
| | | <div id="car-track-1" class="car-track" style="position: absolute; top: 122px; left: 100px; width: 100px; height: 200px; background: url(../static/image/bg.jpg);"></div> |
| | | <div id="car-track-1" class="car-track"></div> |
| | | |
| | | <!-- 台车实例 --> |
| | | <div id="site-8" class="site car" style=" |
| | | position: absolute; |
| | | top: 122px; |
| | | left: 100px; |
| | | width: 100px; |
| | | height: 40px; |
| | | line-height: 40px">8</div> |
| | | <div id="site-8" class="site car">8</div> |
| | | |
| | | <!-- 第一列(宽度 100px) --> |
| | | <div class="site-row site-row-1"> |
| | | <div id="site-7" class="site" style="height: 40px;line-height: 40px">7</div> |
| | | <div id="site-4" class="site" style="height: 40px;line-height: 40px">4</div> |
| | | <div id="site-3" class="site" style="height: 40px;line-height: 40px;">3</div> |
| | | <div id="site-2" class="site" style="height: 40px;line-height: 40px">2</div> |
| | | <div id="site-1" class="site" style="height: 40px;line-height: 40px">1</div> |
| | | <div id="site-7" class="site" style="height: 20px;line-height: 20px;margin-bottom: 20px">7</div> |
| | | <div id="site-4" class="site" style="height: 20px;line-height: 20px;margin-bottom: 20px">4</div> |
| | | <div id="site-3" class="site" style="height: 20px;line-height: 20px;margin-bottom: 40px">3</div> |
| | | <div id="site-2" class="site" style="height: 20px;line-height: 20px;margin-bottom: 0px">2</div> |
| | | <div id="site-1" class="site" style="height: 20px;line-height: 20px;margin-bottom: 20px">1</div> |
| | | </div> |
| | | |
| | | <!-- 货架 + 堆垛机 + 入库站点 + 出库站点 --> |
| | |
| | | <input type="checkbox" name="loading" disabled="disabled" style="width: 1rem"> |
| | | </div> |
| | | </div> |
| | | <div class="form-item" style="width: 20%"> |
| | | <div class="form-item-label"> |
| | | <span>能入</span> |
| | | </div> |
| | | <div class="form-item-input"> |
| | | <input type="checkbox" name="canining" disabled="disabled" style="width: 1rem"> |
| | | </div> |
| | | </div> |
| | | <div class="form-item" style="width: 20%"> |
| | | <div class="form-item-label"> |
| | | <span>能出</span> |
| | | </div> |
| | | <div class="form-item-input"> |
| | | <input type="checkbox" name="canouting" disabled="disabled" style="width: 1rem"> |
| | | </div> |
| | | <div class="form-item" style="width: 20%"> |
| | | <div class="form-item-label"> |
| | | <span>能入</span> |
| | | </div> |
| | | <div class="form-item-input"> |
| | | <input type="checkbox" name="canining" disabled="disabled" style="width: 1rem"> |
| | | </div> |
| | | </div> |
| | | <div class="form-item" style="width: 20%"> |
| | | <div class="form-item-label"> |
| | | <span>能出</span> |
| | | </div> |
| | | <div class="form-item-input"> |
| | | <input type="checkbox" name="canouting" disabled="disabled" style="width: 1rem"> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 第三行 --> |
| | |
| | | parent.systemRunning = false; |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |
| | | parent.location.href = baseUrl+"/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | console.log(res.msg); |
| | | |
| | | } |
| | | } |
| | | }); |
| | |
| | | parent.systemRunning = false; |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |
| | | parent.location.href = baseUrl+"/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | console.log(res.msg); |
| | | } |
| | | } |
| | | }); |
| | |
| | | } |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |
| | | parent.location.href = baseUrl+"/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | console.log(res.msg); |
| | | } |
| | | } |
| | | }); |
| | |
| | | var crnEl = $("#crn-"+crns[i].crnId); |
| | | crnEl.attr("class", "machine " + crns[i].crnStatus); |
| | | // crnAnimate(crns[i].crnId, crns[i].offset); |
| | | crnEl.animate({left: (crns[i].bay * 30) +'px'}, 1000); |
| | | crnEl.animate({left: (crns[i].bay * ($('.item').eq(0).width()+4)) +'px'}, 1000); |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |
| | | parent.location.href = baseUrl+"/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | console.log(res.msg); |
| | | } |
| | | } |
| | | }); |
| | |
| | | $("#code-decoder-data-"+barcodes[i].barcodeId).html(barcodes[i].codeValue); |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |
| | | parent.location.href = baseUrl+"/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | console.log(res.msg); |
| | | } |
| | | } |
| | | }); |
| | |
| | | targetTop += 160; |
| | | break; |
| | | case 2: |
| | | targetTop += 120; |
| | | targetTop += 140; |
| | | break; |
| | | case 3: |
| | | targetTop += 80; |
| | |
| | | |
| | | |
| | | // 台车点击事件 |
| | | $(document).on("click", ".car", function () { |
| | | $(document).on("click", ".item", function () { |
| | | var value = prompt('目标站:', "1"); |
| | | if (value == null) { |
| | | alert('不能为空!'); |