1 line
46 KiB
JavaScript
1 line
46 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3aab591d"],{"504c":function(t,a,e){var s=e("9e1e"),i=e("0d58"),l=e("6821"),r=e("52a7").f;t.exports=function(t){return function(a){var e,o=l(a),c=i(o),n=c.length,u=0,d=[];while(n>u)e=c[u++],s&&!r.call(o,e)||d.push(t?[e,o[e]]:o[e]);return d}}},"5cda":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"divBox"},[e("div",{staticClass:"selCard"},[e("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small","label-width":"85px",inline:!0}},[e("el-form-item",{attrs:{label:"商品名称:",prop:"keyword"}},[e("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品名称,关键字,产品编号",clearable:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(a){t.$set(t.tableFrom,"keyword",a)},expression:"tableFrom.keyword"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"活动名称:",prop:"active_name"}},[e("el-input",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请输入活动名称"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.active_name,callback:function(a){t.$set(t.tableFrom,"active_name",a)},expression:"tableFrom.active_name"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"商品状态:",prop:"us_status"}},[e("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(a){return t.getList(1)}},model:{value:t.tableFrom.us_status,callback:function(a){t.$set(t.tableFrom,"us_status",a)},expression:"tableFrom.us_status"}},t._l(t.productStatusList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),e("el-form-item",{attrs:{label:"活动状态:",prop:"active_status"}},[e("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(a){return t.getList(1)}},model:{value:t.tableFrom.active_status,callback:function(a){t.$set(t.tableFrom,"active_status",a)},expression:"tableFrom.active_status"}},t._l(t.seckillStatusList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(a){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),e("el-button",{attrs:{size:"small"},on:{click:function(a){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),e("el-card",{staticClass:"mt14"},[e("el-tabs",{on:{"tab-click":function(a){t.getList(1),t.getLstFilterApi()}},model:{value:t.tableFrom.type,callback:function(a){t.$set(t.tableFrom,"type",a)},expression:"tableFrom.type"}},t._l(t.headeNum,(function(t,a){return e("el-tab-pane",{key:a,attrs:{name:t.type.toString(),label:t.name+"("+t.count+")"}})})),1),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"mt14",attrs:{data:t.tableData.data,size:"small","row-class-name":t.tableRowClassName},on:{rowclick:function(a){return a.stopPropagation(),t.closeEdit(a)}}},[e("el-table-column",{attrs:{type:"expand"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-form",{staticClass:"demo-table-expand demo-table-expand1",attrs:{"label-position":"left",inline:""}},[e("el-form-item",{attrs:{label:"品牌:"}},[e("span",{staticClass:"mr10"},[t._v(t._s(a.row.brand?a.row.brand.brand_name:"其他"))])]),t._v(" "),e("el-form-item",{attrs:{label:"市场价格:"}},[e("span",[t._v(t._s(t._f("filterEmpty")(a.row.ot_price)))])]),t._v(" "),e("el-form-item",{attrs:{label:"成本价:"}},[e("span",[t._v(t._s(t._f("filterEmpty")(a.row.cost)))])]),t._v(" "),e("el-form-item",{attrs:{label:"收藏:"}},[e("span",[t._v(t._s(t._f("filterEmpty")(a.row.care_count)))])])],1)]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"product_id",label:"ID","
|