mt-ck-wms-ui/dist/static/js/chunk-3fefd9bc.53dc2189.js

1 line
4.0 KiB
JavaScript
Raw Normal View History

2022-06-07 10:43:58 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3fefd9bc"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("2b0b"),o=n.n(r);Math.easeInOutQuad=function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function u(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,n){var r=u(),o=t-r,s=20,l=0;e="undefined"===typeof e?500:e;var c=function t(){l+=s;var u=Math.easeInOutQuad(l,r,o,e);i(u),l<e?a(t):n&&"function"===typeof n&&n()};c()}},1:function(t,e){},2:function(t,e){},"478c":function(t,e,n){"use strict";n("857b")},"5a6c":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return u})),n.d(e,"e",(function(){return s}));var r=n("b775");function o(t){return Object(r["a"])({url:"/api/report/report-storage-box/list",method:"post",data:t})}function a(t){return Object(r["a"])({url:"/api/report/report-storage-box/excel-download",method:"post",data:t,responseType:"blob",timeout:6e4})}function i(t){return Object(r["a"])({url:"/api/report/report-substrate/list",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/api/report/report-substrate/delete",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/api/report/report-substrate/update",method:"post",data:t})}},"5b78":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("head-form",{attrs:{"placeholder-name":t.placeholderName,"key-name":t.keyName,"show-add":!1},on:{getDataList:t.getList}}),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}}),t._v(" "),n("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()}}})],1)},o=[],a=n("3393"),i=n.n(a),u=n("9923"),s=n("bb1e"),l=n("c0ee"),c=n("333d"),d=n("5a6c"),p=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],m=[{prop:"code",label:u["a"].t("module.report.inventory.code"),align:"center"},{prop:"status",label:u["a"].t("module.report.inventory.status"),align:"center"},{prop:"inprocessCode",label:u["a"].t("module.report.inventory.inprocessCode"),align:"center"},{prop:"currentLocation",label:u["a"].t("module.report.inventory.currentLocation"),align:"center"},{prop:"storeTime",label:u["a"].t("module.report.inventory.storeTime"),align:"center"},{prop:"manual",label:u["a"].t("module.report.inventory.manual"),align:"center"}],b={name:"Inventory",components:{Pagination:c["a"],BaseTable:l["a"],HeadForm:s["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,keyName:u["a"].t("module.report.reportList.storageBoxNumber"),placeholderName:this.$t("module.report.reportList.queryFiltering"),tableBtn:p,trueWidth:200,tableProps:m,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{getList:function(t){var e=this;this.listLoading=!0,this.listQuery.code=t,console.log(this.listQuery),Object(d["c"])(this.listQuery).then((function(t){var n;(console.log(t),t.data)?e.list=t.data:i()(n=e.list).call(n,0,e.list.length);e.listLoading=!1}))}}},f=b,g=(n("478c"),n("2877")),y=Object(g["a"])(f,r,o,!1,null,"5f68faaa",null);e["default"]=y.exports},"857b":function(t,e,n){}}]);