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.
1 lines
16 KiB
1 lines
16 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-159adc28"],{3023:function(t,n,e){},"32e9b":function(t,n,e){"use strict";e("3023")},b7be:function(t,n,e){"use strict";e.d(n,"Ob",(function(){return o})),e.d(n,"Nb",(function(){return c})),e.d(n,"Jb",(function(){return a})),e.d(n,"Ib",(function(){return u})),e.d(n,"Hb",(function(){return i})),e.d(n,"Kb",(function(){return s})),e.d(n,"Lb",(function(){return l})),e.d(n,"Mb",(function(){return d})),e.d(n,"W",(function(){return f})),e.d(n,"R",(function(){return p})),e.d(n,"S",(function(){return g})),e.d(n,"U",(function(){return b})),e.d(n,"T",(function(){return m})),e.d(n,"Bb",(function(){return h})),e.d(n,"Q",(function(){return v})),e.d(n,"x",(function(){return y})),e.d(n,"D",(function(){return _})),e.d(n,"v",(function(){return w})),e.d(n,"u",(function(){return L})),e.d(n,"w",(function(){return k})),e.d(n,"Cb",(function(){return S})),e.d(n,"Db",(function(){return x})),e.d(n,"Yb",(function(){return C})),e.d(n,"A",(function(){return F})),e.d(n,"z",(function(){return $})),e.d(n,"E",(function(){return z})),e.d(n,"i",(function(){return P})),e.d(n,"Xb",(function(){return j})),e.d(n,"Ub",(function(){return A})),e.d(n,"Wb",(function(){return D})),e.d(n,"Tb",(function(){return O})),e.d(n,"Vb",(function(){return V})),e.d(n,"Qb",(function(){return T})),e.d(n,"Zb",(function(){return W})),e.d(n,"y",(function(){return B})),e.d(n,"C",(function(){return J})),e.d(n,"B",(function(){return M})),e.d(n,"O",(function(){return R})),e.d(n,"G",(function(){return E})),e.d(n,"J",(function(){return K})),e.d(n,"K",(function(){return N})),e.d(n,"I",(function(){return Q})),e.d(n,"L",(function(){return q})),e.d(n,"P",(function(){return G})),e.d(n,"N",(function(){return H})),e.d(n,"M",(function(){return I})),e.d(n,"F",(function(){return U})),e.d(n,"H",(function(){return X})),e.d(n,"V",(function(){return Y})),e.d(n,"nb",(function(){return Z})),e.d(n,"mb",(function(){return tt})),e.d(n,"Sb",(function(){return nt})),e.d(n,"fb",(function(){return et})),e.d(n,"cc",(function(){return rt})),e.d(n,"cb",(function(){return ot})),e.d(n,"ab",(function(){return ct})),e.d(n,"bb",(function(){return at})),e.d(n,"Rb",(function(){return ut})),e.d(n,"X",(function(){return it})),e.d(n,"o",(function(){return st})),e.d(n,"n",(function(){return lt})),e.d(n,"m",(function(){return dt})),e.d(n,"l",(function(){return ft})),e.d(n,"k",(function(){return pt})),e.d(n,"Y",(function(){return gt})),e.d(n,"t",(function(){return bt})),e.d(n,"r",(function(){return mt})),e.d(n,"q",(function(){return ht})),e.d(n,"s",(function(){return vt})),e.d(n,"p",(function(){return yt})),e.d(n,"ib",(function(){return _t})),e.d(n,"gb",(function(){return wt})),e.d(n,"kb",(function(){return Lt})),e.d(n,"hb",(function(){return kt})),e.d(n,"jb",(function(){return St})),e.d(n,"Z",(function(){return xt})),e.d(n,"zb",(function(){return Ct})),e.d(n,"yb",(function(){return Ft})),e.d(n,"wb",(function(){return $t})),e.d(n,"Ab",(function(){return zt})),e.d(n,"eb",(function(){return Pt})),e.d(n,"vb",(function(){return jt})),e.d(n,"xb",(function(){return At})),e.d(n,"ub",(function(){return Dt})),e.d(n,"qb",(function(){return Ot})),e.d(n,"sb",(function(){return Vt})),e.d(n,"rb",(function(){return Tt})),e.d(n,"lb",(function(){return Wt})),e.d(n,"db",(function(){return Bt})),e.d(n,"ob",(function(){return Jt})),e.d(n,"tb",(function(){return Mt})),e.d(n,"pb",(function(){return Rt})),e.d(n,"a",(function(){return Et})),e.d(n,"ac",(function(){return Kt})),e.d(n,"d",(function(){return Nt})),e.d(n,"f",(function(){return Qt})),e.d(n,"c",(function(){return qt})),e.d(n,"j",(function(){return Gt})),e.d(n,"b",(function(){return Ht})),e.d(n,"h",(function(){return It})),e.d(n,"e",(function(){return Ut})),e.d(n,"g",(function(){return Xt}));var r=e("0c6d");function o(t){return r["a"].get("/store/coupon/platformLst",t)}function c(t){return r["a"].get("/store/coupon/update/".concat(t,"/form"))}function a(t){return r["a"].get("/store/coupon/show/".concat(t))}function u(t){return r["a"].delete("store/coupon/delete/".concat(t))}function i(t){return r["a"].get("/store/coupon/sys/clone/".concat(t,"/form"))}function s(t){return r["a"].get("store/coupon/sys/issue",t)}function l(t,n){return r["a"].get("store/coupon/show_lst/".concat(t),n)}function d(t){return r["a"].get("/store/coupon/send/lst",t)}function f(t){return r["a"].post("store/coupon/send",t)}function p(t){return r["a"].get("store/coupon/detail/".concat(t))}function g(t){return r["a"].get("store/coupon/lst",t)}function b(t,n){return r["a"].post("store/coupon/status/".concat(t),{status:n})}function m(){return r["a"].get("store/coupon/create/form")}function h(t){return r["a"].get("store/coupon/issue",t)}function v(t){return r["a"].delete("store/coupon/delete/".concat(t))}function y(t){return r["a"].get("broadcast/room/lst",t)}function _(t,n){return r["a"].post("broadcast/room/status/".concat(t),n)}function w(t){return r["a"].delete("broadcast/room/delete/".concat(t))}function L(t){return r["a"].get("broadcast/room/apply/form/".concat(t))}function k(t){return r["a"].get("broadcast/room/detail/".concat(t))}function S(t,n){return r["a"].post("broadcast/room/feedsPublic/".concat(t),{status:n})}function x(t,n){return r["a"].post("broadcast/room/comment/".concat(t),{status:n})}function C(t,n){return r["a"].post("broadcast/room/closeKf/".concat(t),{status:n})}function F(t){return r["a"].get("broadcast/goods/lst",t)}function $(t){return r["a"].get("broadcast/goods/detail/".concat(t))}function z(t,n){return r["a"].post("broadcast/goods/status/".concat(t),n)}function P(t){return r["a"].get("broadcast/goods/apply/form/".concat(t))}function j(){return r["a"].get("seckill/config/create/form")}function A(t){return r["a"].get("seckill/config/lst",t)}function D(t){return r["a"].get("seckill/config/update/".concat(t,"/form"))}function O(t){return r["a"].delete("seckill/config/delete/".concat(t))}function V(t,n){return r["a"].post("seckill/config/status/".concat(t),{status:n})}function T(t,n){return r["a"].get("seckill/product/detail/".concat(t),n)}function W(t,n){return r["a"].get("broadcast/room/goods/".concat(t),n)}function B(t){return r["a"].delete("broadcast/goods/delete/".concat(t))}function J(t,n){return r["a"].post("broadcast/room/sort/".concat(t),n)}function M(t,n){return r["a"].post("broadcast/goods/sort/".concat(t),n)}function R(t){return r["a"].post("config/others/group_buying",t)}function E(){return r["a"].get("config/others/group_buying")}function K(t){return r["a"].get("store/product/group/lst",t)}function N(t){return r["a"].get("store/product/group/get/".concat(t))}function Q(t){return r["a"].get("store/product/group/detail/".concat(t))}function q(t){return r["a"].post("store/product/group/status",t)}function G(t,n){return r["a"].post("store/product/group/is_show/".concat(t),{status:n})}function H(t){return r["a"].get("store/product/group/get/".concat(t))}function I(t,n){return r["a"].post("store/product/group/update/".concat(t),n)}function U(t){return r["a"].get("store/product/group/buying/lst",t)}function X(t,n){return r["a"].get("store/product/group/buying/detail/".concat(t),n)}function Y(t,n){return r["a"].get("store/coupon/product/".concat(t),n)}function Z(){return r["a"].get("user/integral/title")}function tt(t){return r["a"].get("user/integral/lst",t)}function nt(t){return r["a"].get("user/integral/excel",t)}function et(){return r["a"].get("user/integral/config")}function rt(t){return r["a"].post("user/integral/config",t)}function ot(t){return r["a"].get("discounts/lst",t)}function ct(t,n){return r["a"].post("discounts/status/".concat(t),{status:n})}function at(t){return r["a"].get("discounts/detail/".concat(t))}function ut(t){return r["a"].get("marketing/spu/lst",t)}function it(t){return r["a"].post("activity/atmosphere/create",t)}function st(t,n){return r["a"].post("activity/atmosphere/update/".concat(t),n)}function lt(t){return r["a"].get("activity/atmosphere/lst",t)}function dt(t){return r["a"].get("activity/atmosphere/detail/".concat(t))}function ft(t,n){return r["a"].post("activity/atmosphere/status/".concat(t),{status:n})}function pt(t){return r["a"].delete("activity/atmosphere/delete/".concat(t))}function gt(t){return r["a"].post("activity/border/create",t)}function bt(t,n){return r["a"].post("activity/border/update/".concat(t),n)}function mt(t){return r["a"].get("activity/border/lst",t)}function ht(t){return r["a"].get("activity/border/detail/".concat(t))}function vt(t,n){return r["a"].post("activity/border/status/".concat(t),{status:n})}function yt(t){return r["a"].delete("activity/border/delete/".concat(t))}function _t(){return r["a"].get("points/cate/lst")}function wt(){return r["a"].get("points/cate/create/form")}function Lt(t){return r["a"].get("points/cate/update/form/".concat(t))}function kt(t){return r["a"].delete("points/cate/delete/".concat(t))}function St(t,n){return r["a"].post("points/cate/status/".concat(t),{status:n})}function xt(t){return r["a"].post("points/product/create",t)}function Ct(t,n){return r["a"].post("points/product/update/".concat(t),n)}function Ft(t){return r["a"].get("points/product/lst",t)}function $t(t){return r["a"].delete("points/product/delete/".concat(t))}function zt(t,n){return r["a"].post("points/product/status/".concat(t),{status:n})}function Pt(t,n){return r["a"].post("points/product/get_attr_value/".concat(t),n)}function jt(){return r["a"].get("points/cate/select")}function At(t){return r["a"].get("points/product/detail/".concat(t))}function Dt(t){return r["a"].get("points/order/lst",t)}function Ot(t){return r["a"].get("points/order/detail/".concat(t))}function Vt(t){return r["a"].get("points/order/express/".concat(t))}function Tt(t){return r["a"].get("points/order/excel",t)}function Wt(t,n){return r["a"].post("points/order/delivery/".concat(t),n)}function Bt(t){return r["a"].get("store/express/options",t)}function Jt(t){return r["a"].get("points/order/mark/".concat(t,"/form"))}function Mt(t,n){return r["a"].get("points/order/status/".concat(t),n)}function Rt(t){return r["a"].delete("points/order/delete/".concat(t))}function Et(t){return r["a"].post("activity/form/create",t)}function Kt(){return r["a"].get("system/form/select")}function Nt(t){return r["a"].get("activity/form/lst",t)}function Qt(t,n){return r["a"].post("activity/form/status/".concat(t),{status:n})}function qt(t){return r["a"].get("activity/form/detail/".concat(t))}function Gt(t,n){return r["a"].get("system/form/info/".concat(t),n)}function Ht(t){return r["a"].delete("activity/form/delete/".concat(t))}function It(t,n){return r["a"].get("activity/form/user/lst/".concat(t),n)}function Ut(t,n){return r["a"].get("activity/form/excel/".concat(t),n)}function Xt(t,n){return r["a"].post("activity/form/update/".concat(t),n)}},ecc0:function(t,n,e){"use strict";var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.dialogVisible?e("el-dialog",{attrs:{title:"商品信息",visible:t.dialogVisible,width:"1000px"},on:{"update:visible":function(n){t.dialogVisible=n}}},[e("div",{staticClass:"divBox"},[e("div",{staticClass:"header clearfix"},[e("div",{staticClass:"container"},[e("el-form",{attrs:{size:"small",inline:"","label-width":"100px"}},[e("el-form-item",{attrs:{label:"商品分类:"}},[e("el-cascader",{staticClass:"selWidth",attrs:{options:t.categoryList,props:t.props,filterable:"",clearable:""},on:{change:function(n){return t.getList()}},model:{value:t.tableFrom.cate_id,callback:function(n){t.$set(t.tableFrom,"cate_id",n)},expression:"tableFrom.cate_id"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"商品标签:"}},[e("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:"",filterable:""},on:{change:function(n){return t.getList(1)}},model:{value:t.tableFrom.sys_labels,callback:function(n){t.$set(t.tableFrom,"sys_labels",n)},expression:"tableFrom.sys_labels"}},t._l(t.labelList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),e("el-form-item",{attrs:{label:"商户选择:"}},[e("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:"",multiple:"",filterable:""},on:{change:function(n){return t.getList(1)}},model:{value:t.tableFrom.mer_ids,callback:function(n){t.$set(t.tableFrom,"mer_ids",n)},expression:"tableFrom.mer_ids"}},t._l(t.merSelect,(function(t){return e("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_name}})})),1)],1),t._v(" "),e("el-form-item",{attrs:{label:"商品搜索:"}},[e("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品关键字",clearable:""},model:{value:t.tableFrom.keyword,callback:function(n){t.$set(t.tableFrom,"keyword",n)},expression:"tableFrom.keyword"}})],1),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(n){return t.getList(1)}}},[t._v("查询")])],1)],1)],1)]),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"mainTable",attrs:{data:t.tableData.data,"row-key":"spu_id",size:"small","max-height":"500"},on:{"selection-change":t.handleSelectionChange}},[e("el-table-column",{attrs:{type:"selection","reserve-selection":!0,width:"55"}}),t._v(" "),e("el-table-column",{attrs:{label:"商品信息","min-width":"250"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("div",{staticClass:"acea-row",staticStyle:{"align-items":"center"}},[e("div",{staticClass:"demo-image__preview"},[e("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:n.row.image,"preview-src-list":[n.row.image]}})],1),t._v(" "),e("div",{staticClass:"row_title line2"},[t._v(t._s(n.row.store_name))])])]}}],null,!1,1964586086)}),t._v(" "),e("el-table-column",{attrs:{prop:"merchant.mer_name",label:"商户名称","min-width":"100"}}),t._v(" "),e("el-table-column",{attrs:{prop:"price",label:"售价","min-width":"100"}})],1),t._v(" "),e("div",{staticClass:"acea-row row-between row-bottom"},[e("el-pagination",{attrs:{"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}}),t._v(" "),e("div",[e("el-button",{attrs:{size:"small"},on:{click:function(n){t.dialogVisible=!1}}},[t._v("取消")]),t._v(" "),e("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.submitProduct}},[t._v("确定")])],1)],1)],1)]):t._e()},o=[],c=(e("ac6a"),e("75fc")),a=e("c4c8"),u=e("b7be"),i=e("83d6"),s={name:"GoodsList",props:{resellShow:{type:Boolean,default:!1}},data:function(){return{dialogVisible:!1,templateRadio:0,categoryList:[],merSelect:[],labelList:[],merList:[],options:[{value:"all",label:"所有页"},{value:"one",label:"当前页"}],roterPre:i["roterPre"],listLoading:!0,tableData:{data:[],total:0},tableFrom:{page:1,limit:10,cate_id:"",keyword:"",mer_ids:"",label_ids:[],type:21},mer_ids:[],props:{emitPath:!1},multipleSelection:[],checked:[],selectAllPage:!1}},mounted:function(){this.multipleSelection=[],this.getLabelLst(),this.getCategoryList(),this.getMerchantList(),this.getList("")},methods:{handleSelectionChange:function(t){this.multipleSelection=t},handleCommand:function(t){var n=this;this.selectAllPage=t,this.$nextTick((function(){n.$refs.mainTable.toggleAllSelection()}))},getCategoryList:function(){var t=this;Object(a["w"])({type:1}).then((function(n){t.categoryList=n.data})).catch((function(n){t.$message.error(n.message)}))},getMerchantList:function(){var t=this;Object(a["Q"])().then((function(n){t.merSelect=n.data})).catch((function(n){t.$message.error(n.message)}))},getLabelLst:function(){var t=this;Object(a["A"])().then((function(n){t.labelList=n.data})).catch((function(n){t.$message.error(n.message)}))},getList:function(t){var n=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(u["Rb"])(this.tableFrom).then((function(t){var e;(n.tableData.data=t.data.list,n.tableData.total=t.data.count,"all"==n.selectAllPage)&&((e=n.multipleSelection).push.apply(e,Object(c["a"])(n.tableData.data)),n.multipleSelection.forEach((function(t){n.$refs.mainTable.toggleAllSelection()})));n.listLoading=!1})).catch((function(t){n.listLoading=!1,n.$message.error(t.message)}))},submitProduct:function(){var t=this.multipleSelection.map((function(t){return t.spu_id}));this.$emit("onSelectList",t),this.$refs.mainTable.clearSelection(),this.dialogVisible=!1},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList("")}}},l=s,d=(e("32e9b"),e("2877")),f=Object(d["a"])(l,r,o,!1,null,"5a44aa42",null);n["a"]=f.exports}}]); |