webpackJsonp([41],{"/zLd":function(t,e){},eoyd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=a("woOf"),i=a.n(l),o=a("vLgD");var n=a("UgCr"),s={pageNum:1,pageSize:5,flashPromotionId:null,flashPromotionSessionId:null},r={name:"flashPromotionProductRelationList",data:function(){return{listQuery:i()({},s),list:null,total:null,listLoading:!1,dialogVisible:!1,selectDialogVisible:!1,dialogData:{list:null,total:null,multipleSelection:[],listQuery:{keyword:null,pageNum:1,pageSize:5}},editDialogVisible:!1,flashProductRelation:{product:{}}}},created:function(){this.listQuery.flashPromotionId=this.$route.query.flashPromotionId,this.listQuery.flashPromotionSessionId=this.$route.query.flashPromotionSessionId,this.getList()},methods:{handleSizeChange:function(t){this.listQuery.pageNum=1,this.listQuery.pageSize=t,this.getList()},handleCurrentChange:function(t){this.listQuery.pageNum=t,this.getList()},handleSelectProduct:function(){this.selectDialogVisible=!0,this.getDialogList()},handleUpdate:function(t,e){this.editDialogVisible=!0,this.flashProductRelation=i()({},e)},handleDelete:function(t,e){var a=this;this.$confirm("是否要删除该商品?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var t;(t=e.id,Object(o.a)({url:"/flashProductRelation/delete/"+t,method:"post"})).then(function(t){a.$message({type:"success",message:"删除成功!"}),a.getList()})})},handleSelectSearch:function(){this.getDialogList()},handleDialogSizeChange:function(t){this.dialogData.listQuery.pageNum=1,this.dialogData.listQuery.pageSize=t,this.getDialogList()},handleDialogCurrentChange:function(t){this.dialogData.listQuery.pageNum=t,this.getDialogList()},handleDialogSelectionChange:function(t){this.dialogData.multipleSelection=t},handleSelectDialogConfirm:function(){var t=this;if(this.dialogData.multipleSelection<1)this.$message({message:"请选择一条记录",type:"warning",duration:1e3});else{for(var e=[],a=0;a