webpackJsonp([18],{"74QC":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("fZjL"),i=e.n(n),s=e("Dd8w"),o=e.n(s),r=(e("hky6"),e("UVPs")),l=e("Lokx"),d=e.n(l),c=e("38N9"),p=e.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 a=this;this.barcodeValue=t.sku,this.$nextTick(function(){a.codeList.push(t.sku),a.PrintVisible=!0})},rowDrop:function(){var t=document.querySelector(".draggable-table .el-table__body-wrapper tbody"),a=this;d.a.create(t,{animation:300,handle:".drag-handle",onEnd:function(t){var e=t.newIndex,n=(t.oldIndex,a.tableData.data.splice(e,1)[0]);a.tableData.data.splice(e,0,n),a.updateList(n.id,e)}})},updateList:function(t,a){var e=this,n=[{position:"own",product_id:this.tableData.data[a].id,sort:this.tableData.data[a].sort}];a>0&&n.push({position:"before",product_id:this.tableData.data[a-1].id,sort:this.tableData.data[a-1].sort}),a