| | |
| | | |
| | | var baseUrl = "http://localhost:9090/jkwcs" |
| | | |
| | | function CommonFunction() { |
| | | |
| | |
| | | var Store3DData; |
| | | function initStore() { |
| | | $.ajax({ |
| | | // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1', |
| | | url: 'http://localhost:9090/jkwcs/three/init/store/v1', |
| | | url: top.baseUrl + '/three/init/store/v1', |
| | | type: "POST", |
| | | data: {}, |
| | | // async: false, |
| | | success: function (res) { |
| | | Store3DData = res; |
| | | } |
| | |
| | | var CrnDatas = null; |
| | | function queryCrnCurrent() { |
| | | $.ajax({ |
| | | // url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1', |
| | | url: 'http://localhost:9090/jkwcs/three/query/crn/cache/v1', |
| | | url: top.baseUrl + '/three/query/crn/cache/v1', |
| | | type: "GET", |
| | | data: {}, |
| | | success: function (res) { |
| | |
| | | var StaDatas = null; |
| | | function queryStaCurrent() { |
| | | $.ajax({ |
| | | // url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1', |
| | | url: 'http://localhost:9090/jkwcs/three/query/sta/cache/v1', |
| | | url: top.baseUrl + '/three/query/sta/cache/v1', |
| | | type: "GET", |
| | | data: {}, |
| | | success: function (res) { |
| | |
| | | let htmlText=''; |
| | | switch (type) { |
| | | case 'locNo': |
| | | htmlText+='<p>库位编号:'+ this.uuid +'</p>'; |
| | | |
| | | htmlText += '<p>库位编号:'+ this.uuid +'</p>'; |
| | | $.ajax({ |
| | | url: top.baseUrl + '/three/query/loc/detl/v1?locNo=' + this.uuid, |
| | | type: "GET", |
| | | success: function (res) { |
| | | console.log(res); |
| | | } |
| | | }) |
| | | break |
| | | case "wrkNo": |
| | | htmlText+='<p>任务编号:'+ this.uuid +'</p>'; |
| | |
| | | <link rel="stylesheet" href="../static/css/index.css"> |
| | | <link rel="stylesheet" href="../static/css/loader.css" media="all"> |
| | | <script type="text/javascript" src="../static/js/lib/jquery-3.3.1.min.js"></script> |
| | | <script type="text/javascript" src="../static/js/common.js"></script> |
| | | <script type="text/javascript" src="../static/js/data/Asrs.js"></script> |
| | | <script type="text/javascript" src="../static/js/utils.js"></script> |
| | | <script type="text/javascript" src="../static/js/common.js"></script> |
| | | <script type="text/javascript" src="../static/js/lib/echarts.min.js"></script> |
| | | <script type="text/javascript" src="../static/js/data/BuildingData.js"></script> |
| | | <script type="text/javascript" src="../static/js/data/ConveyData.js"></script> |