(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-08eae24b"],{"31d2":function(t,e,r){},4636:function(t,e,r){r("31d2")},c4ad:function(t,e,r){r.r(e),r("99af"),r("14d9"),r("e9f5"),r("7d54"),r("a9e3"),r("d3b7"),r("159b");var a=r("c4c8"),n={name:"index",props:{is_new:{type:String,default:""},type:{type:Number,default:0},diy:{type:Boolean,default:!1},ischeckbox:{type:Boolean,default:!1},liveStatus:{type:Boolean,default:!1},isLive:{type:Boolean,default:!1},isdiy:{type:Boolean,default:!1},selectIds:{type:Array,default:function(){return[]}},datas:{type:Object,default:function(){return{}}}},data:function(){return{templateRadio:0,modal_loading:!1,treeSelect:[],formValidate:{page:1,limit:15,cate_id:"",store_name:"",is_new:this.is_new},total:0,modals:!1,loading:!1,grid:{xl:10,lg:10,md:12,sm:24,xs:24},tableList:[],currentid:0,productRow:{},images:[],many:"",goodType:"",goodList:[{activeValue:0,title:"商品列表"},{activeValue:"4",title:"热门榜单"},{activeValue:"5",title:"首发新品"},{activeValue:"6",title:"促销单品"},{activeValue:"7",title:"精品推荐"}]}},computed:{},watch:{ischeckbox:{handler:function(t,e){t&&(this.many="many")},immediate:!0}},created:function(){var t="";t=this.ischeckbox?"many":this.$route.query.type;this.many=t},mounted:function(){this.goodsCategory()},methods:{productList:function(){this.formValidate.page,this.formValidate.limit,this.formValidate.cate_id,this.formValidate.store_name,this.type||this.goodType,this.loading=!0},getTemplateRow:function(t){var e=[],r={image:t.image,product_id:t.id,store_name:t.store_name,temp_id:t.temp_id};e.push(r),this.images=e,this.diyVal=t,this.$emit("getProductId",t)},changeCheckbox:function(t){var e=[];t.forEach((function(t){t={image:t.image,product_id:t.id,store_name:t.store_name,temp_id:t.temp_id},e.push(t)})),this.images=e,this.diyVal=t},goodsCategory:function(){var t=this;Object(a.d)(1).then((function(e){t.treeSelect=e.data})).catch((function(e){t.$message.error(e.msg)}))},ok:function(){var t;0