mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-14 12:32:50 +00:00
1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-b100a23e"],{"3bfa":function(t,e,r){},"4e82":function(t,e,r){"use strict";var a=r("23e7"),o=r("e330"),i=r("59ed"),n=r("7b0b"),s=r("07fa"),c=r("577e"),l=r("d039"),u=r("addb"),m=r("a640"),f=r("04d1"),d=r("d998"),p=r("2d00"),h=r("512ce"),_=[],v=o(_.sort),g=o(_.push),y=(r=l((function(){_.sort(void 0)})),o=l((function(){_.sort(null)})),m=m("sort"),!l((function(){if(p)return p<70;if(!(f&&3<f)){if(d)return!0;if(h)return h<603;for(var t,e,r,a="",o=65;o<76;o++){switch(t=String.fromCharCode(o),o){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(r=0;r<47;r++)_.push({k:t+r,v:e})}for(_.sort((function(t,e){return e.v-t.v})),r=0;r<_.length;r++)t=_[r].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}})));a({target:"Array",proto:!0,forced:r||!o||!m||!y},{sort:function(t){void 0!==t&&i(t);var e=n(this);if(y)return void 0===t?v(e):v(e,t);for(var r,a,o=[],l=s(e),m=0;m<l;m++)m in e&&g(o,e[m]);for(u(o,(a=t,function(t,e){return void 0===e?-1:void 0===t?1:void 0!==a?+a(t,e)||0:c(t)>c(e)?1:-1})),r=o.length,m=0;m<r;)e[m]=o[m++];for(;m<l;)delete e[m++];return e}})},"6da28":function(t,e,r){"use strict";r.r(e),r("a4d3"),r("e01a"),r("d28b"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("d9e2"),r("b0c0"),r("131a"),r("fb6a");var a=r("0122"),o=r("c964"),i=r("f3f3"),n=(r("4e82"),r("4ec9"),r("d3b7"),r("3ca3"),r("ddb0"),r("4de4"),r("99af"),r("159b"),r("a434"),r("2f62")),s=r("c4ad"),c=r("b7be"),l=r("c4c8");function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function m(t,e,r,a){var i,n,s,c;e=e&&e.prototype instanceof p?e:p,e=Object.create(e.prototype),a=new x(a||[]);return o(e,"_invoke",{value:(i=t,n=r,s=a,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return L()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r&&(r=function t(e,r){var a=r.method,o=e.iterator[a];return void 0===o?(r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),d):(a=f(o,e.iterator,r.arg),"throw"===a.type?(r.method="throw",r.arg=a.arg,r.delegate=null,d):(o=a.arg,o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)))}(r,s),r)){if(r===d)continue;return r}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===c)throw c="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(c="executing",r=f(i,n,s),"normal"===r.type){if(c=s.done?"completed":"suspendedYield",r.arg===d)continue;return{value:r.arg,done:s.done}}"throw"===r.type&&(c="completed",s.method="throw",s.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=m;var d={};function p(){}function h(){}function _(){}i={};var v=(l(i,n,(function(){return this})),Object.getPrototypeOf),g=(v=v&&v(v(k([]))),v&&v!==e&&r.call(v,n)&&(i=v),_.prototype=p.prototype=Object.create(i));function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var i;o(this,"_invoke",{value:function(o,n){function s(){return new e((function(i,s){!function o(i,n,s,c){var l;i=f(t[i],t,n);if("throw"!==i.type)return(n=(l=i.arg).value)&&"object"==Object(a.a)(n)&&r.call(n,"__await")?e.resolve(n.__await).then((function(t){o("next",t,s,c)}),(function(t){o("throw",t,s,c)})):e.resolve(n).then((function(t){l.value=t,s(l)}),(function(t){return o("throw",t,s,c)}));c(i.arg)}(o,n,i,s)}))}return i=i?i.then(s,s):s()}})}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function k(t){if(t){var e,a=t[n];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(a=function a(){for(;++e<t.length;)if(r.call(t,e))return a.value=t[e],a.done=!1,a;return a.value=void 0,a.done=!0,a}).next=a}return{next:L}}function L(){return{value:void 0,done:!0}}return o(g,"constructor",{value:h.prototype=_,configurable:!0}),o(_,"constructor",{value:h,configurable:!0}),h.displayName=l(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),l(b.prototype,s,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,a,o,i){void 0===i&&(i=Promise);var n=new b(m(e,r,a,o),i);return t.isGeneratorFunction(r)?n:n.next().then((function(t){return t.done?t.value:n.next()}))},y(g),l(g,c,"Generator"),l(g,n,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,r=Object(t),a=[];for(e in r)a.push(e);return a.reverse(),function t(){for(;a.length;){var e=a.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=k,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function a(r,a){return n.type="throw",n.arg=t,e.next=r,a&&(e.method="next",e.arg=void 0),!!a}for(var o=this.tryEntries.length-1;0<=o;--o){var i=this.tryEntries[o],n=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){for(var a=this.tryEntries.length-1;0<=a;--a){var o=this.tryEntries[a];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}var n=(i=i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc?null:i)?i.completion:{};return n.type=t,n.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(n)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,a,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(a=r.arg,w(o)),a}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}s={name:"storeCouponCreate",components:{goodsList:s.default},data:function(){return{disabled:!1,formData:{coupon_title:"",coupon_price:0,type:0,use_min_price:0,coupon_time:1,start_use_time:0,end_use_time:0,start_time:0,end_time:0,receive_type:1,is_permanent:1,total_count:1,sort:0,status:1,product_id:"",category_id:0,receive_limit:1},categoryList:[],productList:[],isMinPrice:0,isCouponTime:1,isReceiveTime:0,modals:!1,datetime1:[],datetime2:[]}},computed:Object(i.a)({},Object(n.d)("media",["isMobile"])),created:function(){this.getCategoryList(),this.$route.params.id&&this.getCouponDetail()},methods:{getCategoryList:function(){var t=this;Object(l.d)(1).then(function(){var e=Object(o.a)(u().mark((function e(r){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.categoryList=r.data;case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},getCouponDetail:function(){var t=this;Object(c.o)(this.$route.params.id).then((function(e){e=e.data,t.formData.coupon_title=e.coupon_title,t.formData.type=e.type,t.formData.category_id=e.category_id,t.formData.coupon_price=parseFloat(e.coupon_price),t.formData.use_min_price=parseFloat(e.use_min_price),t.formData.use_min_price&&(t.isMinPrice=1),t.formData.coupon_time=e.coupon_time,t.formData.receive_type=e.receive_type,t.formData.is_permanent=e.is_permanent,t.formData.status=e.status,t.formData.product_id=e.product_id,t.formData.start_time=e.start_time,t.formData.end_time=e.end_time,t.formData.total_count=e.total_count,t.formData.sort=e.sort,t.formData.receive_limit=e.receive_limit,"productInfo"in e&&(t.productList=e.productInfo),e.coupon_time||(t.isCouponTime=0,t.datetime1=[1e3*e.start_use_time,1e3*e.end_use_time],t.formData.start_use_time=t.makeDate(1e3*e.start_use_time),t.formData.end_use_time=t.makeDate(1e3*e.end_use_time)),e.start_time&&(t.isReceiveTime=1,t.datetime2=[1e3*e.start_time,1e3*e.end_time],t.formData.start_time=t.makeDate(1e3*e.start_time),t.formData.end_time=t.makeDate(1e3*e.end_time))})).catch((function(e){t.$message.error(e.msg)}))},makeDate:function(t){return t=new Date(t),t.getFullYear()+"-"+(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-"+(t.getDate()<10?"0"+t.getDate():t.getDate())+" "+(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())},save:function(){var t=this;if(!this.formData.coupon_title)return this.$message.error("请输入优惠券名称");if(2===this.formData.type&&!this.formData.product_id)return this.$message.error("请选择商品");if(1===this.formData.type&&!this.formData.category_id)return this.$message.error("请选择品类");if(this.formData.coupon_price<=0)return this.$message.error("优惠券面值不能小于0");if(this.isMinPrice){if(this.formData.use_min_price<1)return this.$message.error("优惠券最低消费不能小于0")}else this.formData.use_min_price=0;if(this.isCouponTime){if(this.formData.start_use_time=0,this.formData.end_use_time=0,this.formData.coupon_time<1)return this.$message.error("使用有效期限不能小于1天")}else if(this.formData.coupon_time=0,!this.formData.start_use_time)return this.$message.error("请选择使用有效期限");if(this.isReceiveTime){if(!this.formData.start_time)return this.$message.error("请选择领取时间")}else this.formData.start_time=0,this.formData.end_time=0;if(2!=this.formData.receive_type&&3!=this.formData.receive_type||(this.formData.is_permanent=1),this.formData.is_permanent)this.formData.total_count=0;else if(this.formData.total_count<1)return this.$message.error("发布数量不能小于1");if(this.formData.receive_limit<1)return this.$message.error("每个用户可以领取数量不能小于1");0==this.formData.type?(this.formData.product_id="",this.formData.category_id="",this.productList=[]):1==this.formData.type?(this.formData.product_id="",this.productList=[]):2==this.formData.type&&(this.formData.category_id=""),this.disabled||(this.disabled=!0,Object(c.r)(this.formData).then((function(e){t.$message.success(e.msg),setTimeout((function(){t.disabled=!1,t.$router.push({path:t.$routeProStr+"/marketing/store_coupon_issue/index"})}),1e3)})).catch((function(e){t.disabled=!1,t.$message.error(e.msg)})))},dateChange:function(t){this.formData.start_use_time=t[0],this.formData.end_use_time=t[1]},timeChange:function(t){this.formData.start_time=t[0],this.formData.end_time=t[1]},unique:function(t){var e=new Map;return t.filter((function(t){return!e.has(t.product_id)&&e.set(t.product_id,1)}))},getProductId:function(t){var e=this;this.modals=!1,this.productList=this.unique(this.productList.concat(t)),this.formData.product_id="",this.productList.forEach((function(t){e.formData.product_id?e.formData.product_id+=",".concat(t.product_id):e.formData.product_id+="".concat(t.product_id)}))},cancel:function(){this.modals=!1},remove:function(t){for(var e=this,r=0;r<this.productList.length;r++)this.productList[r].product_id==t&&this.productList.splice(r,1);this.formData.product_id="",this.productList.forEach((function(t){e.formData.product_id?e.formData.product_id+=",".concat(t.product_id):e.formData.product_id+="".concat(t.product_id)}))}}},r("c65c"),i=r("2877"),n=Object(i.a)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("pages-header",{ref:"pageHeader",attrs:{title:t.$route.params.id?"编辑优惠券":"添加优惠券",backUrl:t.$routeProStr+"/marketing/store_coupon_issue/index"}}),r("el-card",{staticClass:"mt16",attrs:{bordered:!1,shadow:"never"}},[r("el-form",{attrs:{model:t.formData,"label-width":"160px"}},[r("el-form-item",{attrs:{label:"优惠券名称:"}},[r("el-input",{staticClass:"content_width",attrs:{maxlength:18,placeholder:"请输入优惠券名称"},model:{value:t.formData.coupon_title,callback:function(e){t.$set(t.formData,"coupon_title",e)},expression:"formData.coupon_title"}})],1),r("el-form-item",{attrs:{label:"优惠券面值:"}},[r("el-input-number",{staticClass:"content_width",attrs:{controls:!1,min:1,max:9999999999},model:{value:t.formData.coupon_price,callback:function(e){t.$set(t.formData,"coupon_price",e)},expression:"formData.coupon_price"}})],1),r("el-form-item",{attrs:{label:"发送方式:"}},[r("el-radio-group",{model:{value:t.formData.receive_type,callback:function(e){t.$set(t.formData,"receive_type",e)},expression:"formData.receive_type"}},[r("el-radio",{attrs:{label:1}},[t._v("用户领取")]),r("el-radio",{attrs:{label:2}},[t._v("新用户自动发放")]),r("el-radio",{attrs:{label:3}},[t._v("系统赠送")]),r("el-radio",{attrs:{label:4}},[t._v("付费会员专享")])],1),r("div",{staticClass:"tip"},[t._v("\n 用户领取:用户需要手动领取优惠券;"),r("br"),t._v("\n 新用户自动发放:新注册的用户自动发放;"),r("br"),t._v("\n 系统赠送:后台发放指定用户或者添加到商品里面用户购买该商品获得;"),r("br"),t._v("\n 付费会员专享:仅付费会员可以领取和使用\n ")])],1),r("el-form-item",{attrs:{label:"优惠劵类型:"}},[r("el-radio-group",{model:{value:t.formData.type,callback:function(e){t.$set(t.formData,"type",e)},expression:"formData.type"}},[r("el-radio",{attrs:{label:0}},[t._v("通用券")]),r("el-radio",{attrs:{label:1}},[t._v("品类券")]),r("el-radio",{attrs:{label:2}},[t._v("商品券")])],1)],1),r("el-form-item",{directives:[{name:"show",rawName:"v-show",value:2===t.formData.type,expression:"formData.type === 2"}]},[[r("div",{staticClass:"acea-row"},[t._l(t.productList,(function(e,a){return r("div",{key:a,staticClass:"pictrue"},[r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.image,expression:"item.image"}]}),r("i",{staticClass:"el-icon-error btndel",on:{click:function(r){return t.remove(e.product_id)}}})])})),r("div",{staticClass:"upLoad acea-row row-center-wrapper",on:{click:function(e){t.modals=!0}}},[r("i",{staticClass:"el-icon-goods",staticStyle:{"font-size":"24px"}})])],2)]],2),r("el-form-item",{directives:[{name:"show",rawName:"v-show",value:1===t.formData.type,expression:"formData.type === 1"}]},[r("el-cascader",{staticStyle:{width:"320px"},attrs:{size:"small",options:t.categoryList,props:{multiple:!0,emitPath:!1,checkStrictly:!0},clearable:""},model:{value:t.formData.category_id,callback:function(e){t.$set(t.formData,"category_id",e)},expression:"formData.category_id"}}),r("div",{staticClass:"info"},[t._v("选择商品的品类")])],1),r("el-form-item",{attrs:{label:"使用门槛:"}},[r("el-radio-group",{model:{value:t.isMinPrice,callback:function(e){t.isMinPrice=e},expression:"isMinPrice"}},[r("el-radio",{attrs:{label:0}},[t._v("无门槛")]),r("el-radio",{attrs:{label:1}},[t._v("有门槛")])],1)],1),t.isMinPrice?r("el-form-item",[r("el-input-number",{staticClass:"content_width",attrs:{controls:!1,min:1,max:9999999999},model:{value:t.formData.use_min_price,callback:function(e){t.$set(t.formData,"use_min_price",e)},expression:"formData.use_min_price"}}),r("div",{staticClass:"info"},[t._v("填写优惠券的最低消费金额")])],1):t._e(),r("el-form-item",{attrs:{label:"使用时间:"}},[r("el-radio-group",{model:{value:t.isCouponTime,callback:function(e){t.isCouponTime=e},expression:"isCouponTime"}},[r("el-radio",{attrs:{label:1}},[t._v("天数")]),r("el-radio",{attrs:{label:0}},[t._v("时间段")])],1)],1),r("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isCouponTime,expression:"isCouponTime"}],attrs:{label:""}},[r("el-input-number",{staticClass:"content_width",attrs:{controls:!1,min:1,precision:0},model:{value:t.formData.coupon_time,callback:function(e){t.$set(t.formData,"coupon_time",e)},expression:"formData.coupon_time"}}),r("div",{staticClass:"info"},[t._v("领取后多少天内有效")])],1),r("el-form-item",{directives:[{name:"show",rawName:"v-show",value:!t.isCouponTime,expression:"!isCouponTime"}],attrs:{label:""}},[r("el-date-picker",{staticStyle:{width:"380px"},attrs:{clearable:"",editable:!1,type:"datetimerange","value-format":"yyyy/MM/dd HH:mm:ss","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.dateChange},model:{value:t.datetime1,callback:function(e){t.datetime1=e},expression:"datetime1"}})],1),2!=t.formData.receive_type&&3!=t.formData.receive_type?r("el-form-item",{attrs:{label:"领取时间:"}},[r("el-radio-group",{model:{value:t.isReceiveTime,callback:function(e){t.isReceiveTime=e},expression:"isReceiveTime"}},[r("el-radio",{attrs:{label:1}},[t._v("限时")]),r("el-radio",{attrs:{label:0}},[t._v("不限时")])],1)],1):t._e(),r("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isReceiveTime,expression:"isReceiveTime"}],attrs:{label:""}},[r("el-date-picker",{staticStyle:{width:"380px"},attrs:{clearable:"",type:"datetimerange","value-format":"yyyy/MM/dd HH:mm:ss","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.timeChange},model:{value:t.datetime2,callback:function(e){t.datetime2=e},expression:"datetime2"}})],1),2!=t.formData.receive_type&&3!=t.formData.receive_type?r("el-form-item",{attrs:{label:"优惠券发布数量:"}},[r("el-radio-group",{model:{value:t.formData.is_permanent,callback:function(e){t.$set(t.formData,"is_permanent",e)},expression:"formData.is_permanent"}},[r("el-radio",{attrs:{label:0}},[t._v("限量")]),r("el-radio",{attrs:{label:1}},[t._v("不限量")])],1)],1):t._e(),2!=t.formData.receive_type&&3!=t.formData.receive_type?r("el-form-item",{directives:[{name:"show",rawName:"v-show",value:!t.formData.is_permanent,expression:"!formData.is_permanent"}],attrs:{label:""}},[r("el-input-number",{staticClass:"content_width",attrs:{controls:!1,min:1,max:9999999999,precision:0},model:{value:t.formData.total_count,callback:function(e){t.$set(t.formData,"total_count",e)},expression:"formData.total_count"}}),r("div",{staticClass:"info"},[t._v("填写优惠券的发布数量")])],1):t._e(),2!=t.formData.receive_type&&3!=t.formData.receive_type?r("el-form-item",{attrs:{label:"用户领取数量:"}},[r("el-input-number",{staticClass:"content_width",attrs:{controls:!1,min:1,max:9999999999,precision:0},model:{value:t.formData.receive_limit,callback:function(e){t.$set(t.formData,"receive_limit",e)},expression:"formData.receive_limit"}}),r("div",{staticClass:"info"},[t._v("填写每个用户可以领取多少张")])],1):t._e(),r("el-form-item",{attrs:{label:"状态:"}},[r("el-radio-group",{model:{value:t.formData.status,callback:function(e){t.$set(t.formData,"status",e)},expression:"formData.status"}},[r("el-radio",{attrs:{label:1}},[t._v("开启")]),r("el-radio",{attrs:{label:0}},[t._v("关闭")])],1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",disabled:t.disabled},on:{click:t.save}},[t._v("立即创建")])],1)],1)],1),r("el-dialog",{staticClass:"paymentFooter",attrs:{visible:t.modals,title:"商品列表",width:"1000px"},on:{"update:visible":function(e){t.modals=e}}},[t.modals?r("goods-list",{ref:"goodslist",attrs:{ischeckbox:!0},on:{getProductId:t.getProductId}}):t._e()],1)],1)}),[],!1,null,"66164031",null),e.default=n.exports},c65c:function(t,e,r){"use strict";var a=r("3bfa");r.n(a).a}}]); |