webpackJsonp([20],{"74QC":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),s=a("Dd8w"),o=a.n(s),r=(a("hky6"),a("UVPs")),l=a("Lokx"),d=a.n(l),c=a("38N9"),p=a.n(c),h={name:"systemLogs",data:function(){return{loading:!1,params:{page_no:1,page_size:20},tableData:"",searchTime:"",showLogDetail:!1,currDetailLog:{},advancedForm:{},PrintVisible:!1,codeList:[],barcodeValue:"",multipleSelection:[]}},mounted:function(){this.GET_SystemLogs(),this.rowDrop()},methods:{handleSelectionChange:function(t){this.multipleSelection=t},batchPrint:function(){var t=this.multipleSelection.map(function(t){return t.sku});this.codeList=t,this.PrintVisible=!0},handlePrintGoodsLend:function(){p()({printable:"deliverySheet",type:"html",targetStyles:["*"],ignoreElements:["no-logs","goods-image","no-btn"]})},handleCancle:function(){this.PrintVisible=!1,this.codeList=[]},PrintIng:function(t){var e=this;this.barcodeValue=t.sku,this.$nextTick(function(){e.codeList.push(t.sku),e.PrintVisible=!0})},rowDrop:function(){var t=document.querySelector(".draggable-table .el-table__body-wrapper tbody"),e=this;d.a.create(t,{animation:300,handle:".drag-handle",onEnd:function(t){var a=t.newIndex,n=(t.oldIndex,e.tableData.data.splice(a,1)[0]);e.tableData.data.splice(a,0,n),e.updateList(n.id,a)}})},updateList:function(t,e){var a=this,n=[{position:"own",product_id:this.tableData.data[e].id,sort:this.tableData.data[e].sort}];e>0&&n.push({position:"before",product_id:this.tableData.data[e-1].id,sort:this.tableData.data[e-1].sort}),e