mt-ck-wms-ui/dist/static/js/chunk-ee59210a.b67023d9.js

1 line
3.6 KiB
JavaScript
Raw Normal View History

2022-06-07 10:43:58 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ee59210a"],{"16c3":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticStyle:{margin:"10px 50px"}},[n("el-button",{attrs:{type:"success"},on:{click:function(e){return t.goback()}}},[t._v(t._s(t._f("i18nFilter")("btn.back")))]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addNew()}}},[t._v(t._s(t._f("i18nFilter")("btn.add")))])],1),t._v(" "),n("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}})],1)},i=[],o=(n("7f7f"),n("a3e3")),r=n.n(o),c=n("3393"),s=n.n(c),u=n("fe12"),l=n("9923"),d=n("c0ee"),f=[{prop:"code",label:l["a"].t("module.basicData.cache.LocationCode"),align:"center"},{prop:"locationName",label:l["a"].t("module.basicData.cache.LocationName"),align:"center"}],p={name:"Shelf",components:{BaseTable:d["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{trueWidth:200,tableProps:f,list:[],listLoading:!0,listQuery:{current:1,size:990,workSequenId:""}}},created:function(){this.listQuery.workSequenId=this.$route.query.id,this.getList()},methods:{handleClick:function(t){var e;"delete"===t.type&&this.$confirm(r()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){}))["catch"]((function(){}))},getList:function(){var t=this;this.listLoading=!0,Object(u["i"])(this.listQuery).then((function(e){var n;e.data.records?t.list=e.data.records:s()(n=t.list).call(n,0,t.list.length);t.listLoading=!1}))},addNew:function(){this.$router.push({name:"ProcessStorageLink",query:{id:this.listQuery.workSequenId}})},goback:function(){this.$router.go(-1)}}},b=p,h=(n("f7eb"),n("2877")),m=Object(h["a"])(b,a,i,!1,null,"417a3860",null);e["default"]=m.exports},6664:function(t,e,n){},f7eb:function(t,e,n){"use strict";n("6664")},fe12:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"f",(function(){return o})),n.d(e,"j",(function(){return r})),n.d(e,"e",(function(){return c})),n.d(e,"g",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return d})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return p}));var a=n("b775");function i(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/his/page/by/code",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/page/for/bind",method:"post",data:t})}function r(t){return Object(a["a"])({url:"/api/wms/location/list",method:"post",data:t})}function c(t){var e={id:t};return Object(a["a"])({url:"/api/wms/storage/box/circ/info/get",method:"post",data:e})}function s(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/update",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/add",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/api/wms/storagebox/page",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/delete",method:"post",data:{id:t}})}function f(t){return Object(a["a"])({url:"/api/wms/processlocation/batchList",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/api/wms/processlocation/locationByProcess",method:"post",data:t})}}}]);