1 line
9.8 KiB
JavaScript
1 line
9.8 KiB
JavaScript
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-07da"],{"4A3l":function(e,t,o){},"6wGl":function(e,t,o){"use strict";var a=o("4A3l");o.n(a).a},CvMc:function(e,t,o){"use strict";var a=o("t3Un");t.a={GetAgvsList:function(){return Object(a.a)({url:"/agv/GetAgvsList",method:"post"})},CancelTask:function(e){return Object(a.a)({url:"/agv/cancelTask",method:"post",data:e})},GetAgvStatus:function(e){return Object(a.a)({url:"/agv/getAgvStatus",method:"post",data:e})},GetTaskRecord:function(e){return Object(a.a)({url:"/agv/getTaskRecord",method:"post",data:e})},retrievePallet:function(e){return Object(a.a)({url:"/agv/retrievePallet",method:"post",data:e})},BatchRetrievePallet:function(e){return Object(a.a)({url:"/agv/BatchRetrievePallet",method:"post",data:e})},setWorkStoreTunnel:function(e){return Object(a.a)({url:"/agv/setWorkStoreTunnel",method:"post",data:e})},getWorkStoreTunnel:function(e){return Object(a.a)({url:"/agv/getWorkStoreTunnel",method:"post",data:e})},productOutStore:function(e){return Object(a.a)({url:"/agv/ProductOutStore",method:"post",data:e})},productBatchOutStore:function(e){return Object(a.a)({url:"/agv/ProductBatchOutStore",method:"post",data:e})},productBatchBackStore:function(e){return Object(a.a)({url:"/agv/ProductBatchBackStore",method:"post",data:e})},productInStoreNow:function(){return Object(a.a)({url:"/agv/productInStoreNow",method:"post"})},palletInStore:function(e){return Object(a.a)({url:"/agv/PalletOutStacker",method:"post",data:e})},palletOutStoreNow:function(){return Object(a.a)({url:"/agv/palletOutStoreNow",method:"post"})}}},MCrP:function(e,t,o){"use strict";o.r(t);var a=o("CvMc"),r={data:function(){return{guideImg:"/static/images/forklift.png",tableData:[],form:{outTunnel:1},hobby2:[],dialogVisible:!1,recovery_channel_no:"",recovery_package_cnt:""}},mounted:function(){this.getWorkStoreTunnel(2)},created:function(){},methods:{setWorkStoreTunnel:function(e){var t=this,o=this.form.outTunnel;this.$confirm("是否确认修改?","提示",{iconClass:"el-icon-question",confirmButtonText:"确认",showClose:!0,type:"warning"}).then(function(){var r={tunnel:o,type:e};a.a.setWorkStoreTunnel(r).then(function(e){t.$message("设置成功")})}).catch(function(e){console.log(e)})},getWorkStoreTunnel:function(e){var t=this,o={type:e};a.a.getWorkStoreTunnel(o).then(function(e){t.form.outTunnel=e.data.data.value})},productOutStore:function(){var e=this,t=[];this.hobby2.forEach(function(e,o,a){t.push(parseInt(e))}),console.log(t);var o={bin_no:t};a.a.productBatchOutStore(o).then(function(t){t.data.success?e.$message("下发成功"):e.$message(t.data.message),console.log(t.data)})},confirmRecovery:function(){var e=this,t=[];if(this.hobby2.forEach(function(e,o,a){t.push(parseInt(e))}),""!=this.recovery_channel_no&&""!=this.recovery_package_cnt){var o={bin_no:t,channel_no:parseInt(this.recovery_channel_no),package_cnt:parseInt(this.recovery_package_cnt)};console.log(o),a.a.productBatchBackStore(o).then(function(t){e.$message("下发成功"),console.log(t.data)}),this.dialogVisible=!1}else this.$message("请输入回库信息")},productBackStore:function(e){var t=[];this.hobby2.forEach(function(e,o,a){t.push(parseInt(e))}),1==t.length?(console.log(t),this.recovery_channel_no=this.form.outTunnel,this.dialogVisible=!0):this.$message("回库作业支持单任务作业,请重新选择回库库位")}}},n=(o("6wGl"),o("KHd+")),c=Object(n.a)(r,function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"display-flex"},[o("el-form",{ref:"form",staticClass:"fun",staticStyle:{"margin-top":"10px"},attrs:{model:e.form,"label-width":"80px"}},[o("el-card",{staticClass:"box-card",staticStyle:{width:"800px"}},[o("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[o("span",{staticStyle:{"margin-bottom":"20dp"}},[e._v("产品出库作业")])]),e._v(" "),o("el-form-item",{attrs:{label:"出库巷道"}},[o("el-input",{staticStyle:{width:"120px"},model:{value:e.form.outTunnel,callback:function(t){e.$set(e.form,"outTunnel",t)},expression:"form.outTunnel"}}),e._v(" "),o("el-button",{
|