mt-ck-wms-ui/dist/static/js/chunk-49f842f0.c7405059.js
2022-06-07 10:43:58 +08:00

1 line
24 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49f842f0"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));var o=a("2b0b"),r=a.n(o);Math.easeInOutQuad=function(t,e,a,o){return t/=o/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){r()(t,1e3/60)}}();function s(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(t,e,a){var o=i(),r=t-o,n=20,u=0;e="undefined"===typeof e?500:e;var d=function t(){u+=n;var i=Math.easeInOutQuad(u,o,r,e);s(i),u<e?l(t):a&&"function"===typeof a&&a()};d()}},"11b5":function(t,e,a){},"1b42":function(t,e,a){"use strict";a("11b5")},"1bb6":function(t,e,a){"use strict";a.d(e,"d",(function(){return r})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return s})),a.d(e,"a",(function(){return i}));var o=a("b775");function r(t){return Object(o["a"])({url:"/api/wms/car/task/execution/info/his/page",method:"post",data:t})}function l(t){var e={id:t};return Object(o["a"])({url:"/api/wms/car/task/execution/info/his/get",method:"post",data:e})}function s(t){return Object(o["a"])({url:"/api/wms/car/task/execution/info/page",method:"post",data:t})}function i(t){var e={id:t};return Object(o["a"])({url:"/api/wms/car/task/execution/info/get",method:"post",data:e})}},"2cb1":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-form",{ref:"formData",attrs:{model:t.formData,inline:!0,size:"medium"}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskType"),prop:"taskType"}},[a("el-select",{attrs:{filterable:"",placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.TaskType")]),clearable:""},model:{value:t.formData.taskType,callback:function(e){t.$set(t.formData,"taskType",e)},expression:"formData.taskType"}},t._l(t.taskTypeList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskStatus"),prop:"status"}},[a("el-select",{attrs:{filterable:"",placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.TaskStatus")]),clearable:""},model:{value:t.formData.status,callback:function(e){t.$set(t.formData,"status",e)},expression:"formData.status"}},t._l(t.TaskStatusList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.VehicleName"),prop:"equipmentId"}},[a("el-select",{attrs:{filterable:"",placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.VehicleName")]),clearable:""},model:{value:t.formData.equipmentId,callback:function(e){t.$set(t.formData,"equipmentId",e)},expression:"formData.equipmentId"}},t._l(t.VehicleNameList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.getList()}}},[t._v(" "+t._s(t._f("i18nFilter")("btn.search"))+" ")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.manualTask()}}},[t._v(" "+t._s(t._f("i18nFilter")(t.$t("module.basicData.Warehouse.PerformTaskManual")))+" ")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.publishTask()}}},[t._v(" "+t._s(t._f("i18nFilter")(t.$t("module.basicData.Warehouse.publishTask")))+" ")])],1)],1),t._v(" "),a("base-table",{attrs:{page:t.formData.current,limit:t.formData.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}},[a("method-btn",{attrs:{slot:"handleBtn",width:t.trueWidth,"method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"})],1),t._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.formData.current,limit:t.formData.size},on:{"update:page":function(e){return t.$set(t.formData,"current",e)},"update:limit":function(e){return t.$set(t.formData,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("current-task-info",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e(),t._v(" "),t.manualTaskVisible?a("current-task-add",{ref:"manualTaskRef",on:{refreshDataList:t.getList}}):t._e(),t._v(" "),t.publishTaskVisible?a("publish-task",{ref:"publishTask"}):t._e()],1)},r=[],l=a("3393"),s=a.n(l),i=a("1bb6"),n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.see"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,size:"medium","label-width":"160px","label-position":"left"}},[a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.Code"),prop:"taskCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.taskCode,callback:function(e){t.$set(t.dataForm,"taskCode",e)},expression:"dataForm.taskCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderName"),prop:"orderName"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.orderName,callback:function(e){t.$set(t.dataForm,"orderName",e)},expression:"dataForm.orderName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskBoxNumber"),prop:"fullCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.fullCode,callback:function(e){t.$set(t.dataForm,"fullCode",e)},expression:"dataForm.fullCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.VehicleName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.name,callback:function(e){t.$set(t.dataForm,"name",e)},expression:"dataForm.name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.EmptyFork"),prop:"field124"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.field124,callback:function(e){t.$set(t.dataForm,"field124",e)},expression:"dataForm.field124"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.EmptyHandlingTime"),prop:"field119"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.field119,callback:function(e){t.$set(t.dataForm,"field119",e)},expression:"dataForm.field119"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.ExecutionTime"),prop:"createTime"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.createTime,callback:function(e){t.$set(t.dataForm,"createTime",e)},expression:"dataForm.createTime"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskType"),prop:"taskType"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.taskType,callback:function(e){t.$set(t.dataForm,"taskType",e)},expression:"dataForm.taskType"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.FullBoxNumber"),prop:"emptyCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.emptyCode,callback:function(e){t.$set(t.dataForm,"emptyCode",e)},expression:"dataForm.emptyCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskLocation"),prop:"anotherCurrLocation"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.anotherCurrLocation,callback:function(e){t.$set(t.dataForm,"anotherCurrLocation",e)},expression:"dataForm.anotherCurrLocation"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskBoxFork"),prop:"field121"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.field121,callback:function(e){t.$set(t.dataForm,"field121",e)},expression:"dataForm.field121"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskSource"),prop:"taskSource"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.taskSource,callback:function(e){t.$set(t.dataForm,"taskSource",e)},expression:"dataForm.taskSource"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.PreviousOperation"),prop:"anotherCurrProcessCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.anotherCurrProcessCode,callback:function(e){t.$set(t.dataForm,"anotherCurrProcessCode",e)},expression:"dataForm.anotherCurrProcessCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.NextOperation"),prop:"anotherNextProcessCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.anotherNextProcessCode,callback:function(e){t.$set(t.dataForm,"anotherNextProcessCode",e)},expression:"dataForm.anotherNextProcessCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TargetLocation"),prop:"anotherTargetLocation"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.anotherTargetLocation,callback:function(e){t.$set(t.dataForm,"anotherTargetLocation",e)},expression:"dataForm.anotherTargetLocation"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.BoxStatus"),prop:"field126"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.field126,callback:function(e){t.$set(t.dataForm,"field126",e)},expression:"dataForm.field126"}})],1)],1)],1)],1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))])],1)],1)},u=[],d={data:function(){return{visible:!1,dataForm:{id:"",taskCode:void 0,orderName:void 0,fullCode:void 0,name:void 0,field124:void 0,field119:void 0,createTime:void 0,taskType:void 0,emptyCode:void 0,anotherCurrLocation:void 0,field121:void 0,taskSource:void 0,anotherCurrProcessCode:void 0,anotherNextProcessCode:void 0,anotherTargetLocation:void 0,field126:void 0}}},methods:{init:function(t){var e=this;this.dataForm.id=t,this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),Object(i["a"])(e.dataForm.id).then((function(t){e.dataForm=t.data}))}))}}},c=d,m=a("2877"),p=Object(m["a"])(c,n,u,!1,null,null,null),f=p.exports,b=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.$t("module.basicData.Warehouse.PerformTaskManual"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,size:"medium","label-width":"170px","label-position":"left"}},[a("el-col",{attrs:{span:12}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskBoxNumber"),prop:"taskCode"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.StorageBoxNumber")]),clearable:"",filterable:""},model:{value:t.dataForm.taskCode,callback:function(e){t.$set(t.dataForm,"taskCode",e)},expression:"dataForm.taskCode"}},t._l(t.storageBoxList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.code,value:t.code}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.FullBoxNumber"),prop:"orderName"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.orderName,callback:function(e){t.$set(t.dataForm,"orderName",e)},expression:"dataForm.orderName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.ExecutionOperation"),prop:"fullCode"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.art.processList.processName")]),clearable:"",filterable:""},model:{value:t.dataForm.fullCode,callback:function(e){t.$set(t.dataForm,"fullCode",e)},expression:"dataForm.fullCode"}},t._l(t.processArr,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskStatus"),prop:"TaskStatus"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.TaskStatus")]),clearable:"",filterable:""},model:{value:t.dataForm.TaskStatus,callback:function(e){t.$set(t.dataForm,"TaskStatus",e)},expression:"dataForm.TaskStatus"}},t._l(t.TaskStatusArr,(function(t,e){return a("el-option",{key:e,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.ScrapInfo.remark"),prop:"remark"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.remark,callback:function(e){t.$set(t.dataForm,"remark",e)},expression:"dataForm.remark"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskLocation"),prop:"createTime"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.createTime,callback:function(e){t.$set(t.dataForm,"createTime",e)},expression:"dataForm.createTime"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.FullBoxStartLocation"),prop:"taskType"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.taskType,callback:function(e){t.$set(t.dataForm,"taskType",e)},expression:"dataForm.taskType"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.Priority"),prop:"emptyCode"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.emptyCode,callback:function(e){t.$set(t.dataForm,"emptyCode",e)},expression:"dataForm.emptyCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.NextOperation"),prop:"anotherCurrLocation"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.NextOperation")]),clearable:"",filterable:""},model:{value:t.dataForm.anotherCurrLocation,callback:function(e){t.$set(t.dataForm,"anotherCurrLocation",e)},expression:"dataForm.anotherCurrLocation"}},t._l(t.processArr,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1)],1)],1)],1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")(t.$t("module.basicData.Warehouse.PerformTaskManual")))+" ")])],1)],1)},h=[],v=a("3d6f"),k=a("5886"),F=a("fe12"),y={data:function(){return{visible:!1,processArr:[],TaskStatusArr:[],storageBoxList:[],dataForm:{id:"",taskCode:void 0,orderName:void 0,fullCode:void 0,TaskStatus:void 0,remark:void 0,field119:void 0,createTime:void 0,taskType:void 0,emptyCode:void 0,anotherCurrLocation:void 0,field121:void 0,taskSource:void 0,anotherCurrProcessCode:void 0,anotherNextProcessCode:void 0,anotherTargetLocation:void 0,field126:void 0}}},methods:{init:function(t){var e=this;this.dataForm.id=t,this.visible=!0;var a={current:1,size:999};Object(v["d"])(a).then((function(t){var a;t.data.records?e.processArr=t.data.records:s()(a=e.processArr).call(a,0,e.list.length);e.total=t.data.total})),Object(F["c"])(a).then((function(t){e.storageBoxList=t.data.records})),Object(k["d"])({current:1,size:999,dictTypeId:"6"}).then((function(t){var a;t.data.records?e.TaskStatusArr=t.data.records:s()(a=e.TaskStatusArr).call(a,0,e.scrapsArr.length)})),this.$nextTick((function(){e.$refs["dataForm"].resetFields()}))}}},T=y,$=Object(m["a"])(T,b,h,!1,null,null,null),D=$.exports,g=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.see"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,size:"medium","label-width":"110px","label-position":"left"}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.startPosition"),prop:"startPosition"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.startPosition,callback:function(e){t.$set(t.dataForm,"startPosition",e)},expression:"dataForm.startPosition"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.endPosition"),prop:"endPosition"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.endPosition,callback:function(e){t.$set(t.dataForm,"endPosition",e)},expression:"dataForm.endPosition"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.taskType"),prop:"taskType"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.taskType,callback:function(e){t.$set(t.dataForm,"taskType",e)},expression:"dataForm.taskType"}})],1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.submit"))+" ")])],1)],1)},w=[],x={data:function(){return{visible:!1,dataForm:{startPosition:null,endPosition:null,taskType:null},dataRule:{startPosition:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.Warehouse.startPosition")]),trigger:"blur"}],endPosition:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.Warehouse.endPosition")]),trigger:"blur"}],taskType:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.Warehouse.taskType")]),trigger:"blur"}]}}},methods:{init:function(){var t=this;this.visible=!0,this.$nextTick((function(){t.$refs["dataForm"].resetFields()}))}}},_=x,C=Object(m["a"])(_,g,w,!1,null,null,null),W=C.exports,L=a("9923"),O=a("c0ee"),P=a("333d"),N=a("ebe9"),j=a("8975"),S=[{type:"view",btnName:"btn.see"}],B=[{prop:"taskCode",label:L["a"].t("module.basicData.Warehouse.Code"),align:"center"},{prop:"createTime",label:L["a"].t("module.basicData.Warehouse.ExecutionTime"),filter:j["timeFormatter"],align:"center"},{prop:"taskSource",label:L["a"].t("module.basicData.Warehouse.TaskSource"),align:"center"},{prop:"taskType",label:L["a"].t("module.basicData.Warehouse.TaskType"),align:"center"},{prop:"fullCode",label:L["a"].t("module.basicData.Warehouse.TaskBoxNumber"),align:"center"},{prop:"emptyCode",label:L["a"].t("module.basicData.Warehouse.FullBoxNumber"),align:"center"},{prop:"wcurrProcessCode",label:L["a"].t("module.basicData.Warehouse.PreviousOperation"),align:"center"},{prop:"wnextProcessCode",label:L["a"].t("module.basicData.Warehouse.NextOperation"),align:"center"},{prop:"anotherCurrLocation",label:L["a"].t("module.basicData.Warehouse.StartLocation"),align:"center"},{prop:"anotherTargetLocation",label:L["a"].t("module.basicData.Warehouse.TargetLocation"),align:"center"},{prop:"currLocation",label:L["a"].t("module.basicData.Warehouse.FullBoxStartLocation"),align:"center"},{prop:"name",label:L["a"].t("module.basicData.Warehouse.VehicleName"),align:"center"}],q={name:"ScrapInfo",components:{Pagination:P["a"],BaseTable:O["a"],MethodBtn:N["a"],CurrentTaskInfo:f,CurrentTaskAdd:D,PublishTask:W},data:function(){return{trueWidth:100,addOrUpdateVisible:!1,manualTaskVisible:!1,publishTaskVisible:!1,tableProps:B,tableBtn:S,list:[],total:0,listLoading:!1,formData:{taskType:"",status:"",equipmentId:"",current:1,size:10},taskTypeList:[{label:L["a"].t("module.basicData.Warehouse.ExWarehouse"),value:0},{label:L["a"].t("module.basicData.Warehouse.InWarehouse"),value:1},{label:L["a"].t("module.basicData.Warehouse.Circulation"),value:2}],TaskStatusList:[{label:L["a"].t("module.basicData.Warehouse.Initialization"),value:0},{label:L["a"].t("module.basicData.Warehouse.Damage"),value:1}],VehicleNameList:[{label:"小车1",value:0},{label:"小车2",value:1}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(i["b"])(this.formData).then((function(e){var a;e.data.records?t.list=e.data.records:s()(a=t.list).call(a,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))},handleClick:function(t){console.log(t),this.addNew(t.data.id)},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))},manualTask:function(){var t=this;this.manualTaskVisible=!0,this.$nextTick((function(){t.$refs.manualTaskRef.init()}))},publishTask:function(){var t=this;this.publishTaskVisible=!0,this.$nextTick((function(){t.$refs.publishTask.init()}))}}},V=q,A=(a("1b42"),Object(m["a"])(V,o,r,!1,null,"6c17bb6e",null));e["default"]=A.exports},"3d6f":function(t,e,a){"use strict";a.d(e,"d",(function(){return r})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return s})),a.d(e,"e",(function(){return i})),a.d(e,"a",(function(){return n}));var o=a("b775");function r(t){return Object(o["a"])({url:"/api/process/work-sequence/page",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/api/process/work-sequence/get",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/api/process/work-sequence/delete",method:"post",data:t})}function i(t){return Object(o["a"])({url:"/api/process/work-sequence/update",method:"post",data:t})}function n(t){return Object(o["a"])({url:"/api/process/work-sequence/add",method:"post",data:t})}},5886:function(t,e,a){"use strict";a.d(e,"d",(function(){return r})),a.d(e,"c",(function(){return l})),a.d(e,"e",(function(){return s})),a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n}));var o=a("b775");function r(t){return Object(o["a"])({url:"/api/wms/platform-dict/selectPlatformDictDataListByPage",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/api/wms/platform-dict/selectPlatformDictDataById",method:"post",data:{id:t}})}function s(t){return Object(o["a"])({url:"/api/wms/platform-dict/updatePlatformDictData",method:"post",data:t})}function i(t){return Object(o["a"])({url:"/api/wms/platform-dict/savePlatformDictData",method:"post",data:t})}function n(t){return Object(o["a"])({url:"/api/wms/platform-dict/deletePlatformDictData",method:"post",data:{id:t}})}},fe12:function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"f",(function(){return l})),a.d(e,"j",(function(){return s})),a.d(e,"e",(function(){return i})),a.d(e,"g",(function(){return n})),a.d(e,"b",(function(){return u})),a.d(e,"c",(function(){return d})),a.d(e,"d",(function(){return c})),a.d(e,"h",(function(){return m})),a.d(e,"i",(function(){return p}));var o=a("b775");function r(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/his/page/by/code",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/page/for/bind",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/api/wms/location/list",method:"post",data:t})}function i(t){var e={id:t};return Object(o["a"])({url:"/api/wms/storage/box/circ/info/get",method:"post",data:e})}function n(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/update",method:"post",data:t})}function u(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/add",method:"post",data:t})}function d(t){return Object(o["a"])({url:"/api/wms/storagebox/page",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/delete",method:"post",data:{id:t}})}function m(t){return Object(o["a"])({url:"/api/wms/processlocation/batchList",method:"post",data:t})}function p(t){return Object(o["a"])({url:"/api/wms/processlocation/locationByProcess",method:"post",data:t})}}}]);