1 line
9.5 KiB
JavaScript
1 line
9.5 KiB
JavaScript
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6417"],{"1UdO":function(t,e,a){"use strict";var o=a("mTVD");a.n(o).a},CvMc:function(t,e,a){"use strict";var o=a("t3Un");e.a={GetAgvsList:function(){return Object(o.a)({url:"/agv/GetAgvsList",method:"post"})},CancelTask:function(t){return Object(o.a)({url:"/agv/cancelTask",method:"post",data:t})},GetAgvStatus:function(t){return Object(o.a)({url:"/agv/getAgvStatus",method:"post",data:t})},GetTaskRecord:function(t){return Object(o.a)({url:"/agv/getTaskRecord",method:"post",data:t})},retrievePallet:function(t){return Object(o.a)({url:"/agv/retrievePallet",method:"post",data:t})},BatchRetrievePallet:function(t){return Object(o.a)({url:"/agv/BatchRetrievePallet",method:"post",data:t})},setWorkStoreTunnel:function(t){return Object(o.a)({url:"/agv/setWorkStoreTunnel",method:"post",data:t})},getWorkStoreTunnel:function(t){return Object(o.a)({url:"/agv/getWorkStoreTunnel",method:"post",data:t})},productOutStore:function(t){return Object(o.a)({url:"/agv/ProductOutStore",method:"post",data:t})},productBatchOutStore:function(t){return Object(o.a)({url:"/agv/ProductBatchOutStore",method:"post",data:t})},productBatchBackStore:function(t){return Object(o.a)({url:"/agv/ProductBatchBackStore",method:"post",data:t})},productInStoreNow:function(){return Object(o.a)({url:"/agv/productInStoreNow",method:"post"})},palletInStore:function(t){return Object(o.a)({url:"/agv/PalletOutStacker",method:"post",data:t})},palletOutStoreNow:function(){return Object(o.a)({url:"/agv/palletOutStoreNow",method:"post"})}}},mTVD:function(t,e,a){},qpgI:function(t,e,a){"use strict";var o=a("t3Un");e.a={SetRobotPalletCount:function(t){return Object(o.a)({url:"/device/setRobotPalletCount",method:"post",data:t})},SetRobotProductCount:function(t){return Object(o.a)({url:"/device/setRobotProductCount",method:"post",data:t})},SetMaxRobotProductCount:function(t){return Object(o.a)({url:"/device/setMaxRobotProductCount",method:"post",data:t})},SetStackerPalletCount:function(t){return Object(o.a)({url:"/device/setStackerPalletCount",method:"post",data:t})},GetRobotMatterCount:function(t){return Object(o.a)({url:"/device/getRobotMatterCount",method:"post",data:t})},GetStackerMatterCount:function(t){return Object(o.a)({url:"/device/getStackerMatterCount",method:"post",data:t})},AllowStackerGet:function(){return Object(o.a)({url:"/device/setStackerAllowGet",method:"post"})},AllowStackerPut:function(){return Object(o.a)({url:"/device/setStackerAllowPut",method:"post"})}}},xESL:function(t,e,a){"use strict";a.r(e);var o=a("CvMc"),n=a("t3Un"),r=function(t){return Object(n.a)({url:"/wcs/StackPackage",method:"post",data:t})},l=function(t){return Object(n.a)({url:"/wcs/DestackPallet",method:"post",data:t})},c=a("qpgI"),s={data:function(){return{guideImg:"/static/images/forklift.png",tableData:[],form:{outTunnel:1,inTunnel:1,palletTunnel:1,emptyPallet:10,palletizedPackages:4,maxPackages:4}}},mounted:function(){this.getWorkStoreTunnel(1),this.getWorkStoreTunnel(3),this.getMatterCount("pallet"),this.getMatterCount("package"),this.getMatterCount("max_package")},created:function(){},methods:{getMatterCount:function(t){var e=this,a={type:t};c.a.GetRobotMatterCount(a).then(function(a){"pallet"==t?e.form.emptyPallet=a.data.data.count:"package"==t?e.form.palletizedPackages=a.data.data.count:e.form.maxPackages=a.data.data.count})},setWorkStoreTunnel:function(t){var e=this,a=1;1==t?a=this.form.inTunnel:2==t?a=this.form.outTunnel:3==t&&(a=this.form.palletTunnel),this.$confirm("是否确认修改?","提示",{iconClass:"el-icon-question",confirmButtonText:"确认",showClose:!0,type:"warning"}).then(function(){var n={tunnel:a,type:t};o.a.setWorkStoreTunnel(n).then(function(t){e.$message("设置成功")})}).catch(function(t){console.log(t)})},getWorkStoreTunnel:function(t){var e=this,a={type:t};o.a.getWorkStoreTunnel(a).then(function(a){1==t?e.form.inTunnel=a.data.data.value:2==t?e.form.outTunnel=a.data.data.value:3==t&&(e.form.palletTunnel=a.data.data.value)})},productInStoreNow:function(){var t=this;o.a.productInStoreNow().then(function
|