| | |
| | | <link rel="stylesheet" type="text/css" href="../static/css/crn.css"> |
| | | <script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | | <script type="text/javascript" src="../static/js/common.js"></script> |
| | | <script type="text/javascript" src="../static/js/layer/layer.js"></script> |
| | | <style> |
| | | |
| | | </style> |
| | |
| | | <!-- 手动操作 --> |
| | | <div class="crn-operation"> |
| | | |
| | | <div class="crn-operation-shade"> |
| | | <div class="crn-operation-shade" onclick="layer.msg('请停止 WCS 系统后操作');"> |
| | | <span class="crn-operation-shade-span"> |
| | | WCS 系统运行中,请停止后操作 |
| | | </span> |
| | |
| | | // 入库 |
| | | function put() { |
| | | http.post(baseUrl+"/crn/operator/put", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 出库 |
| | | function take() { |
| | | http.post(baseUrl+"/crn/operator/take", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 库位转移 |
| | | function stockMove() { |
| | | http.post(baseUrl+"/crn/operator/stockMove", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 站到站 |
| | | function siteMove() { |
| | | http.post(baseUrl+"/crn/operator/siteMove", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 坐标移动 |
| | | function coorMove() { |
| | | http.post(baseUrl+"/crn/operator/coorMove", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 回原点 |
| | | function bacOrigin() { |
| | | http.post(baseUrl+"/crn/operator/bacOrigin", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 任务完成 |
| | | function taskComplete() { |
| | | http.post(baseUrl+"/crn/operator/taskComplete", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 暂停 |
| | | function pause() { |
| | | http.post(baseUrl+"/crn/operator/pause", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 启动 |
| | | function boot() { |
| | | http.post(baseUrl+"/crn/operator/boot", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 清除命令 |
| | | function clearCommand() { |
| | | http.post(baseUrl+"/crn/operator/clearCommand", getReqParam(), function (res) { |
| | | alert(res.msg); |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |