Files
oms/back/public/static/js/chunk-0bec.13d2ac55.js
2026-03-10 18:45:36 +08:00

1 line
10 KiB
JavaScript

(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-top":"20px"}},[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("div",{staticClass:"button-group"},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],attrs:{type:"checkbox",name:"hobby",value:"0"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"0")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"0");a.checked?n<0&&(t.hobby2=o.concat(["0"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #1\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox",name:"hobby",value:"1"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"1")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"1");a.checked?n<0&&(t.hobby2=o.concat(["1"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #2\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox",name:"hobby",value:"2"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"2")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"2");a.checked?n<0&&(t.hobby2=o.concat(["2"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #3\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox",name:"hobby",value:"3"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"3")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"3");a.checked?n<0&&(t.hobby2=o.concat(["3"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #4\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox",name:"hobby",value:"4"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"4")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"4");a.checked?n<0&&(t.hobby2=o.concat(["4"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #5\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox",name:"hobby",value:"5"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"5")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"5");a.checked?n<0&&(t.hobby2=o.concat(["5"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #6\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox",name:"hobby",value:"6"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"6")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"6");a.checked?n<0&&(t.hobby2=o.concat(["6"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #7\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox",name:"hobby",value:"7"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"7")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"7");a.checked?n<0&&(t.hobby2=o.concat(["7"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #8\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.hobby2,expression:"hobby2"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox",name:"hobby",value:"8"},domProps:{checked:Array.isArray(t.hobby2)?t._i(t.hobby2,"8")>-1:t.hobby2},on:{change:function(e){var o=t.hobby2,a=e.target,r=!!a.checked;if(Array.isArray(o)){var n=t._i(o,"8");a.checked?n<0&&(t.hobby2=o.concat(["8"])):n>-1&&(t.hobby2=o.slice(0,n).concat(o.slice(n+1)))}else t.hobby2=r}}}),t._v(" #9\n\n ")])]),t._v(" "),o("el-form-item",{attrs:{label:"回收巷道"}},[o("el-input",{staticStyle:{width:"120px"},model:{value:t.form.palletTunnel,callback:function(e){t.$set(t.form,"palletTunnel",e)},expression:"form.palletTunnel"}}),t._v(" "),o("el-button",{attrs:{type:"primary",plain:""},on:{click:function(e){t.setWorkStoreTunnel(4)}}},[t._v("确定")])],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.palletRecovery()}}},[t._v("托盘回收")]),t._v(" "),o("el-button",{attrs:{type:"primary",plain:""},on:{click:function(e){t.palletInstore()}}},[t._v("托盘入库")])],1)])],1)],1)])],1)},[],!1,null,null,null);i.options.__file="recovery.vue";e.default=i.exports},iydB:function(t,e,o){},qpgI:function(t,e,o){"use strict";var a=o("t3Un");e.a={SetRobotPalletCount:function(t){return Object(a.a)({url:"/device/setRobotPalletCount",method:"post",data:t})},SetRobotProductCount:function(t){return Object(a.a)({url:"/device/setRobotProductCount",method:"post",data:t})},SetMaxRobotProductCount:function(t){return Object(a.a)({url:"/device/setMaxRobotProductCount",method:"post",data:t})},SetStackerPalletCount:function(t){return Object(a.a)({url:"/device/setStackerPalletCount",method:"post",data:t})},GetRobotMatterCount:function(t){return Object(a.a)({url:"/device/getRobotMatterCount",method:"post",data:t})},GetStackerMatterCount:function(t){return Object(a.a)({url:"/device/getStackerMatterCount",method:"post",data:t})},AllowStackerGet:function(){return Object(a.a)({url:"/device/setStackerAllowGet",method:"post"})},AllowStackerPut:function(){return Object(a.a)({url:"/device/setStackerAllowPut",method:"post"})}}}}]);