Files
oms-back/public/static/js/chunk-63a4.a5192eb1.js
2026-03-09 22:55:58 +08:00

1 line
5.0 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-63a4"],{"69un":function(t,e,o){"use strict";o.r(e);var n=o("qpgI"),a=o("CvMc"),r={data:function(){return{guideImg:"/static/images/stacker.jpg",form:{emptyPallet:1},readonly:!0}},mounted:function(){this.getMatterCount("pallet")},created:function(){},methods:{getMatterCount:function(t){var e=this,o={type:t};n.a.GetStackerMatterCount(o).then(function(t){e.form.emptyPallet=t.data.data.count})},setPalletCount:function(){var t=this,e=this.form.emptyPallet;this.$confirm("是否确认修改?","提示",{iconClass:"el-icon-question",confirmButtonText:"确认",showClose:!0,type:"warning"}).then(function(){var o={count:e};n.a.SetStackerPalletCount(o).then(function(e){t.$message("设置成功")})}).catch(function(t){console.log(t)})},retrievePallet:function(t){var e=this;this.form.emptyPallet;this.$confirm("是否确认回收托盘?","提示",{iconClass:"el-icon-question",confirmButtonText:"确认",showClose:!0,type:"warning"}).then(function(){var o={pos:t};a.a.retrievePallet(o).then(function(t){e.$message("下发成功")})}).catch(function(t){console.log(t)})},AllowPut:function(){this.form.emptyPallet;this.$confirm("是否确认重置码垛机状态?","提示",{iconClass:"el-icon-question",confirmButtonText:"确认",showClose:!0,type:"warning"}).then(function(){n.a.AllowStackerPut()}).catch(function(t){console.log(t)})},AllowGet:function(){this.form.emptyPallet;this.$confirm("是否确认重置码垛机状态?","提示",{iconClass:"el-icon-question",confirmButtonText:"确认",showClose:!0,type:"warning"}).then(function(){n.a.AllowStackerGet()}).catch(function(t){console.log(t)})}}},c=(o("wSkj"),o("KHd+")),u=Object(c.a)(r,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("h1",{staticClass:"title"}),t._v(" "),o("div",{staticClass:"display-flex"},[o("img",{staticStyle:{width:"200px",height:"200px"},attrs:{src:t.guideImg}}),t._v(" "),o("el-form",{ref:"form",staticClass:"fun",attrs:{model:t.form,"label-width":"150px"}},[o("el-form-item",{attrs:{label:"空托盘数"}},[o("el-input",{attrs:{readonly:""},model:{value:t.form.emptyPallet,callback:function(e){t.$set(t.form,"emptyPallet",e)},expression:"form.emptyPallet"}})],1),t._v(" "),o("el-form-item",{attrs:{label:"状态重置"}},[o("div",{staticClass:"button-group"},[o("el-button",{attrs:{type:"primary",plain:""},on:{click:function(e){t.AllowPut()}}},[t._v("允许送托盘")]),t._v(" "),o("el-button",{attrs:{type:"primary",plain:""},on:{click:function(e){t.AllowGet()}}},[t._v("允许取托盘")])],1)])],1)],1)])},[],!1,null,null,null);u.options.__file="stacker.vue";e.default=u.exports},CvMc:function(t,e,o){"use strict";var n=o("t3Un");e.a={GetAgvsList:function(){return Object(n.a)({url:"/agv/GetAgvsList",method:"post"})},CancelTask:function(t){return Object(n.a)({url:"/agv/cancelTask",method:"post",data:t})},GetAgvStatus:function(t){return Object(n.a)({url:"/agv/getAgvStatus",method:"post",data:t})},GetTaskRecord:function(t){return Object(n.a)({url:"/agv/getTaskRecord",method:"post",data:t})},retrievePallet:function(t){return Object(n.a)({url:"/agv/retrievePallet",method:"post",data:t})},BatchRetrievePallet:function(t){return Object(n.a)({url:"/agv/BatchRetrievePallet",method:"post",data:t})},setWorkStoreTunnel:function(t){return Object(n.a)({url:"/agv/setWorkStoreTunnel",method:"post",data:t})},getWorkStoreTunnel:function(t){return Object(n.a)({url:"/agv/getWorkStoreTunnel",method:"post",data:t})},productOutStore:function(t){return Object(n.a)({url:"/agv/ProductOutStore",method:"post",data:t})},productBatchOutStore:function(t){return Object(n.a)({url:"/agv/ProductBatchOutStore",method:"post",data:t})},productBatchBackStore:function(t){return Object(n.a)({url:"/agv/ProductBatchBackStore",method:"post",data:t})},productInStoreNow:function(){return Object(n.a)({url:"/agv/productInStoreNow",method:"post"})},palletInStore:function(t){return Object(n.a)({url:"/agv/PalletOutStacker",method:"post",data:t})},palletOutStoreNow:function(){return Object(n.a)({url:"/agv/palletOutStoreNow",method:"post"})}}},YFsf:function(t,e,o){},qpgI:function(t,e,o){"use strict";var n=o("t3Un");e.a={SetRobotPalletCount:function(t){return Object(n.a)({url:"/device/setRobotPalletCount",method:"post",data:t})},SetRobotProductCount:function(t){return Object(n.a)({url:"/device/setRobotProductCount",method:"post",data:t})},SetMaxRobotProductCount:function(t){return Object(n.a)({url:"/device/setMaxRobotProductCount",method:"post",data:t})},SetStackerPalletCount:function(t){return Object(n.a)({url:"/device/setStackerPalletCount",method:"post",data:t})},GetRobotMatterCount:function(t){return Object(n.a)({url:"/device/getRobotMatterCount",method:"post",data:t})},GetStackerMatterCount:function(t){return Object(n.a)({url:"/device/getStackerMatterCount",method:"post",data:t})},AllowStackerGet:function(){return Object(n.a)({url:"/device/setStackerAllowGet",method:"post"})},AllowStackerPut:function(){return Object(n.a)({url:"/device/setStackerAllowPut",method:"post"})}}},wSkj:function(t,e,o){"use strict";var n=o("YFsf");o.n(n).a}}]);