CRMEB/crmeb/public/admin/system_static/js/chunk-764f7116.098a4d96.js
2023-09-19 17:39:39 +08:00

1 line
21 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-764f7116"],{"2c3e":function(t,e,r){var n=r("da84"),o=r("83ab"),a=r("9f7f").MISSED_STICKY,i=r("c6b6"),c=r("edd0"),s=r("69f3").get,u=RegExp.prototype,l=n.TypeError;o&&a&&c(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).sticky;throw l("Incompatible receiver, RegExp required")}}})},"2d7b":function(t,e,r){"use strict";var n=r("f7f9");r.n(n).a},"3f2a":function(t,e,r){"use strict";r.d(e,"g",(function(){return o})),r.d(e,"d",(function(){return a})),r.d(e,"c",(function(){return i})),r.d(e,"e",(function(){return c})),r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"f",(function(){return l})),r.d(e,"h",(function(){return f}));var n=r("6b6c");function o(t){return Object(n.a)({url:"/export/user_list",method:"get",params:t})}function a(t){return Object(n.a)({url:"/export/order_list",method:"get",params:t})}function i(t){return Object(n.a)({url:"/export/order_delivery_list",method:"get",params:t})}function c(t){return Object(n.a)({url:"/export/product_list",method:"get",params:t})}function s(t){return Object(n.a)({url:"/export/bargain_list",method:"get",params:t})}function u(t){return Object(n.a)({url:"/export/combination_list",method:"get",params:t})}function l(t){return Object(n.a)({url:"/export/seckill_list",method:"get",params:t})}function f(t){return Object(n.a)({url:"/export/member_card/".concat(t),method:"get"})}},"4d63":function(t,e,r){var n=r("83ab"),o=r("da84"),a=r("e330"),i=r("94ca"),c=r("7156"),s=r("9112"),u=r("241c").f,l=r("3a9b"),f=r("44e7"),d=r("577e"),h=r("90d8"),p=r("9f7f"),m=r("aeb0"),g=r("cb2d"),v=r("d039"),b=r("1a2d"),w=r("69f3").enforce,y=r("2626"),_=r("b622"),x=r("fce3"),k=r("107c"),E=_("match"),O=o.RegExp,S=O.prototype,j=o.SyntaxError,L=a(S.exec),$=a("".charAt),N=a("".replace),I=a("".indexOf),R=a("".slice),V=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,C=/a/g,P=/a/g,D=(r=new O(C)!==C,p.MISSED_STICKY),T=p.UNSUPPORTED_Y;_=n&&(!r||D||x||k||v((function(){return P[E]=!1,O(C)!=C||O(P)==P||"/a/i"!=O(C,"i")})));if(i("RegExp",_)){function M(t,e){var r,n,o=l(S,this),a=f(t),i=void 0===e,u=[],p=t;if(!o&&a&&i&&t.constructor===M)return t;if((a||l(S,t))&&(t=t.source,i&&(e=h(p))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),p=t,a=e=x&&"dotAll"in C&&(r=!!e&&-1<I(e,"s"))?N(e,/s/g,""):e,D&&"sticky"in C&&(n=!!e&&-1<I(e,"y"))&&T&&(e=N(e,/y/g,"")),k&&(t=(i=function(t){for(var e,r=t.length,n=0,o="",a=[],i={},c=!1,s=!1,u=0,l="";n<=r;n++){if("\\"===(e=$(t,n)))e+=$(t,++n);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:L(V,R(t,n+1))&&(n+=2,s=!0),o+=e,u++;continue;case">"===e&&s:if(""===l||b(i,l))throw new j("Invalid capture group name");i[l]=!0,s=!(a[a.length]=[l,u]),l="";continue}s?l+=e:o+=e}return[o,a]}(t))[0],u=i[1]),i=c(O(t,e),o?this:S,M),(r||n||u.length)&&(e=w(i),r&&(e.dotAll=!0,e.raw=M(function(t){for(var e,r=t.length,n=0,o="",a=!1;n<=r;n++)"\\"===(e=$(t,n))?o+=e+$(t,++n):a||"."!==e?("["===e?a=!0:"]"===e&&(a=!1),o+=e):o+="[\\s\\S]";return o}(t),a)),n&&(e.sticky=!0),u.length&&(e.groups=u)),t!==p)try{s(i,"source",""===p?"(?:)":p)}catch(t){}return i}for(var F=u(O),G=0;F.length>G;)m(M,O,F[G++]);(S.constructor=M).prototype=S,g(o,"RegExp",M,{constructor:!0})}y("RegExp")},"61f7":function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return u}));var n=r("fc11"),o=r("f3f3");function a(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var r,n,o={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(r in o)new RegExp("(".concat(r,")")).test(e)&&(n=o[r]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?n:("00"+n).substr(n.length)));return e}r("ac1f"),r("00b4"),r("5319"),r("4d63"),r("c607"),r("2c3e"),r("25f0"),r("498a"),r("d3b7"),r("b64b"),r("99af");var i={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function c(t,e){t.message=function(t){return e.replace("%s",t||"")}}function s(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(o.a)({required:!0,message:t,type:"string"},e)}function u(t){return l.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}c(s,"请输入%s"),c(u,"%s格式不正确");var l=Object.keys(i).reduce((function(t,e){return t[e]=function(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i="range"===e?{min:t[0],max:t[1]}:Object(n.a)({},e,t);return Object(o.a)(Object(o.a)({message:r.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},i),a)},c(t[e],i[e]),t}),{})},"82f1":function(t,e,r){"use strict";r.r(e),r("a4d3"),r("e01a"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("d9e2"),r("159b"),r("b0c0"),r("131a"),r("fb6a");var n=r("0122"),o=r("c964"),a=r("f3f3"),i=(r("e9c4"),r("99af"),r("d3b7"),r("a434"),r("b7be")),c=r("2f62"),s=r("61f7"),u=r("3f2a");function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(e){u=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var a,i,c,s;e=e&&e.prototype instanceof p?e:p,e=Object.create(e.prototype),n=new k(n||[]);return o(e,"_invoke",{value:(a=t,i=r,c=n,s="suspendedStart",function(t,e){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===t)throw e;return O()}for(c.method=t,c.arg=e;;){var r=c.delegate;if(r&&(r=function t(e,r){var n=r.method,o=e.iterator[n];return void 0===o?(r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h):(n=d(o,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,h):(o=n.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,h):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)))}(r,c),r)){if(r===h)continue;return r}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if("suspendedStart"===s)throw s="completed",c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(s="executing",r=d(a,i,c),"normal"===r.type){if(s=c.done?"completed":"suspendedYield",r.arg===h)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(s="completed",c.method="throw",c.arg=r.arg)}})}),e}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var h={};function p(){}function m(){}function g(){}a={};var v=(u(a,i,(function(){return this})),Object.getPrototypeOf),b=(v=v&&v(v(E([]))),v&&v!==e&&r.call(v,i)&&(a=v),g.prototype=p.prototype=Object.create(a));function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){var a;o(this,"_invoke",{value:function(o,i){function c(){return new e((function(a,c){!function o(a,i,c,s){var u;a=d(t[a],t,i);if("throw"!==a.type)return(i=(u=a.arg).value)&&"object"==Object(n.a)(i)&&r.call(i,"__await")?e.resolve(i.__await).then((function(t){o("next",t,c,s)}),(function(t){o("throw",t,c,s)})):e.resolve(i).then((function(t){u.value=t,c(u)}),(function(t){return o("throw",t,c,s)}));s(a.arg)}(o,i,a,c)}))}return a=a?a.then(c,c):c()}})}function _(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 x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function E(t){if(t){var e,n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(n=function n(){for(;++e<t.length;)if(r.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n}).next=n}return{next:O}}function O(){return{value:void 0,done:!0}}return o(b,"constructor",{value:m.prototype=g,configurable:!0}),o(g,"constructor",{value:m,configurable:!0}),m.displayName=u(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(y.prototype),u(y.prototype,c,(function(){return this})),t.AsyncIterator=y,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new y(f(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(b),u(b,s,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=E,k.prototype={constructor:k,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(x),!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 n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;0<=o;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}var i=(a=a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc?null:a)?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},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),h},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),x(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,x(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}a={name:"marketing_combinalist",filters:{formatDate:function(t){if(0!==t)return t=new Date(1e3*t),Object(s.a)(t,"yyyy-MM-dd hh:mm")}},data:function(){return{loading:!1,grid:{xl:7,lg:7,md:12,sm:24,xs:24},formValidate:{is_show:"",store_name:"",page:1,limit:15},value:"",tableList:[],total:0,statisticsList:[]}},computed:Object(a.a)(Object(a.a)({},Object(c.d)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}}),activated:function(){this.getList()},methods:{exports:function(){var t=this;return Object(o.a)(l().mark((function e(){var r,n,o,a,i,c,s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[],n=[],o=[],a="",(i=JSON.parse(JSON.stringify(t.formValidate))).page=1,i.limit=200,c=0;case 5:if(c<i.page+1)return e.next=8,t.getExcelData(i);e.next=22;break;case 8:s=e.sent,a=a||s.filename,n.length||(n=s.fileKey),r.length||(r=s.header),s.export.length?(o=o.concat(s.export),i.page++,e.next=19):e.next=17;break;case 17:return t.$exportExcel(r,n,a,o),e.abrupt("return");case 19:c++,e.next=5;break;case 22:case"end":return e.stop()}}),e)})))()},getExcelData:function(t){return new Promise((function(e,r){Object(u.b)(t).then((function(t){e(t.data)}))}))},add:function(){this.$router.push({path:this.$routeProStr+"/marketing/store_combination/create"})},edit:function(t){this.$router.push({path:this.$routeProStr+"/marketing/store_combination/create/"+t.id+"/0"})},copy:function(t){this.$router.push({path:this.$routeProStr+"/marketing/store_combination/create/"+t.id+"/1"})},del:function(t,e,r){var n=this;e={title:e,num:r,url:"marketing/combination/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){n.$message.success(t.msg),n.tableList.splice(r,1)})).catch((function(t){n.$message.error(t.msg)}))},viewInfo:function(t){this.$router.push({path:this.$routeProStr+"/marketing/store_combination/statistics/"+t.id})},getList:function(){var t=this;this.loading=!0,Object(i.k)(this.formValidate).then(function(){var e=Object(o.a)(l().mark((function e(r){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=r.data,t.tableList=n.list,t.total=r.data.count,t.loading=!1;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},userSearchs:function(){this.formValidate.page=1,this.getList()},onchangeIsShow:function(t){var e=this;t={id:t.id,status:t.is_show};Object(i.l)(t).then(function(){var t=Object(o.a)(l().mark((function t(r){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$message.success(r.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$message.error(t.msg)}))}}},r("2d7b"),c=r("2877"),r=Object(c.a)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never","body-style":{padding:0}}},[r("div",{staticClass:"padding-add"},[r("el-form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":"right",inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[r("el-form-item",{attrs:{label:"拼团状态:",clearable:""}},[r("el-select",{staticClass:"form_content_width",attrs:{placeholder:"请选择",clearable:""},on:{change:t.userSearchs},model:{value:t.formValidate.is_show,callback:function(e){t.$set(t.formValidate,"is_show",e)},expression:"formValidate.is_show"}},[r("el-option",{attrs:{value:1,label:"开启"}}),r("el-option",{attrs:{value:0,label:"关闭"}})],1)],1),r("el-form-item",{attrs:{label:"商品搜索:",prop:"store_name","label-for":"store_name"}},[r("el-input",{staticClass:"form_content_width",attrs:{clearable:"",placeholder:"请输入请输入商品名称/ID"},model:{value:t.formValidate.store_name,callback:function(e){t.$set(t.formValidate,"store_name",e)},expression:"formValidate.store_name"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")])],1)],1)],1)]),r("el-card",{staticClass:"ivu-mt mt16",attrs:{bordered:!1,shadow:"never"}},[r("el-button",{directives:[{name:"auth",rawName:"v-auth",value:["marketing-store_combination-create"],expression:"['marketing-store_combination-create']"}],attrs:{type:"primary"},on:{click:t.add}},[t._v("添加拼团商品")]),r("el-button",{directives:[{name:"auth",rawName:"v-auth",value:["export-storeCombination"],expression:"['export-storeCombination']"}],staticClass:"export",on:{click:t.exports}},[t._v("导出")]),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"mt14",attrs:{data:t.tableList,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"}},[r("el-table-column",{attrs:{label:"ID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.id))])]}}])}),r("el-table-column",{attrs:{label:"拼团图片","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(t){return[r("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.row.image,expression:"scope.row.image"}]})])]}}])}),r("el-table-column",{attrs:{label:"拼团名称","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-tooltip",{attrs:{placement:"top","open-delay":600}},[r("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(e.row.title))]),r("span",{staticClass:"line2"},[t._v(t._s(e.row.title))])])]}}])}),r("el-table-column",{attrs:{label:"原价","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.ot_price))])]}}])}),r("el-table-column",{attrs:{label:"拼团价","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.price))])]}}])}),r("el-table-column",{attrs:{label:"拼团人数","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.count_people))])]}}])}),r("el-table-column",{attrs:{label:"参与人数","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.count_people_all))])]}}])}),r("el-table-column",{attrs:{label:"成团数量","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.count_people_pink))])]}}])}),r("el-table-column",{attrs:{label:"限量","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.quota_show))])]}}])}),r("el-table-column",{attrs:{label:"限量剩余","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.quota))])]}}])}),r("el-table-column",{attrs:{label:"活动状态","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-tag",{directives:[{name:"show",rawName:"v-show",value:"进行中"===e.row.start_name,expression:"scope.row.start_name === '进行中'"}],attrs:{size:"medium"}},[t._v("进行中")]),r("el-tag",{directives:[{name:"show",rawName:"v-show",value:"未开始"===e.row.start_name,expression:"scope.row.start_name === '未开始'"}],attrs:{size:"medium",type:"warning"}},[t._v("未开始")]),r("el-tag",{directives:[{name:"show",rawName:"v-show",value:"已结束"===e.row.start_name,expression:"scope.row.start_name === '已结束'"}],attrs:{size:"medium",type:"info"}},[t._v("已结束")])]}}])}),r("el-table-column",{attrs:{label:"结束时间","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(" "+t._s(t._f("formatDate")(e.row.stop_time)))])]}}])}),r("el-table-column",{attrs:{label:"上架状态","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-switch",{staticClass:"defineSwitch",attrs:{"active-value":1,"inactive-value":0,value:e.row.is_show,disabled:!!e.row.stop_status,size:"large","active-text":"上架","inactive-text":"下架"},on:{change:function(r){return t.onchangeIsShow(e.row)}},model:{value:e.row.is_show,callback:function(r){t.$set(e.row,"is_show",r)},expression:"scope.row.is_show"}})]}}])}),r("el-table-column",{attrs:{label:"操作",fixed:"right",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.stop_status?r("a",{on:{click:function(r){return t.edit(e.row)}}},[t._v("编辑")]):t._e(),0===e.row.stop_status?r("el-divider",{attrs:{direction:"vertical"}}):t._e(),r("a",{on:{click:function(r){return t.copy(e.row)}}},[t._v("复制")]),r("el-divider",{attrs:{direction:"vertical"}}),r("a",{on:{click:function(r){return t.del(e.row,"删除拼团商品",e.$index)}}},[t._v("删除")]),r("el-divider",{attrs:{direction:"vertical"}}),r("a",{on:{click:function(r){return t.viewInfo(e.row)}}},[t._v("统计")])]}}])})],1),r("div",{staticClass:"acea-row row-right page"},[t.total?r("pagination",{attrs:{total:t.total,page:t.formValidate.page,limit:t.formValidate.limit},on:{"update:page":function(e){return t.$set(t.formValidate,"page",e)},"update:limit":function(e){return t.$set(t.formValidate,"limit",e)},pagination:t.getList}}):t._e()],1)],1)],1)}),[],!1,null,"767f713d",null),e.default=r.exports},c607:function(t,e,r){var n=r("da84"),o=r("83ab"),a=r("fce3"),i=r("c6b6"),c=r("edd0"),s=r("69f3").get,u=RegExp.prototype,l=n.TypeError;o&&a&&c(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).dotAll;throw l("Incompatible receiver, RegExp required")}}})},f7f9:function(t,e,r){}}]);