easypay-admin/crmebadmin/static/js/chunk-b3c0fa40.053356ca.js

1 line
10 KiB
JavaScript
Raw Normal View History

2023-12-20 21:43:49 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b3c0fa40"],{"1ffc":function(e,r,t){"use strict";t("b503")},b503:function(e,r,t){},e750:function(e,r,t){"use strict";t.r(r);var i=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"divBox"},[t("el-card",{staticClass:"box-card"},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"150px"}},[t("el-form-item",{attrs:{label:"优惠劵名称",prop:"name"}},[t("el-input",{staticStyle:{width:"350px"},attrs:{placeholder:"请输入优惠券名称"},model:{value:e.ruleForm.name,callback:function(r){e.$set(e.ruleForm,"name",r)},expression:"ruleForm.name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"优惠劵类型"}},[t("el-radio-group",{model:{value:e.ruleForm.useType,callback:function(r){e.$set(e.ruleForm,"useType",r)},expression:"ruleForm.useType"}},[t("el-radio",{attrs:{label:1}},[e._v("通用券")]),e._v(" "),t("el-radio",{attrs:{label:2}},[e._v("商品券")]),e._v(" "),t("el-radio",{attrs:{label:3}},[e._v("品类券")])],1)],1),e._v(" "),3===e.ruleForm.useType?t("el-form-item",{attrs:{label:"选择品类:",prop:"primaryKey"}},[t("el-cascader",{staticClass:"selWidth",attrs:{options:e.merCateList,props:e.props2,clearable:"","show-all-levels":!1},model:{value:e.ruleForm.primaryKey,callback:function(r){e.$set(e.ruleForm,"primaryKey",r)},expression:"ruleForm.primaryKey"}})],1):e._e(),e._v(" "),2===e.ruleForm.useType?t("el-form-item",{attrs:{label:"商品:",prop:"checked"}},[t("div",{staticClass:"acea-row"},[e.ruleForm.checked.length?e._l(e.ruleForm.checked,(function(r,i){return t("div",{key:i,staticClass:"pictrue"},[t("img",{attrs:{src:r.image}}),e._v(" "),t("i",{staticClass:"el-icon-error btndel",on:{click:function(r){return e.handleRemove(i)}}})])})):e._e(),e._v(" "),t("div",{staticClass:"upLoadPicBox",on:{click:e.changeGood}},[t("div",{staticClass:"upLoad"},[t("i",{staticClass:"el-icon-camera cameraIconfont"})])])],2)]):e._e(),e._v(" "),t("el-form-item",{attrs:{label:"优惠券面值",prop:"money"}},[t("el-input-number",{attrs:{min:1,label:"描述文字"},model:{value:e.ruleForm.money,callback:function(r){e.$set(e.ruleForm,"money",r)},expression:"ruleForm.money"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"使用门槛"}},[t("el-radio-group",{model:{value:e.threshold,callback:function(r){e.threshold=r},expression:"threshold"}},[t("el-radio",{attrs:{label:!1}},[e._v("无门槛")]),e._v(" "),t("el-radio",{attrs:{label:!0}},[e._v("有门槛")])],1)],1),e._v(" "),e.threshold?t("el-form-item",{attrs:{label:"优惠券最低消费",prop:"minPrice"}},[t("el-input-number",{attrs:{min:1,label:"描述文字"},model:{value:e.ruleForm.minPrice,callback:function(r){e.$set(e.ruleForm,"minPrice",r)},expression:"ruleForm.minPrice"}})],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:"使用有效期"}},[t("el-radio-group",{model:{value:e.ruleForm.isFixedTime,callback:function(r){e.$set(e.ruleForm,"isFixedTime",r)},expression:"ruleForm.isFixedTime"}},[t("el-radio",{attrs:{label:!1}},[e._v("天数")]),e._v(" "),t("el-radio",{attrs:{label:!0}},[e._v("时间段")])],1)],1),e._v(" "),e.ruleForm.isFixedTime?e._e():t("el-form-item",{attrs:{label:"使用有效期限(天)",prop:"day"}},[t("el-input-number",{attrs:{min:0,max:999,label:"描述文字"},model:{value:e.ruleForm.day,callback:function(r){e.$set(e.ruleForm,"day",r)},expression:"ruleForm.day"}})],1),e._v(" "),e.ruleForm.isFixedTime?t("el-form-item",{attrs:{label:"使用有效期限",prop:"resource"}},[t("el-date-picker",{staticStyle:{width:"550px"},attrs:{type:"datetimerange","range-separator":"至","value-format":"yyyy-MM-dd HH:mm:ss","start-placeholder":"开始日期","picker-options":e.pickerOptions,"end-placeholder":"结束日期"},model:{value:e.termTime,callback:function(r){e.termTime=r},expression:"termTime"}})],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:"领取是否限时",prop:"isForever"}},[t("el-radio-group",{model:{value:e.ruleForm.isForever,callback:function(r){e.$set(e.ruleForm,"isForever",r)},expres