zx/public/static/js/pages-columnGoods-goods_cou...

1 line
36 KiB
JavaScript
Raw Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-columnGoods-goods_coupon_list-index"],{"0f66":function(t,e,i){"use strict";i.r(e);var a=i("6a66"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=r.a},"28a2":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("bf0f"),i("2797"),i("8f71"),i("aa9c");var a=i("8f59"),r=i("7e00"),n={props:{brandList:{type:Array},storeTypeArr:{type:Array},parmasList:{type:Array},status:{type:Boolean,default:!1},isCate:{type:Boolean,default:!1},price_on:{type:String,default:""},price_off:{type:String,default:""},activeIndex:{type:Number,default:0}},computed:(0,a.mapGetters)(["viewColor"]),data:function(){return{min:"",max:"",is_trader:"",isShow:!1,isShowBrand:!1,isShowType:!1,isShowParmas:!1,list:[],storeTypeList:[],productParmasList:[],storeCateList:[{name:"全部",value:"",check:!0},{name:"自营",value:"trader",check:!1},{name:"非自营",value:"trader",check:!1}],activeList:[],showBox:!1,index:this.activeIndex}},mounted:function(){this.list=this.brandList,this.storeTypeList=this.storeTypeArr,this.productParmasList=this.parmasList,this.showBox=this.status,this.min=this.price_on,this.max=this.price_off,this.bindChenckType({},this.activeIndex)},methods:{bindChenck:function(t,e){t.check=!t.check},bindChenckType:function(t,e){this.storeCateList=[{name:"全部",value:"",check:!1},{name:"自营",value:"trader",check:!1},{name:"非自营",value:"trader",check:!1}],this.storeCateList[e]["check"]=!0,this.is_trader=this.storeCateList[0]["check"]?"":this.storeCateList[1]["check"]?1:0,this.index=e},getParmasValue:function(t){t.showValue=!t.showValue,(0,r.getParmasValue)(t.parameter_id).then((function(e){e.data.forEach((function(t,e){t.check=!1})),t.parmasValue.length>0||(t.parmasValue=e.data)}))},arrFilter:function(t){var e;return e=t.filter((function(t){return 1==t.check})),e},reset:function(){this.list.forEach((function(t,e){t.check=!1})),this.storeTypeList.forEach((function(t,e){t.check=!1})),this.productParmasList.forEach((function(t,e){t.parmasValue.forEach((function(t,e){t.check=!1}))})),this.storeCateList=[{name:"全部",value:"",check:!0},{name:"自营",value:"trader",check:!1},{name:"非自营",value:"trader",check:!1}],this.min=this.max=""},confirm:function(){var t={};this.productParmasList.forEach((function(e,i){t[e.parameter_id]=[],e.parmasValue.forEach((function(i,a){i.check&&t[e.parameter_id].push(i.value)}))}));var e={brandList:this.arrFilter(this.list),typeList:this.arrFilter(this.storeTypeList),parmasList:t,price_on:this.min,price_off:this.max,status:!1,is_trader:this.is_trader};this.showBox=!1,this.$emit("confirm",e,this.index)},close:function(){this.showBox=!1,this.$emit("close")},moveStop:function(){}}};e.default=n},"41ba":function(t,e,i){"use strict";i.r(e);var a=i("28a2"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=r.a},"67e1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG8AAAATCAMAAACp+6PoAAAAZlBMVEUAAADpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPKqB2aAAAAIXRSTlMA/Onfy7+oG9LPxrOrloaAbWBNRzkjHgTukHJxPzIvCgcVzGbCAAAAnUlEQVRIx73QRxLDIBQDUNzAce9OT/79LxnBTAaXtdBG6M1fof4x9aR8+JyLrKhQPInIAx2KC9gVHYhnsek9UHkZC2fJMCs2v5syEZ84u41UlnNwyePqRCkuiawPdPngksl6T+6QyuXxH9gceTOYbF7E54XN5ufGOmw2dxvT2Gyu7Ijb1FaOzeZEJGpWpfoYD2w2D1lt3OPbZncUk38iPXa8mx9k4gAAAABJRU5ErkJggg=="},"6a66":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("bf0f"),i("2797"),i("aa9c"),i("c223"),i("dc69");var r=a(i("39d8")),n=a(i("2634")),o=a(i("9b1b")),s=a(i("2fdc")),c=i("7e00"),p=a(i("d3e2")),d=a(i("c7e7")),l=a(i("0389")),f=i("d727"),u=i("8f59"),h=i("96e0"),v=i("aa10"),w=i("e44d"),m=i("4a82"),g=(getApp(),(0,r.default)({computed:(0,h.configMap)({hide_mer_status:1,recommend_switch:0},(0,u.mapGetters)(["uid","isLogin