Files
oms/back/public/static/js/chunk-0bec.13d2ac55.js

1 line
10 KiB
JavaScript
Raw Normal View History

2026-03-10 18:45:36 +08:00
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0bec"],{CvMc:function(t,e,o){"use strict";var a=o("t3Un");e.a={GetAgvsList:function(){return Object(a.a)({url:"/agv/GetAgvsList",method:"post"})},CancelTask:function(t){return Object(a.a)({url:"/agv/cancelTask",method:"post",data:t})},GetAgvStatus:function(t){return Object(a.a)({url:"/agv/getAgvStatus",method:"post",data:t})},GetTaskRecord:function(t){return Object(a.a)({url:"/agv/getTaskRecord",method:"post",data:t})},retrievePallet:function(t){return Object(a.a)({url:"/agv/retrievePallet",method:"post",data:t})},BatchRetrievePallet:function(t){return Object(a.a)({url:"/agv/BatchRetrievePallet",method:"post",data:t})},setWorkStoreTunnel:function(t){return Object(a.a)({url:"/agv/setWorkStoreTunnel",method:"post",data:t})},getWorkStoreTunnel:function(t){return Object(a.a)({url:"/agv/getWorkStoreTunnel",method:"post",data:t})},productOutStore:function(t){return Object(a.a)({url:"/agv/ProductOutStore",method:"post",data:t})},productBatchOutStore:function(t){return Object(a.a)({url:"/agv/ProductBatchOutStore",method:"post",data:t})},productBatchBackStore:function(t){return Object(a.a)({url:"/agv/ProductBatchBackStore",method:"post",data:t})},productInStoreNow:function(){return Object(a.a)({url:"/agv/productInStoreNow",method:"post"})},palletInStore:function(t){return Object(a.a)({url:"/agv/PalletOutStacker",method:"post",data:t})},palletOutStoreNow:function(){return Object(a.a)({url:"/agv/palletOutStoreNow",method:"post"})}}},Goa7:function(t,e,o){"use strict";var a=o("iydB");o.n(a).a},c4gm:function(t,e,o){"use strict";o.r(e);var a=o("CvMc"),r=o("qpgI"),n={data:function(){return{guideImg:"/static/images/forklift.png",tableData:[],hobby2:[],form:{palletTunnel:1,palletCount:0}}},mounted:function(){this.getWorkStoreTunnel(4),this.getMatterCount("pallet")},created:function(){},methods:{setWorkStoreTunnel:function(t){var e=this,o=this.form.palletTunnel;this.$confirm("是否确认修改?","提示",{iconClass:"el-icon-question",confirmButtonText:"确认",showClose:!0,type:"warning"}).then(function(){var r={tunnel:o,type:t};a.a.setWorkStoreTunnel(r).then(function(t){e.$message("设置成功")})}).catch(function(t){console.log(t)})},getWorkStoreTunnel:function(t){var e=this,o={type:t};a.a.getWorkStoreTunnel(o).then(function(t){e.form.palletTunnel=t.data.data.value})},palletRecovery:function(){var t=this,e=[];this.hobby2.forEach(function(t,o,a){e.push(parseInt(t))}),console.log(e);var o={pos:e};a.a.BatchRetrievePallet(o).then(function(e){t.$message("下发成功")})},palletInstore:function(){var t=this;a.a.palletInStore().then(function(e){t.$message("下发成功")})},getMatterCount:function(t){var e=this,o={type:t};r.a.GetStackerMatterCount(o).then(function(t){e.form.palletCount=t.data.data.count})},setPalletCount:function(){var t=this,e=this.form.palletCount;this.$confirm("是否确认修改?","提示",{iconClass:"el-icon-question",confirmButtonText:"确认",showClose:!0,type:"warning"}).then(function(){var o={count:e};r.a.SetStackerPalletCount(o).then(function(e){t.$message("设置成功")})}).catch(function(t){console.log(t)})}}},c=(o("Goa7"),o("KHd+")),i=Object(c.a)(n,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"display-flex"},[o("el-form",{ref:"form",staticClass:"fun",staticStyle:{"margin-top":"10px"},attrs:{model:t.form,"label-width":"80px"}},[o("div",{staticClass:"box"},[o("el-card",{staticClass:"box-card",staticStyle:{"margin-left":"20px",width:"400px"}},[o("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[o("span",{staticStyle:{"margin-bottom":"20dp"}},[t._v("码垛机托盘数")])]),t._v(" "),o("el-form-item",{attrs:{label:"托盘数"}},[o("el-input",{staticStyle:{width:"120px"},model:{value:t.form.palletCount,callback:function(e){t.$set(t.form,"palletCount",e)},expression:"form.palletCount"}}),t._v(" "),o("el-button",{attrs:{type:"primary",plain:""},on:{click:t.setPalletCount}},[t._v("确定")])],1)],1),t._v(" "),o("el-card",{staticClass:"box-card",staticStyle:{width:"800px","margin-left":"20px","margin-to