shop_mer_admin/mer/js/chunk-04bd7e21.cfea0204.js

1 line
18 KiB
JavaScript
Raw Normal View History

2024-03-16 17:53:53 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04bd7e21"],{"504c":function(t,e,s){var a=s("9e1e"),l=s("0d58"),i=s("6821"),o=s("52a7").f;t.exports=function(t){return function(e){var s,r=i(e),n=l(r),c=n.length,u=0,d=[];while(c>u)s=n[u++],a&&!o.call(r,s)||d.push(t?[s,r[s]]:r[s]);return d}}},8615:function(t,e,s){var a=s("5ca1"),l=s("504c")(!1);a(a.S,"Object",{values:function(t){return l(t)}})},9132:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"divBox"},[s("div",{staticClass:"selCard"},[s("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small","label-width":"85px",inline:""}},[s("el-form-item",{attrs:{label:"商品状态:",prop:"product_status"}},[s("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",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"}},[s("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),s("el-option",{attrs:{label:"待审核",value:"0"}}),t._v(" "),s("el-option",{attrs:{label:"已审核",value:"1"}}),t._v(" "),s("el-option",{attrs:{label:"审核失败",value:"-1"}})],1)],1),t._v(" "),s("el-form-item",{attrs:{label:"商品搜索:",prop:"keyword"}},[s("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(" "),s("el-form-item",{attrs:{label:"活动状态:",prop:"type"}},[s("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.assistStatusList,(function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),s("el-form-item",{attrs:{label:"商品状态:",prop:"us_status"}},[s("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 s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),s("el-form-item",{attrs:{label:"商品标签:",prop:"mer_labels"}},[s("el-select",{staticClass:"selWidth",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 s("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),s("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),s("el-card",{staticClass:"mt14"},[s("div",{staticClass:"mb20"},[s("router-link",{attrs:{to:{path:t.roterPre+"/marketing/assist/create"}}},[s("el-button",{attrs:{size:"small",type:"primary"}},[s("i",{staticClass:"add"},[t._v("+")]),t._v(" 添加助力商品\n ")])],1)],1),t._v(" "),s("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small","row-class-name":t.tableRowClassName},on:{rowclick:function(e){return e.stopPropagation(),t.closeEdit(e)}}},[s("el-table-column",{attrs:{prop:"product_assist_id",label:"ID","min-width":"50"}}),t._v(" "),s("el-table-column",{attrs:{label:"助力商品图","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(t){return[s("div",{staticClass: