You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
crmeb_php/public/mer/js/chunk-edb267f4.03225243.js

1 lines
21 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-edb267f4"],{"035d":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"container"},[a("el-form",{attrs:{size:"small","label-width":"120px",inline:""}},[a("el-form-item",{staticStyle:{display:"block"},attrs:{label:"状态:"}},[a("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.product_status,callback:function(e){t.$set(t.tableFrom,"product_status",e)},expression:"tableFrom.product_status"}},t._l(t.fromList.fromTxt,(function(e,s){return a("el-radio-button",{key:s,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"拼团状态:"}},[a("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.active_type,callback:function(e){t.$set(t.tableFrom,"active_type",e)},expression:"tableFrom.active_type"}},t._l(t.activityStatusList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"活动商品状态:"}},[a("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择",clearable:""},on:{change:t.getList},model:{value:t.tableFrom.us_status,callback:function(e){t.$set(t.tableFrom,"us_status",e)},expression:"tableFrom.us_status"}},t._l(t.productStatusList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"标签:"}},[a("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择",clearable:"",filterable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.mer_labels,callback:function(e){t.$set(t.tableFrom,"mer_labels",e)},expression:"tableFrom.mer_labels"}},t._l(t.labelList,(function(t){return a("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"商品搜索:"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}},[a("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1)],1)],1),t._v(" "),a("router-link",{attrs:{to:{path:t.roterPre+"/marketing/combination/create"}}},[a("el-button",{attrs:{size:"small",type:"primary"}},[a("i",{staticClass:"add"},[t._v("+")]),t._v(" 添加拼团商品\n ")])],1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini","row-class-name":t.tableRowClassName},on:{rowclick:function(e){return e.stopPropagation(),t.closeEdit(e)}}},[a("el-table-column",{attrs:{prop:"product_group_id",label:"ID","min-width":"50"}}),t._v(" "),a("el-table-column",{attrs:{label:"拼团商品图片","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",{staticClass:"demo-image__preview"},[a("el-image",{attrs:{src:t.row.product.image,"preview-src-list":[t.row.product.image]}})],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"product.store_name",label:"拼团商品","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"product.price",label:"市场价","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{prop:"price",label:"拼团价","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"buying_count_num",label:"拼团人数","min-width":"80",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"success_num",label:"成团数量","min-width":"90",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"sales",label:"已售商品数","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{label:"拼团活动状态","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(0===e.row.action_status?"未开始":1===e.row.action_status?"正在进行":"已结束"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"活动时间","min-width":"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("开始时间:"+t._s(e.row.start_time&&e.row.start_time?e.row.start_time:""))]),t._v(" "),a("div",[t._v("结束时间:"+t._s(e.row.end_time&&e.row.end_time?e.row.end_time:""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"限量剩余",align:"center","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"product.sort",align:"center",label:"排序","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.index===t.tabClickIndex?a("span",[a("el-input",{attrs:{type:"number",maxlength:"300",size:"mini",autofocus:""},on:{blur:function(a){return t.inputBlur(e)}},model:{value:e.row["product"]["sort"],callback:function(a){t.$set(e.row["product"],"sort",t._n(a))},expression:"scope.row['product']['sort']"}})],1):a("span",{on:{dblclick:function(a){return a.stopPropagation(),t.tabClick(e.row)}}},[t._v(t._s(e.row["product"]["sort"]))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"status",label:"上/下架","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"上架","inactive-text":"下架"},on:{change:function(a){return t.onchangeIsShow(e.row)}},model:{value:e.row.is_show,callback:function(a){t.$set(e.row,"is_show",a)},expression:"scope.row.is_show"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"商品状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("productStatusFilter")(e.row.us_status)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"标签","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.mer_labels,(function(e,s){return a("div",{key:s,staticClass:"label-list"},[t._v(t._s(e.name))])}))}}])}),t._v(" "),a("el-table-column",{attrs:{label:"审核状态","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(0===e.row.product_status?"待审核":1===e.row.product_status?"审核通过":"审核失败"))]),t._v(" "),-1===e.row.product_status||-2===e.row.product_status?a("span",{staticStyle:{"font-size":"12px"}},[a("br"),t._v("\n 原因:"+t._s(e.row.refusal)+"\n ")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{attrs:{to:{path:t.roterPre+"/marketing/combination/create/"+e.row.product_group_id}}},[a("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"}},[t._v("编辑")])],1),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.handlePreview(e.row.product_group_id)}}},[t._v("预览")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.onEditLabel(e.row)}}},[t._v("编辑标签")]),t._v(" "),a("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(a){return t.goDetail(e.row.product_group_id)}}},[t._v("详情")]),t._v(" "),1!==e.row.product.action_status?a("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(a){return t.handleDelete(e.row,e.$index)}}},[t._v("删除")]):t._e()]}}])})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),t.dialogVisible?a("el-dialog",{attrs:{title:"拼团商品详情",center:"",visible:t.dialogVisible,width:"700px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{"margin-top":"5px"}},[a("div",{staticClass:"box-container"},[a("div",{staticClass:"title"},[t._v("基本信息")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商品ID:")]),t._v(t._s(t.formValidate.product_id))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商品名称:")]),a("span",[t._v(t._s(t.formValidate.store_name))])]),t._v(" "),a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("商品图:")]),t._v(" "),a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.formValidate.image}})]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("商品信息")]),t._v(" "),0===t.formValidate.spec_type?a("div",[a("el-table",{staticClass:"tabNumWidth",attrs:{data:t.OneattrValue,border:"",size:"mini"}},[a("el-table-column",{attrs:{align:"center",label:"拼团价格","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row["active_price"]))])]}}],null,!1,279541072)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"已售商品数量","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row["sales"]))])]}}],null,!1,703426790)})],1)],1):t._e(),t._v(" "),1===t.formValidate.spec_type?a("div",{staticClass:"labeltop",attrs:{label:"规格列表:"}},[a("el-table",{attrs:{data:t.ManyAttrValue,height:"260","tooltip-effect":"dark"}},[t.manyTabDate?t._l(t.manyTabDate,(function(e,s){return a("el-table-column",{key:s,attrs:{align:"center",label:t.manyTabTit[s].title,"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row[s])}})]}}],null,!0)})})):t._e(),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"拼团价格","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row["active_price"]))])]}}],null,!1,279541072)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"已售商品数量","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row["sales"]))])]}}],null,!1,703426790)})],2)],1):t._e()])]),t._v(" "),a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("拼团商品活动信息")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("拼团活动简介:")]),t._v(t._s(t.formValidate.store_info))]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("拼团活动日期:")]),t._v(t._s(t.formValidate.start_time+"-"+t.formValidate.end_time))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("拼团人数:")]),t._v(t._s(t.formValidate.buying_count_num)+"人")]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("成团数量:")]),t._v(t._s(t.formValidate.success_num)+"个")]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("活动期间限购件数:")]),t._v(t._s(t.formValidate.pay_count))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("限量:")]),t._v(t._s(t.formValidate.stock_count))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("单次购买限购件数:")]),t._v(t._s(t.formValidate.once_pay_count))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("拼团活动状态:")]),t._v(t._s(0===t.formValidate.action_status?"未开始":1===t.formValidate.action_status?"正在进行":"已结束"))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("拼团成功人次/参与人次:")]),t._v(t._s(t.formValidate.count_user+"/"+t.formValidate.count_take))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("创建时间:")]),t._v(t._s(t.formValidate.create_time))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("审核状态:")]),t._v(t._s(1===t.formValidate.product_status?"审核通过":0===t.formValidate.product_status?"未审核":"审核未通过 原因:"+t.formValidate.refusal))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("显示状态:")]),t._v(t._s(1===t.formValidate.is_show?"显示":"隐藏"))])])])])]):t._e(),t._v(" "),t.previewVisible?a("div",[a("div",{staticClass:"bg",on:{click:function(e){e.stopPropagation(),t.previewVisible=!1}}}),t._v(" "),t.previewVisible?a("preview-box",{ref:"previewBox",attrs:{"goods-id":t.goodsId,"product-type":4,"preview-key":t.previewKey}}):t._e()],1):t._e(),t._v(" "),t.dialogLabel?a("el-dialog",{attrs:{title:"选择标签",visible:t.dialogLabel,width:"800px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogLabel=e}}},[a("el-form",{ref:"labelForm",attrs:{model:t.labelForm},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",multiple:"",placeholder:"请选择"},model:{value:t.labelForm.mer_labels,callback:function(e){t.$set(t.labelForm,"mer_labels",e)},expression:"labelForm.mer_labels"}},t._l(t.labelList,(function(t){return a("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("labelForm")}}},[t._v("提交")])],1)],1):t._e()],1)},l=[],i=a("c80c"),o=(a("96cf"),a("3b8d")),n=(a("8615"),a("ac6a"),a("7f7f"),a("55dd"),a("b7be")),r=a("c4c8"),c=a("8c98"),u=a("83d6"),d={product_id:"",image:"",slider_image:[],store_name:"",store_info:"",time:"",ficti_num:1,buying_count_num:1,start_time:"",end_time:"",action_status:"",is_show:1,keyword:"",brand_id:"",cate_id:"",mer_cate_id:[],unit_name:"",integral:0,once_pay_count:"",pay_count:"",is_good:0,temp_id:"",combination_date:"",create_time:"",attrValue:[{image:"",price:null,active_price:null,cost:null,ot_price:null,old_stock:null,stock:null,bar_code:"",weight:null,volume:null,sales:null}],attr:[],content:"",spec_type:0,is_gift_bag:0,tattend_two:{},tattend_one:{}},_={name:"ProductList",components:{previewBox:c["a"]},data:function(){return{previewVisible:!1,goodsId:"",previewKey:"",props:{emitPath:!1},roterPre:u["roterPre"],listLoading:!0,tableData:{data:[],total:0},activityStatusList:[{label:"未开始",value:0},{label:"正在进行",value:1},{label:"已结束",value:-1}],productStatusList:[{label:"上架显示",value:1},{label:"下架",value:0},{label:"平台关闭",value:-1}],fromList:{custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"已审核",val:"1"},{text:"审核失败",val:"-1"}]},tableFrom:{page:1,limit:20,keyword:"",product_status:this.$route.query.status?this.$route.query.status:"",active_type:"",type:"",us_status:"",mer_labels:"",product_group_id:this.$route.query.id?this.$route.query.id:""},product_group_id:this.$route.query.id?this.$route.query.id:"",product_id:"",modals:!1,dialogVisible:!1,loading:!0,manyTabTit:{},manyTabDate:{},formValidate:Object.assign({},d),OneattrValue:[Object.assign({},d.attrValue[0])],ManyAttrValue:[Object.assign({},d.attrValue[0])],attrInfo:{},tabClickIndex:"",tabClickLabel:"",labelList:[],dialogLabel:!1,labelForm:{}}},watch:{product_group_id:function(t,e){this.getList("")}},mounted:function(){this.getList(""),this.getLabelLst()},methods:{tableRowClassName:function(t){var e=t.row,a=t.rowIndex;e.index=a},tabClick:function(t){this.tabClickIndex=t.index},inputBlur:function(t){var e=this;(!t.row.product.sort||t.row.product.sort<0)&&(t.row.product.sort=0),Object(n["v"])(t.row.product_group_id,{sort:t.row.product.sort}).then((function(t){e.closeEdit()})).catch((function(t){}))},closeEdit:function(){this.tabClickIndex=null},getLabelLst:function(){var t=this;Object(r["v"])().then((function(e){t.labelList=e.data})).catch((function(e){t.$message.error(e.message)}))},handleClose:function(){this.dialogLabel=!1,this.dialogLabel=!1},onEditLabel:function(t){if(this.dialogLabel=!0,this.product_id=t.product_group_id,t.mer_labels&&t.mer_labels.length){var e=t.mer_labels.map((function(t){return t.id}));this.labelForm={mer_labels:e}}else this.labelForm={mer_labels:[]}},submitForm:function(t){var e=this;this.$refs[t].validate((function(t){t&&Object(r["Pb"])(e.product_id,e.labelForm).then((function(t){var a=t.message;e.$message.success(a),e.getList(""),e.dialogLabel=!1}))}))},watCh:function(t){var e=this,a={},s={};this.formValidate.attr.forEach((function(t,e){a["value"+e]={title:t.value},s["value"+e]=""})),this.ManyAttrValue.forEach((function(t,a){var s=Object.values(t.detail).sort().join("/");e.attrInfo[s]&&(e.ManyAttrValue[a]=e.attrInfo[s])})),this.attrInfo={},this.ManyAttrValue.forEach((function(t){e.attrInfo[Object.values(t.detail).sort().join("/")]=t})),this.manyTabTit=a,this.manyTabDate=s,this.formThead=Object.assign({},this.formThead,a)},goDetail:function(t){var e=this;this.dialogVisible=!0,this.loading=!0,this.formValidate={},Object(n["t"])(t).then(function(){var t=Object(o["a"])(Object(i["a"])().mark((function t(a){var s;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.loading=!1,s=a.data,e.formValidate={product_id:s.product.product_id,image:s.product.image,slider_image:s.product.slider_image,store_name:s.product.store_name,store_info:s.product.store_info,start_time:s.start_time?s.start_time:"",end_time:s.end_time?s.end_time:"",price:s.price,success_num:s.success_num,count_take:s.count_take,count_user:s.count_user,sales:s.product.sales,buying_count_num:s.buying_count_num,buying_num:s.buying_num?s.buying_num:"",ficti_num:s.ficti_num,unit_name:s.product.unit_name,ficti_status:s.ficti_status,is_show:s.is_show,attr:s.product.attr,content:s.content,spec_type:s.product.spec_type,create_time:s.create_time,action_status:s.action_status,product_status:s.product_status,pay_count:s.pay_count,once_pay_count:s.once_pay_count,stock:s.stock,stock_count:s.stock_count,refusal:s.refusal},0===e.formValidate.spec_type?(e.OneattrValue=s.product.attrValue,e.OneattrValue[0].active_price=e.OneattrValue[0]._sku?e.OneattrValue[0]._sku.active_price:0,e.OneattrValue[0].sales=e.OneattrValue[0]._sku?e.OneattrValue[0]._sku.sales:0):(e.ManyAttrValue=[],s.product.attrValue.forEach((function(t,a){t._sku&&(e.$set(t,"active_price",t._sku.active_price),e.$set(t,"sales",t._sku.sales?t._sku.sales:0),e.ManyAttrValue.push(t))})),e.watCh(e.formValidate.attr)),console.log(e.ManyAttrValue),e.fullscreenLoading=!1;case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.fullscreenLoading=!1,e.$message.error(t.message)}))},handlePreview:function(t){this.previewVisible=!0,this.goodsId=t,this.previewKey=""},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(n["u"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.listLoading=!1,e.$message.error(t.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList("")},handleDelete:function(t,e){var a=this;2==t.status?this.$confirm("该拼团商品活动正在进行中,删除后不可恢复,您确认删除吗?","提示",{confirmButtonText:"删除",cancelButtonText:"不删除",type:"warning"}).then((function(){Object(n["s"])(t.product_group_id).then((function(t){var s=t.message;a.$message.success(s),a.tableData.data.splice(e,1),a.getList()})).catch((function(t){var e=t.message;a.$message.error(e)}))})).catch((function(t){a.$message({type:"info",message:"已取消"})})):this.$modalSureDelete().then((function(){Object(n["s"])(t.product_group_id).then((function(t){var s=t.message;a.$message.success(s),a.tableData.data.splice(e,1),a.getList()})).catch((function(t){var e=t.message;a.$message.error(e)}))}))},onchangeIsShow:function(t){var e=this;Object(n["x"])(t.product_group_id,t.is_show).then((function(t){var a=t.message;e.$message.success(a),e.getList("")})).catch((function(t){var a=t.message;e.$message.error(a)}))}}},m=_,p=(a("6055"),a("2877")),b=Object(p["a"])(m,s,l,!1,null,"9d310cea",null);e["default"]=b.exports},"504c":function(t,e,a){var s=a("9e1e"),l=a("0d58"),i=a("6821"),o=a("52a7").f;t.exports=function(t){return function(e){var a,n=i(e),r=l(n),c=r.length,u=0,d=[];while(c>u)a=r[u++],s&&!o.call(n,a)||d.push(t?[a,n[a]]:n[a]);return d}}},6055:function(t,e,a){"use strict";a("e30c")},8615:function(t,e,a){var s=a("5ca1"),l=a("504c")(!1);s(s.S,"Object",{values:function(t){return l(t)}})},e30c:function(t,e,a){}}]);