|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-39c0a99c"],{"035d":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("div",{staticClass:"selCard"},[a("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small",inline:"","label-width":"85px"}},[a("el-form-item",{attrs:{label:"审核状态:",prop:"product_status"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},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"}},[a("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),a("el-option",{attrs:{label:"待审核",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"已审核",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"审核失败",value:"-1"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"标签:",prop:"sys_labels"}},[a("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:"",filterable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.sys_labels,callback:function(e){t.$set(t.tableFrom,"sys_labels",e)},expression:"tableFrom.sys_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:"商户名称:",prop:"mer_id"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.mer_id,callback:function(e){t.$set(t.tableFrom,"mer_id",e)},expression:"tableFrom.mer_id"}},t._l(t.merSelect,(function(t){return a("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"商户类别:",prop:"is_trader"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.is_trader,callback:function(e){t.$set(t.tableFrom,"is_trader",e)},expression:"tableFrom.is_trader"}},[a("el-option",{attrs:{label:"自营",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"非自营",value:"0"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"推荐级别:",prop:"star"}},[a("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.star,callback:function(e){t.$set(t.tableFrom,"star",e)},expression:"tableFrom.star"}},t._l(t.recommendedLevelStatus,(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:"活动状态:",prop:"active_type"}},[a("el-select",{staticClass:"selWidth",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:"显示状态:",prop:"us_status"}},[a("el-select",{staticClass:"selWidth",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:"商品搜索:",prop:"keyword"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品名称",clearable:""},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"}})],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),a("el-card",{staticClass:"mt14"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small"}},[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(e){return[a("span",[t._v(t._s(e.row.merchant?e.row.merchant.mer_name:""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"mer_name",label:"商户类别","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.merchant?a("span",{staticClass:"spBlock"},[t._v(t._s(e.row.merchant.is_trader?"自营":"非自营"))]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"拼团商品图片","min-width":"60"},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":"150"}}),t._v(" "),a("el-table-column",{attrs:{prop:"product.price",label:"市场价","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"price",label:"拼团价","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{label:"几人团/成团数量","min-width":"80",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.buying_count_num)+" / "+t._s(e.row.success_num))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"参与人次/成团人次","min-width":"80",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.count_take)+" / "+t._s(e.row.count_user))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"sales",label:"已售商品数","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"拼团活动状态","min-width":"90",align:"center"},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":"160"},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.slice(0,10):""))]),t._v(" "),a("div",[t._v("结束日期:"+t._s(e.row.end_time&&e.row.end_time?e.row.end_time.slice(0,10):""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"限量剩余","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{label:"审核状态","min-width":"90"},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"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-rate",{attrs:{disabled:"",colors:t.colors},model:{value:e.row.star,callback:function(a){t.$set(e.row,"star",a)},expression:"scope.row.star"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"product.rank",label:"排序","min-width":"60"}}),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.status,callback:function(a){t.$set(e.row,"status",a)},expression:"scope.row.status"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"商品状态","min-width":"80"},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":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.sys_labels,(function(e,n){return a("div",{key:n,staticClass:"label-list"},[t._v(t._s(e.name))])}))}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"180",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.onEdit(e.row.product_group_id)}}},[t._v("编辑")]),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(" "),0===e.row.product_status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.toReview(e.row.product_group_id)}}},[t._v("审核")]):t._e(),t._v(" "),a("el-button",{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_status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.toOff(e.row.product_group_id,e.$index)}}},[t._v("强制下架")]):t._e()]}}])})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"商品编辑",visible:t.dialogVisible,width:"900px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.fullscreenLoading,expression:"fullscreenLoading"}],ref:"formValidate",staticClass:"formValidate mt20",attrs:{size:"small",rules:t.ruleValidate,model:t.formValidate,"label-width":"120px"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",{attrs:{label:"商品名称:",prop:"store_name"}},[a("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:t.formValidate.store_name,callback:function(e){t.$set(t.formValidate,"store_name",e)},expression:"formValidate.store_name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"活动列表推荐:"}},[a("el-rate",{staticClass:"rate_star",attrs:{colors:t.colors},model:{value:t.formValidate.star,callback:function(e){t.$set(t.formValidate,"star",e)},expression:"formValidate.star"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"排序:"}},[a("el-input-number",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入排序序号"},model:{value:t.formValidate.rank,callback:function(e){t.$set(t.formValidate,"rank",e)},expression:"formValidate.rank"}})],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"商品详情:"}},[a("ueditor-from",{attrs:{content:t.formValidate.content},model:{value:t.formValidate.content,callback:function(e){t.$set(t.formValidate,"content",e)},expression:"formValidate.content"}})],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-top":"30px"}},[a("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:function(e){return t.handleSubmit("formValidate")}}},[t._v("提交")])],1)],1)],1),t._v(" "),a("info-from",{ref:"infoFrom",attrs:{"is-show":t.isShow},on:{subSuccess:t.subSuccess}}),t._v(" "),a("details-data",{ref:"detailsData",attrs:{"is-show":t.isShowDetail}}),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:"470px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogLabel=e}}},[a("el-form",{ref:"labelForm",attrs:{model:t.labelForm,size:"small"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",[a("el-select",{staticClass:"width100",attrs:{clearable:"",multiple:"",placeholder:"请选择"},model:{value:t.labelForm.sys_labels,callback:function(e){t.$set(t.labelForm,"sys_labels",e)},expression:"labelForm.sys_labels"}},t._l(t.labelList,(function(t){return a("el-option",{key:t.id,attrs:{label:t.name,value:t.id.toString()}})})),1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small"},on:{click:function(e){t.dialogLabel=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.submitForm("labelForm")}}},[t._v("提交")])],1)],1):t._e()],1)},r=[],s=a("c80c"),o=(a("96cf"),a("3b8d")),i=(a("7f7f"),a("6762"),a("2fdb"),a("b7be")),l=a("c4c8"),c=a("83d6"),u=a("ef0d"),d=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.dialogVisible?a("el-dialog",{staticClass:"projectInfo",attrs:{title:"商品审核",visible:t.dialogVisible,width:"900px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[t.projectData&&t.isShow?a("el-tabs",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[a("el-tab-pane",{attrs:{label:"商品信息",name:"first"}},[a("div",{staticClass:"acea-row"},[a("span",{staticClass:"sp100"},[t._v("商品名称:"+t._s(t.projectData.store_name))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("平台分类:"+t._s(t.projectData.storeCategory?t.projectData.storeCategory.cate_name:""))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("品牌:"+t._s(t.projectData.brand?t.projectData.brand.brand_name:""))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("商品关键字:"+t._s(t.projectData.keyword))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("商品单位:"+t._s(t.projectData.unit_name))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("运费模板:"+t._s(t.projectData.temp?t.projectData.temp.name:""))]),t._v(" "),a("span",{staticClass:"sp100"},[t._v("运费说明:"+t._s(t.projectData.temp?t.projectData.temp.info:""))]),t._v(" "),a("span",{staticClass:"sp100"},[t._v("\n 商品分类:\n "),t.projectData.merCateId?t._l(t.projectData.merCateId,(function(e,n){return a("span",{key:n,staticClass:"mr10"},[t._v(t._s(e.category?e.category.cate_name:""))])})):a("span",[t._v("-")])],2),t._v(" "),a("span",{staticClass:"sp100"},[t._v("商品简介:"+t._s(t.projectData.store_info))]),t._v(" "),a("span",{staticClass:"sp100"},[t._v("\n 商品封面图:\n "),a("div",{staticClass:"demo-image__preview"},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t.projectData.image,"preview-src-list":[t.projectData.image]}})],1)]),t._v(" "),a("span",{staticClass:"sp100"},[t._v("商品轮播图:\n "),t._l(t.projectData.slider_image,(function(t,e){return a("div",{key:e,staticClass:"pictrue"},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t,"preview-src-list":[t]}})],1)}))],2)])]),t._v(" "),a("el-tab-pane",{attrs:{label:"商品详情",name:"second"}},[a("span",{staticClass:"sp100"},[t._v("商品详情:")]),t._v(" "),a("div",{staticClass:"contentPic",domProps:{innerHTML:t._s(t.projectData.content)}})]),t._v(" "),a("el-tab-pane",{attrs:{label:"其他设置",name:"third"}},[a("span",{staticClass:"sp100"},[t._v("商品排序:"+t._s(t.projectData.sort))]),t._v(" "),t.projectData.guarantee&&t.projectData.guarantee.templateValue.length?a("span",{staticClass:"third mb20"},[a("span",[t._v("服务保障:")]),t._v(" "),t._l(t.projectData.guarantee.templateValue,(function(e,n){return a("span",{key:n},[e.value?a("span",[t._v(t._s(n+1)+". "+t._s(e.value.guarantee_name)+";")]):t._e()])}))],2):t._e()]),t._v(" "),a("el-tab-pane",{attrs:{label:"商品规格",name:"fourth"}},[a("span",{staticClass:"sp"},[t._v("商品规格:"+t._s(0===t.projectData.spec_type?"单规格":"多规格"))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("佣金设置:"+t._s(0===t.projectData.extension_type?"默认设置":"单独设置"))]),t._v(" "),a("span",{staticClass:"sp100"},[a("span",{staticClass:"mb15",staticStyle:{display:"block"}},[t._v("商品规格:")]),t._v(" "),0===t.projectData.spec_type?[a("el-table",{staticClass:"tabNumWidth",attrs:{data:t.OneattrValue,border:"",size:"small"}},[a("el-table-column",{attrs:{align:"center",label:"图片","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",{staticClass:"demo-image__preview"},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t.row.image}})],1)]}}],null,!1,323865937)}),t._v(" "),t._l(t.attrValue,(function(e,n){return a("el-table-column",{key:n,attrs:{label:t.formThead[n].title,align:"center","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row[n])}})]}}],null,!0)})})),t._v(" "),1===t.projectData.extension_type?[a("el-table-column",{attrs:{align:"center",label:"一级返佣(元)","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row.extension_one)}})]}}],null,!1,102250766)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"二级返佣(元)","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row.extension_two)}})]}}],null,!1,4284057702)})]:t._e()],2)]:t._e(),t._v(" "),1===t.projectData.spec_type?[a("el-table",{staticClass:"tabNumWidth manyAttr",attrs:{data:t.ManyAttrValue,border:"",size:"small"}},[t.manyTabDate?t._l(t.manyTabDate,(function(e,n){return a("el-table-column",{key:n,attrs:{align:"center",label:t.manyTabTit[n].title,"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row[n])}})]}}],null,!0)})})):t._e(),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"图片","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",{staticClass:"upLoadPicBox"},[a("div",{staticClass:"pictrue tabPic"},[a("img",{attrs:{src:t.row.image}})])])]}}],null,!1,651288578)}),t._v(" "),t._l(t.attrValue,(function(e,n){return a("el-table-column",{key:n,attrs:{label:t.formThead[n].title,align:"center","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox"},[t._v(t._s(e.row[n]))])]}}],null,!0)})})),t._v(" "),1===t.projectData.extension_type?[a("el-table-column",{attrs:{align:"center",label:"一级返佣(元)","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox"},[t._v(t._s(e.row.extension_one))])]}}],null,!1,1519547738)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"二级返佣(元)","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox"},[t._v(t._s(e.row.extension_two))])]}}],null,!1,603129202)})]:t._e()],2)]:t._e()],2)])],1):t._e(),t._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"审核状态",prop:"status"}},[a("el-radio-group",{model:{value:t.ruleForm.status,callback:function(e){t.$set(t.ruleForm,"status",e)},expression:"ruleForm.status"}},[a("el-radio",{attrs:{label:1}},[t._v("通过")]),t._v(" "),a("el-radio",{attrs:{label:-1}},[t._v("拒绝")])],1)],1),t._v(" "),-1===t.ruleForm.status?a("el-form-item",{attrs:{label:"原因",prop:"refusal"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入原因"},model:{value:t.ruleForm.refusal,callback:function(e){t.$set(t.ruleForm,"refusal",e)},expression:"ruleForm.refusal"}})],1):t._e(),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.onSubmit}},[t._v("提交")])],1)],1)],1):t._e()},f=[],p=(a("ac6a"),{image:"",slider_image:[],store_name:"",store_info:"",keyword:"",brand_id:"",cate_id:"",mer_cate_id:[],unit_name:"",sort:0,is_show:0,is_benefit:0,is_new:0,is_good:0,temp_id:"",attrValue:[{image:"",price:null,cost:null,ot_price:null,stock:null,bar_code:"",weight:null,volume:null}],attr:[],selectRule:"",extension_type:0,content:"",spec_type:0}),m={price:{title:"拼团价"},cost:{title:"成本价"},ot_price:{title:"市场价"},stock:{title:"限量"},bar_code:{title:"商品编号"},weight:{title:"重量(KG)"},volume:{title:"体积(m³)"}},_={name:"Info",props:{isShow:{type:Boolean,default:!0},ids:{type:Array,default:function(){return[]}}},data:function(){return{rules:{status:[{required:!0,message:"请选择审核状态",trigger:"change"}],refusal:[{required:!0,message:"请填写拒绝原因",trigger:"blur"}]},proId:0,ruleForm:{refusal:"",status:1,id:""},formThead:Object.assign({},m),manyTabDate:{},manyTabTit:{},loading:!1,dialogVisible:!1,activeNames:"first",projectData:{},OneattrValue:[Object.assign({},p.attrValue[0])],ManyAttrValue:[Object.assign({},p.attrValue[0])]}},computed:{attrValue:function(){var t=Object.assign({},p.attrValue[0]);return delete t.image,t},oneFormBatch:function(){var t=[Object.assign({},p.attrValue[0])];return delete t[0].bar_code,t}},methods:{onSubmit:function(){var t=this;this.ruleForm.id=this.projectData.product_group_id,Object(i["L"])(this.ruleForm).then((function(e){t.$message.success(e.message),t.dialogVisible=!1,t.activeNames="first",t.$emit("subSuccess")})).catch((function(e){t.listLoading=!1,t.$message.error(e.message)}))},handleClose:function(){this.dialogVisible=!1,this.activeNames="first"},getInfo:function(t){var e=this;this.proId=t,this.loading=!0,Object(i["N"])(t).then((function(t){e.projectData=t.data,0===e.projectData.spec_type?(e.OneattrValue=t.data.attrValue,e.OneattrValue.length>0&&(e.OneattrValue[0]["price"]=e.OneattrValue[0]["_sku"]["active_price"],e.OneattrValue[0]["stock"]=e.OneattrValue[0]["_sku"]["stock"])):(e.ManyAttrValue=[],t.data.attrValue.forEach((function(t,a){t._sku&&(e.ManyAttrValue.push(t),e.ManyAttrValue[a]["price"]=e.ManyAttrValue[a]["_sku"]["active_price"],e.ManyAttrValue[a]["stock"]=e.ManyAttrValue[a]["_sku"]["stock"])})));var a={},n={};e.projectData.attr.forEach((function(t,e){a["value"+e]={title:t.value},n["value"+e]=""})),e.manyTabDate=n,e.manyTabTit=a,e.formThead=Object.assign({},e.formThead,a),e.loading=!1})).catch((function(t){e.$message.error(t.message),e.loading=!1}))}}},b=_,v=(a("226b"),a("2877")),g=Object(v["a"])(b,d,f,!1,null,"bf4f5024",null),h=g.exports,y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return 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"}]},[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("商户名称:")]),t._v(t._s(t.formValidate.merchant?t.formValidate.merchant.mer_name:""))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商户类别:")]),t._v(t._s(t.formValidate.merchant&&1===t.formValidate.merchant.is_trader?"自营":"非自营"))]),t._v(" "),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 sp100"},[a("label",{staticClass:"name"},[t._v("商品名称:")]),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:"small"}},[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:"250",size:"small","tooltip-effect":"dark","row-key":function(t){return t.id}}},[t.manyTabDate?t._l(t.manyTabDate,(function(e,n){return a("el-table-column",{key:n,attrs:{align:"center",label:t.manyTabTit[n].title,"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row[n])}})]}}],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._s(t.formValidate.unit_name))]),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._s(t.formValidate.unit_name))]),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.status?"审核通过":0===t.formValidate.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()},w=[],k=(a("8615"),a("55dd"),{image:"",slider_image:[],store_name:"",store_info:"",keyword:"",brand_id:"",cate_id:"",mer_cate_id:[],unit_name:"",sort:0,is_show:0,is_benefit:0,is_new:0,is_good:0,temp_id:"",attrValue:[{image:"",price:null,cost:null,ot_price:null,stock:null,bar_code:"",weight:null,volume:null}],attr:[],selectRule:"",extension_type:0,content:"",spec_type:0}),V={price:{title:"售价"},cost:{title:"成本价"},ot_price:{title:"市场价"},stock:{title:"库存"},bar_code:{title:"商品编号"},weight:{title:"重量(KG)"},volume:{title:"体积(m³)"}},C={name:"Info",props:{},data:function(){return{rules:{status:[{required:!0,message:"请选择审核状态",trigger:"change"}],refusal:[{required:!0,message:"请填写拒绝原因",trigger:"blur"}]},proId:0,ruleForm:{refusal:"",status:1,id:""},formThead:Object.assign({},V),manyTabDate:{},manyTabTit:{},loading:!1,dialogVisible:!1,activeNames:"first",formValidate:{},attrInfo:{},OneattrValue:[Object.assign({},k.attrValue[0])],ManyAttrValue:[Object.assign({},k.attrValue[0])]}},computed:{attrValue:function(){var t=Object.assign({},k.attrValue[0]);return delete t.image,t},oneFormBatch:function(){var t=[Object.assign({},k.attrValue[0])];return delete t[0].bar_code,t}},methods:{handleClose:function(){this.dialogVisible=!1,this.activeNames="first"},watCh:function(t){var e=this,a={},n={};this.formValidate.attr.forEach((function(t,e){a["value"+e]={title:t.value},n["value"+e]=""})),this.ManyAttrValue.forEach((function(t,a){var n=Object.values(t.detail).sort().join("/");e.attrInfo[n]&&(e.ManyAttrValue[a]=e.attrInfo[n])})),this.attrInfo={},this.ManyAttrValue.forEach((function(t){e.attrInfo[Object.values(t.detail).sort().join("/")]=t})),this.manyTabTit=a,this.manyTabDate=n,this.formThead=Object.assign({},this.formThead,a)},getInfo:function(t){var e=this;this.proId=t,this.loading=!0,Object(i["I"])(t).then((function(t){var a=t.data;e.formValidate={product_id:a.product_id,image:a.product.image,store_name:a.product.store_name,store_info:a.product.store_info,start_time:a.start_time?a.start_time+":00":"",end_time:a.end_time?a.end_time+":00":"",unit_name:a.product.unit_name,is_show:a.is_show,stock_count:a.stock_count,attr:a.product.attr,spec_type:a.product.spec_type,create_time:a.create_time,product:a.product,merchant:a.merchant,status:a.product_status,action_status:a.action_status,price:a.price,pay_count:a.pay_count,once_pay_count:a.once_pay_count,buying_count_num:a.buying_count_num,success_num:a.success_num,count_take:a.count_take,count_user:a.count_user,refusal:a.refusal},0===e.formValidate.spec_type?(e.OneattrValue=a.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=[],a.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)),e.loading=!1})).catch((function(t){e.$message.error(t.message),e.loading=!1}))}}},x=C,j=(a("e782"),Object(v["a"])(x,y,w,!1,null,"5b5773d3",null)),F=j.exports,S=a("8c98"),L={product_id:"",image:"",slider_image:[],store_name:"",store_info:"",start_day:"",end_day:"",start_time:"",end_time:"",is_open_recommend:1,is_open_state:1,is_show:1,keyword:"",brand_id:"",cate_id:"",mer_cate_id:[],unit_name:"",integral:0,star:1,is_good:0,temp_id:"",preSale_date:"",finalPayment_date:"",delivery_type:1,delivery_day:10,rank:"",attrValue:[{image:"",price:null,active_price:null,cost:null,ot_price:null,old_stock:null,stock:null,bar_code:"",weight:null,volume:null}],attr:[],extension_type:0,content:"",spec_type:0,is_gift_bag:0},D={name:"ProductList",components:{infoFrom:h,ueditorFrom:u["a"],detailsData:F,previewBox:S["a"]},data:function(){return{props:{emitPath:!1},colors:["#99A9BF","#F7BA2A","#FF9900"],roterPre:c["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}],recommendedLevelStatus:[{label:"全部",value:""},{label:"5星",value:5},{label:"4星",value:4},{label:"3星",value:3},{label:"2星",value:2},{label:"1星",value:1}],recommendation:[{name:"1星推荐",value:1},{name:"2星推荐",value:2},{name:"3星推荐",value:3},{name:"4星推荐",value:4},{name:"5星推荐",value:5}],fromList:{custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"已审核",val:"1"},{text:"审核失败",val:"-1"}]},tableFrom:{page:1,limit:20,keyword:"",active_type:"",product_status:this.$route.query.status?this.$route.query.status:"",is_trader:"",mer_id:"",status:"",star:"",us_status:"",sys_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,isShowDetail:!1,isShow:!1,loading:!1,fullscreenLoading:!0,manyTabTit:{},manyTabDate:{},formValidate:Object.assign({},L),OneattrValue:[Object.assign({},L.attrValue[0])],ManyAttrValue:[Object.assign({},L.attrValue[0])],attrInfo:{},merSelect:[],checkboxGroup:[],ruleValidate:{store_name:[{required:!0,message:"请输入商品名称",trigger:"blur"}]},previewVisible:!1,goodsId:"",previewKey:"",labelList:[],dialogLabel:!1,labelForm:{}}},watch:{product_group_id:function(t,e){this.getList("")},$route:function(t,e){this.$route.query.id&&this.getList("")}},mounted:function(){this.getList(""),this.getLabelLst(),this.getMerSelect()},methods:{searchReset:function(){this.$refs.searchForm.resetFields(),this.getList(1)},onChangeGroup:function(){this.checkboxGroup.includes("is_benefit")?this.formValidate.is_benefit=1:this.formValidate.is_benefit=0,this.checkboxGroup.includes("is_best")?this.formValidate.is_best=1:this.formValidate.is_best=0,this.checkboxGroup.includes("is_new")?this.formValidate.is_new=1:this.formValidate.is_new=0,this.checkboxGroup.includes("is_hot")?this.formValidate.is_hot=1:this.formValidate.is_hot=0},handleClose:function(){this.dialogVisible=!1,this.dialogLabel=!1},getMerSelect:function(){var t=this;Object(l["Q"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},subSuccess:function(){this.getList("")},watCh:function(t){},getLabelLst:function(){var t=this;Object(l["A"])().then((function(e){t.labelList=e.data})).catch((function(e){t.$message.error(e.message)}))},onEditLabel:function(t){this.dialogLabel=!0,this.product_id=t.product_group_id,this.labelForm={sys_labels:t.sys_labels}},submitForm:function(t){var e=this;this.$refs[t].validate((function(t){t&&Object(l["Kb"])(e.product_id,e.labelForm).then((function(t){var a=t.message;e.$message.success(a),e.getList(""),e.dialogLabel=!1}))}))},onEdit:function(t){this.productId=t,this.getInfo(t),this.dialogVisible=!0},toReview:function(t){this.$refs.infoFrom.dialogVisible=!0,this.isShow=!0,this.$refs.infoFrom.getInfo(t)},getInfo:function(t){var e=this;this.fullscreenLoading=!0,this.checkboxGroup=[],Object(i["K"])(t).then((function(t){var a=t.data;e.formValidate={is_hot:a.is_hot,is_best:a.is_best,is_new:a.is_new,is_benefit:a.is_benefit,ficti:a.ficti,content:a.content,store_name:a.store_name,rank:a.rank,star:a.star?a.star:1},1===a.is_benefit&&e.checkboxGroup.push("is_benefit"),1===a.is_hot&&e.checkboxGroup.push("is_hot"),1===a.is_best&&e.checkboxGroup.push("is_best"),1===a.is_new&&e.checkboxGroup.push("is_new"),e.fullscreenLoading=!1,console.log(e.formValidate)})).catch((function(t){e.$message.error(t.message),e.fullscreenLoading=!1}))},goDetail:function(t){this.$refs.detailsData.dialogVisible=!0,this.isShowDetail=!0,this.$refs.detailsData.getInfo(t)},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(i["J"])(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("")},handlePreview:function(t){this.previewVisible=!0,this.goodsId=t,this.previewKey=""},toOff:function(t){var e=this;this.$prompt("强制下架",{confirmButtonText:"确定",cancelButtonText:"取消",inputErrorMessage:"请输入强制下架原因",inputType:"textarea",inputPlaceholder:"请输入强制下架原因",inputValidator:function(t){if(!t)return"请输入强制下架原因"}}).then((function(a){var n=a.value;Object(i["L"])({id:t,status:-2,refusal:n}).then((function(t){e.$message({type:"success",message:"提交成功"}),e.getList("")})).catch((function(t){e.$message.error(t.message)}))})).catch((function(){e.$message({type:"info",message:"取消输入"})}))},onchangeIsShow:function(t){var e=this;Object(i["P"])(t.product_group_id,t.status).then((function(t){var a=t.message;e.$message.success(a),e.getList("")})).catch((function(t){var a=t.message;e.$message.error(a)}))},handleSubmit:function(t){var e=this;console.log(this.formValidate),this.$refs[t].validate((function(t){if(!t)return!1;Object(i["M"])(e.productId,e.formValidate).then(function(){var t=Object(o["a"])(Object(s["a"])().mark((function t(a){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.fullscreenLoading=!1,e.$message.success(a.message),e.dialogVisible=!1,e.getList();case 4: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)}))}))}}},O=D,$=(a("777a"),Object(v["a"])(O,n,r,!1,null,"5656612a",null));e["default"]=$.exports},"226b":function(t,e,a){"use strict";a("d554")},5058:function(t,e,a){},"777a":function(t,e,a){"use strict";a("5058")},b7be:function(t,e,a){"use strict";a.d(e,"Ob",(function(){return r})),a.d(e,"Nb",(function(){return s})),a.d(e,"Jb",(function(){return o})),a.d(e,"Ib",(function(){return i})),a.d(e,"Hb",(function(){return l})),a.d(e,"Kb",(function(){return c})),a.d(e,"Lb",(function(){return u})),a.d(e,"Mb",(function(){return d})),a.d(e,"W",(function(){return f})),a.d(e,"R",(function(){return p})),a.d(e,"S",(function(){return m})),a.d(e,"U",(function(){return _})),a.d(e,"T",(function(){return b})),a.d(e,"Bb",(function(){return v})),a.d(e,"Q",(function(){return g})),a.d(e,"x",(function(){return h})),a.d(e,"D",(function(){return y})),a.d(e,"v",(function(){return w})),a.d(e,"u",(function(){return k})),a.d(e,"w",(function(){return V})),a.d(e,"Cb",(function(){return C})),a.d(e,"Db",(function(){return x})),a.d(e,"Yb",(function(){return j})),a.d(e,"A",(function(){return F})),a.d(e,"z",(function(){return S})),a.d(e,"E",(function(){return L})),a.d(e,"i",(function(){return D})),a.d(e,"Xb",(function(){return O})),a.d(e,"Ub",(function(){return $})),a.d(e,"Wb",(function(){return T})),a.d(e,"Tb",(function(){return I})),a.d(e,"Vb",(function(){return z})),a.d(e,"Qb",(function(){return A})),a.d(e,"Zb",(function(){return M})),a.d(e,"y",(function(){return B})),a.d(e,"C",(function(){return P})),a.d(e,"B",(function(){return N})),a.d(e,"O",(function(){return E})),a.d(e,"G",(function(){return q})),a.d(e,"J",(function(){return G})),a.d(e,"K",(function(){return W})),a.d(e,"I",(function(){return K})),a.d(e,"L",(function(){return R})),a.d(e,"P",(function(){return J})),a.d(e,"N",(function(){return H})),a.d(e,"M",(function(){return Q})),a.d(e,"F",(function(){return U})),a.d(e,"H",(function(){return X})),a.d(e,"V",(function(){return Y})),a.d(e,"nb",(function(){return Z})),a.d(e,"mb",(function(){return tt})),a.d(e,"Sb",(function(){return et})),a.d(e,"fb",(function(){return at})),a.d(e,"cc",(function(){return nt})),a.d(e,"cb",(function(){return rt})),a.d(e,"ab",(function(){return st})),a.d(e,"bb",(function(){return ot})),a.d(e,"Rb",(function(){return it})),a.d(e,"X",(function(){return lt})),a.d(e,"o",(function(){return ct})),a.d(e,"n",(function(){return ut})),a.d(e,"m",(function(){return dt})),a.d(e,"l",(function(){return ft})),a.d(e,"k",(function(){return pt})),a.d(e,"Y",(function(){return mt})),a.d(e,"t",(function(){return _t})),a.d(e,"r",(function(){return bt})),a.d(e,"q",(function(){return vt})),a.d(e,"s",(function(){return gt})),a.d(e,"p",(function(){return ht})),a.d(e,"ib",(function(){return yt})),a.d(e,"gb",(function(){return wt})),a.d(e,"kb",(function(){return kt})),a.d(e,"hb",(function(){return Vt})),a.d(e,"jb",(function(){return Ct})),a.d(e,"Z",(function(){return xt})),a.d(e,"zb",(function(){return jt})),a.d(e,"yb",(function(){return Ft})),a.d(e,"wb",(function(){return St})),a.d(e,"Ab",(function(){return Lt})),a.d(e,"eb",(function(){return Dt})),a.d(e,"vb",(function(){return Ot})),a.d(e,"xb",(function(){return $t})),a.d(e,"ub",(function(){return Tt})),a.d(e,"qb",(function(){return It})),a.d(e,"sb",(function(){return zt})),a.d(e,"rb",(function(){return At})),a.d(e,"lb",(function(){return Mt})),a.d(e,"db",(function(){return Bt})),a.d(e,"ob",(function(){return Pt})),a.d(e,"tb",(function(){return Nt})),a.d(e,"pb",(function(){return Et})),a.d(e,"a",(function(){return qt})),a.d(e,"ac",(function(){return Gt})),a.d(e,"d",(function(){return Wt})),a.d(e,"f",(function(){return Kt})),a.d(e,"c",(function(){return Rt})),a.d(e,"j",(function(){return Jt})),a.d(e,"b",(function(){return Ht})),a.d(e,"h",(function(){return Qt})),a.d(e,"e",(function(){return Ut})),a.d(e,"g",(function(){return Xt}));var n=a("0c6d");function r(t){return n["a"].get("/store/coupon/platformLst",t)}function s(t){return n["a"].get("/store/coupon/update/".concat(t,"/form"))}function o(t){return n["a"].get("/store/coupon/show/".concat(t))}function i(t){return n["a"].delete("store/coupon/delete/".concat(t))}function l(t){return n["a"].get("/store/coupon/sys/clone/".concat(t,"/form"))}function c(t){return n["a"].get("store/coupon/sys/issue",t)}function u(t,e){return n["a"].get("store/coupon/show_lst/".concat(t),e)}function d(t){return n["a"].get("/store/coupon/send/lst",t)}function f(t){return n["a"].post("store/coupon/send",t)}function p(t){return n["a"].get("store/coupon/detail/".concat(t))}function m(t){return n["a"].get("store/coupon/lst",t)}function _(t,e){return n["a"].post("store/coupon/status/".concat(t),{status:e})}function b(){return n["a"].get("store/coupon/create/form")}function v(t){return n["a"].get("store/coupon/issue",t)}function g(t){return n["a"].delete("store/coupon/delete/".concat(t))}function h(t){return n["a"].get("broadcast/room/lst",t)}function y(t,e){return n["a"].post("broadcast/room/status/".concat(t),e)}function w(t){return n["a"].delete("broadcast/room/delete/".concat(t))}function k(t){return n["a"].get("broadcast/room/apply/form/".concat(t))}function V(t){return n["a"].get("broadcast/room/detail/".concat(t))}function C(t,e){return n["a"].post("broadcast/room/feedsPublic/".concat(t),{status:e})}function x(t,e){return n["a"].post("broadcast/room/comment/".concat(t),{status:e})}function j(t,e){return n["a"].post("broadcast/room/closeKf/".concat(t),{status:e})}function F(t){return n["a"].get("broadcast/goods/lst",t)}function S(t){return n["a"].get("broadcast/goods/detail/".concat(t))}function L(t,e){return n["a"].post("broadcast/goods/status/".concat(t),e)}function D(t){return n["a"].get("broadcast/goods/apply/form/".concat(t))}function O(){return n["a"].get("seckill/config/create/form")}function $(t){return n["a"].get("seckill/config/lst",t)}function T(t){return n["a"].get("seckill/config/update/".concat(t,"/form"))}function I(t){return n["a"].delete("seckill/config/delete/".concat(t))}function z(t,e){return n["a"].post("seckill/config/status/".concat(t),{status:e})}function A(t,e){return n["a"].get("seckill/product/detail/".concat(t),e)}function M(t,e){return n["a"].get("broadcast/room/goods/".concat(t),e)}function B(t){return n["a"].delete("broadcast/goods/delete/".concat(t))}function P(t,e){return n["a"].post("broadcast/room/sort/".concat(t),e)}function N(t,e){return n["a"].post("broadcast/goods/sort/".concat(t),e)}function E(t){return n["a"].post("config/others/group_buying",t)}function q(){return n["a"].get("config/others/group_buying")}function G(t){return n["a"].get("store/product/group/lst",t)}function W(t){return n["a"].get("store/product/group/get/".concat(t))}function K(t){return n["a"].get("store/product/group/detail/".concat(t))}function R(t){return n["a"].post("store/product/group/status",t)}function J(t,e){return n["a"].post("store/product/group/is_show/".concat(t),{status:e})}function H(t){return n["a"].get("store/product/group/get/".concat(t))}function Q(t,e){return n["a"].post("store/product/group/update/".concat(t),e)}function U(t){return n["a"].get("store/product/group/buying/lst",t)}function X(t,e){return n["a"].get("store/product/group/buying/detail/".concat(t),e)}function Y(t,e){return n["a"].get("store/coupon/product/".concat(t),e)}function Z(){return n["a"].get("user/integral/title")}function tt(t){return n["a"].get("user/integral/lst",t)}function et(t){return n["a"].get("user/integral/excel",t)}function at(){return n["a"].get("user/integral/config")}function nt(t){return n["a"].post("user/integral/config",t)}function rt(t){return n["a"].get("discounts/lst",t)}function st(t,e){return n["a"].post("discounts/status/".concat(t),{status:e})}function ot(t){return n["a"].get("discounts/detail/".concat(t))}function it(t){return n["a"].get("marketing/spu/lst",t)}function lt(t){return n["a"].post("activity/atmosphere/create",t)}function ct(t,e){return n["a"].post("activity/atmosphere/update/".concat(t),e)}function ut(t){return n["a"].get("activity/atmosphere/lst",t)}function dt(t){return n["a"].get("activity/atmosphere/detail/".concat(t))}function ft(t,e){return n["a"].post("activity/atmosphere/status/".concat(t),{status:e})}function pt(t){return n["a"].delete("activity/atmosphere/delete/".concat(t))}function mt(t){return n["a"].post("activity/border/create",t)}function _t(t,e){return n["a"].post("activity/border/update/".concat(t),e)}function bt(t){return n["a"].get("activity/border/lst",t)}function vt(t){return n["a"].get("activity/border/detail/".concat(t))}function gt(t,e){return n["a"].post("activity/border/status/".concat(t),{status:e})}function ht(t){return n["a"].delete("activity/border/delete/".concat(t))}function yt(){return n["a"].get("points/cate/lst")}function wt(){return n["a"].get("points/cate/create/form")}function kt(t){return n["a"].get("points/cate/update/form/".concat(t))}function Vt(t){return n["a"].delete("points/cate/delete/".concat(t))}function Ct(t,e){return n["a"].post("points/cate/status/".concat(t),{status:e})}function xt(t){return n["a"].post("points/product/create",t)}function jt(t,e){return n["a"].post("points/product/update/".concat(t),e)}function Ft(t){return n["a"].get("points/product/lst",t)}function St(t){return n["a"].delete("points/product/delete/".concat(t))}function Lt(t,e){return n["a"].post("points/product/status/".concat(t),{status:e})}function Dt(t,e){return n["a"].post("points/product/get_attr_value/".concat(t),e)}function Ot(){return n["a"].get("points/cate/select")}function $t(t){return n["a"].get("points/product/detail/".concat(t))}function Tt(t){return n["a"].get("points/order/lst",t)}function It(t){return n["a"].get("points/order/detail/".concat(t))}function zt(t){return n["a"].get("points/order/express/".concat(t))}function At(t){return n["a"].get("points/order/excel",t)}function Mt(t,e){return n["a"].post("points/order/delivery/".concat(t),e)}function Bt(t){return n["a"].get("store/express/options",t)}function Pt(t){return n["a"].get("points/order/mark/".concat(t,"/form"))}function Nt(t,e){return n["a"].get("points/order/status/".concat(t),e)}function Et(t){return n["a"].delete("points/order/delete/".concat(t))}function qt(t){return n["a"].post("activity/form/create",t)}function Gt(){return n["a"].get("system/form/select")}function Wt(t){return n["a"].get("activity/form/lst",t)}function Kt(t,e){return n["a"].post("activity/form/status/".concat(t),{status:e})}function Rt(t){return n["a"].get("activity/form/detail/".concat(t))}function Jt(t,e){return n["a"].get("system/form/info/".concat(t),e)}function Ht(t){return n["a"].delete("activity/form/delete/".concat(t))}function Qt(t,e){return n["a"].get("activity/form/user/lst/".concat(t),e)}function Ut(t,e){return n["a"].get("activity/form/excel/".concat(t),e)}function Xt(t,e){return n["a"].post("activity/form/update/".concat(t),e)}},d554:function(t,e,a){},e782:function(t,e,a){"use strict";a("ebbc")},ebbc:function(t,e,a){}}]); |