mt-ck-wms-ui/dist/static/js/chunk-6c5eaa2e.f31440cd.js
2022-06-21 14:03:26 +08:00

1 line
8.2 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6c5eaa2e"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));var r=a("2b0b"),o=a.n(r);Math.easeInOutQuad=function(t,e,a,r){return t/=r/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function l(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(t,e,a){var r=s(),o=t-r,n=20,d=0;e="undefined"===typeof e?500:e;var u=function t(){d+=n;var s=Math.easeInOutQuad(d,r,o,e);l(s),d<e?i(t):a&&"function"===typeof a&&a()};u()}},"1b7a":function(t,e,a){"use strict";a("beff")},"411d":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-form",{ref:"formData",attrs:{rules:t.rules,model:t.listQuery,inline:!0,size:"medium","label-width":"100px"}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TimeSlot"),prop:"time"}},[a("el-date-picker",{attrs:{type:"daterange",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","start-placeholder":t.$t("module.orderManage.order.StartTime"),"end-placeholder":t.$t("module.orderManage.order.StartTime"),"range-separator":t.$t("module.orderManage.order.To"),clearable:""},model:{value:t.listQuery.timeSlot,callback:function(e){t.$set(t.listQuery,"timeSlot",e)},expression:"listQuery.timeSlot"}})],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"))+" ")])],1)],1),t._v(" "),a("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.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.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("Factory-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},o=[],i=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":"110px","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.OrderName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderName"),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.IssueOrderTime"),prop:"createTime"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.IssueOrderTime"),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.PlanProcessQuantity"),prop:"planQuantity"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.PlanProcessQuantity"),readonly:""},model:{value:t.dataForm.planQuantity,callback:function(e){t.$set(t.dataForm,"planQuantity",e)},expression:"dataForm.planQuantity"}})],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.OrderCode"),prop:"taskCode"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderCode"),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.OrderStatus"),prop:"taskType"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderStatus"),readonly:""},model:{value:t.dataForm.taskType,callback:function(e){t.$set(t.dataForm,"taskType",e)},expression:"dataForm.taskType"}})],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.TotalProcessName"),prop:"craftName"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.TotalProcessName"),readonly:""},model:{value:t.dataForm.craftName,callback:function(e){t.$set(t.dataForm,"craftName",e)},expression:"dataForm.craftName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.SubProcessName"),prop:"subProccessName"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.SubProcessName"),readonly:""},model:{value:t.dataForm.subProccessName,callback:function(e){t.$set(t.dataForm,"subProccessName",e)},expression:"dataForm.subProccessName"}})],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)},l=[],s=a("de20"),n={data:function(){return{visible:!1,dataForm:{id:0,name:void 0,createTime:void 0,taskCode:void 0,taskType:void 0,craftName:void 0,planQuantity:void 0,subProccessName:void 0}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id&&Object(s["a"])(e.dataForm.id).then((function(t){e.dataForm=t.data}))}))}}},d=n,u=a("2877"),c=Object(u["a"])(d,i,l,!1,null,null,null),m=c.exports,p=a("c0ee"),f=a("333d"),b=a("ebe9"),h=a("8975"),y=a("9923"),v=[{type:"see",btnName:"btn.see"}],w=[{prop:"name",label:y["a"].t("module.quality.QCPplan.QCPcode"),align:"center"},{prop:"createTime",label:y["a"].t("module.quality.QCPplan.getTime"),filter:h["timeFormatter"],align:"center"}],F={name:"ExecutionInfo",components:{Pagination:f["a"],BaseTable:p["a"],MethodBtn:b["a"],FactoryAdd:m},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,tableBtn:v,trueWidth:200,tableProps:w,list:[],total:0,listLoading:!0,rules:{},listQuery:{current:1,size:10,timeSlot:[]}}},created:function(){this.getList()},methods:{handleClick:function(t){this.addNew(t.data.id)},getList:function(){this.listQuery.timeSlot?(this.listQuery.startTime=this.listQuery.timeSlot[0],this.listQuery.endTime=this.listQuery.timeSlot[1]):(this.listQuery.startTime="",this.listQuery.endTime=""),this.listLoading=!1},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))}}},k=F,$=(a("1b7a"),Object(u["a"])(k,r,o,!1,null,"66bd78e1",null));e["default"]=$.exports},beff:function(t,e,a){},de20:function(t,e,a){"use strict";a.d(e,"d",(function(){return o})),a.d(e,"e",(function(){return i})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return s})),a.d(e,"a",(function(){return n}));var r=a("b775");function o(t){return Object(r["a"])({url:"/api/wms/work/order/page",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/api/wms/work/order/update",method:"post",data:t})}function l(t){var e={id:t};return Object(r["a"])({url:"/api/wms/work/order/get",method:"post",data:e})}function s(t){return Object(r["a"])({url:"/api/wms/work/order/execute/page",method:"post",data:t})}function n(t){var e={id:t};return Object(r["a"])({url:"/api/wms/work/order/execute/get",method:"post",data:e})}}}]);