1 line
33 KiB
JavaScript
1 line
33 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-24746857"],{"2b21":function(e,t,n){},"3bbe":function(e,t,n){var a=n("861d");e.exports=function(e){if(!a(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3f69":function(e,t,n){e.exports=n.p+"static/img/wincoubg.90c2ce0f.png"},7156:function(e,t,n){var a=n("861d"),r=n("d2bb");e.exports=function(e,t,n){var i,o;return r&&"function"==typeof(i=t.constructor)&&i!==n&&a(o=i.prototype)&&o!==n.prototype&&r(e,o),e}},7894:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"couponsbagadd"},[a("div",{staticClass:"outmain ba_f heighthv pad_20 bor_rad5"},[e._m(0),a("div",{staticClass:"mar_t20 flex-bet flex-y-top"},[a("div",{staticClass:"flex-g-1"},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"180px"}},[a("el-form-item",{attrs:{label:"活动名称",required:!0,prop:"name"}},[a("el-input",{attrs:{placeholder:"请输入活动名称"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"活动时间",required:!0}},[a("el-date-picker",{attrs:{type:"datetimerange",align:"right","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["08:00:00","23:59:59"]},model:{value:e.timeData,callback:function(t){e.timeData=t},expression:"timeData"}})],1),a("el-form-item",{attrs:{label:"发券位置",required:!0}},[a("el-radio-group",{model:{value:e.form.location,callback:function(t){e.$set(e.form,"location",t)},expression:"form.location"}},[a("el-radio",{attrs:{label:"1"}},[e._v("外卖点单页")]),a("el-radio",{attrs:{label:"2"}},[e._v("堂食点单页")]),a("el-radio",{attrs:{label:"3"}},[e._v("快餐点单页")])],1)],1),a("el-form-item",{attrs:{label:"适用门店",required:!0}},[a("el-radio-group",{model:{value:e.form.storeType,callback:function(t){e.$set(e.form,"storeType",t)},expression:"form.storeType"}},[a("el-radio",{attrs:{label:"1"}},[e._v("仅本店可用")]),a("el-radio",{attrs:{label:"2"}},[e._v("全店通用")]),a("el-radio",{attrs:{label:"3"}},[e._v("指定门店可用")])],1),a("div",{directives:[{name:"show",rawName:"v-show",value:"3"==e.form.storeType,expression:"form.storeType=='3'"}]},[a("el-scrollbar",[a("div",{staticClass:"recordBox"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.shopTable,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"name",label:"门店名称"}}),a("el-table-column",{attrs:{prop:"address",label:"门店地址"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"textbutton"},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.open2(t.row,t.$index)}}},[e._v("删除")])],1)]}}])})],1)],1)]),a("div",{staticClass:"addgoods textbutton"},[a("i",{staticClass:"el-icon-plus subjectcolor2"}),a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.addshop(e.shopTable)}}},[e._v("添加门店")])],1)],1),a("div",{staticClass:"yb_margin lh16"},[e._v("全店通用、指定门店可用不适用于门店模式三")])],1),a("el-form-item",{attrs:{label:"选择人群",required:!0}},[a("el-radio-group",{model:{value:e.form.people,callback:function(t){e.$set(e.form,"people",t)},expression:"form.people"}},[a("el-radio",{attrs:{label:"1"}},[e._v("全部人群")]),a("el-radio",{attrs:{label:"2"}},[e._v("新客")]),a("el-radio",{attrs:{label:"3"}},[e._v("老用户")])],1)],1),a("el-form-item",{attrs:{label:"选择券",required:!0,prop:"coupon"}},[a("div",{},[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"请选择优惠券"},model:{value:e.form.coupon,callback:function(t){e.$set(e.form,"coupon",t)},expression:"form.coupon"}},e._l(e.comgrouping,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)]),a("el-form-item",{attrs:{label:"背景图片"}},[e.form.icon?a("div",{staticClass:"uploadSource bor_de rel flex"},[a("label",{staticClass:"statusLabel c
|