1 line
38 KiB
JavaScript
1 line
38 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7eb78858"],{3099:function(e,t){e.exports="data:image/png;base64,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"},"387f3":function(e,t,o){},"3bbe":function(e,t,o){var r=o("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3d7f":function(e,t,o){"use strict";var r=o("387f3"),a=o.n(r);a.a},7156:function(e,t,o){var r=o("861d"),a=o("d2bb");e.exports=function(e,t,o){var i,s;return a&&"function"==typeof(i=t.constructor)&&i!==o&&r(s=i.prototype)&&s!==o.prototype&&a(e,s),e}},"922a":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABNCAIAAABsa37nAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACKUlEQVR42u3bDW+CMBAGYP//f50K9BtED0gMQoEWWijjTS4ubNjjWTZp78rNvN5XiFv3pawjxkz63ZI2TlXV95xFir+sYMqMhap8ZVzSTyMlLaS2OB8Fj0flupxyxks656TX4LHojJS0+P0jghPO/+Zc8d+/3RkqqauTDp9M5FwWQjlGxoT1ut2d3aF7xibpxC/Lw5kJRVfjPudgUgdxmqr2SKrLzU4uvZw09P5ODieccMIJJ5xwwgknnHAOnNrZWdZvFsrpjKSkAZy0/qSlFlfGKXQ5tRT0dbpmbCMXapPzKvUE1MHghBPOfZ1djylSTPXLnm2/LFJY+khdVl3VMWJmRhUv6Tjv7Vr9bDjhhBPOSzq1z3ra942Dcxqnblt68ULabqF0HTRPWjegUObLoMHt55gqpf1DKwbMWc7l10mDjzchLewfOsX89v7r3Fo3gRNOOJN2dh9u7ku+UPW+/oB2A5ffPa171+Nj1KmlqawXtljaPFnfweocU7fuB0vWGbIOBieccK52RnkOIDUnnZMLtS4GSVPvZ4dai5++b+9RN4HzYGdTW7H16oWp9NI50lo3Sfbz9mm7bRRCza9XHjljZ7x/DmK8Llv/3FWy84TA689muKOfd9jJuS5O5jxk/9Axzv3rQ3DCCefufSTP57P17Ppz2EfSpWsfid5D320eM6TX4CHUYKrZn5cOk7aHurf+tFwYrS37fUFTWa5cKEtfEP1sOOFMMz6B7iaJFrGXxAAAAABJRU5ErkJggg=="},a9e3:function(e,t,o){"use strict";var r=o("83ab"),a=o("da84"),i=o("94ca"),s=o("6eeb"),n=o("5135"),l=o("c6b6"),c=o("7156"),m=o("c04e"),p=o("d039"),d=o("7c73"),u=o("241c").f,f=o("06cf").f,v=o("9bf2").f,h=o("58a8").trim,b="Number",g=a[b],_=g.prototype,x=l(d(_))==b,w=function(e){var t,o,r,a,i,s,n,l,c=m(e,!1);if("string"==typeof c&&c.length>2)if(c=h(c),t=c.charCodeAt(0),43===t||45===t){if(o=c.charCodeAt(2),88===o||120===o)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+c}for(i=c.slice(2),s=i.length,n=0;n<s;n++)if(l=i.charCodeAt(n),l<48||l>a)return NaN;return parseInt(i,r)}return+c};if(i(b,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var y,P=function(e){var t=arguments.length<1?0:e,o=this;return o instanceof P&&(x?p((function(){_.valueOf.call(o)})):l(o)!=b)?c(new g(w(t)),o,P):w(t)},S=r?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;S.length>k;k++)n(g,y=S[k])&&!n(P,y)&&v(P,y,f(g,y));P.prototype=_,_.constructor=P,s(a,b,P)}},c7b6:function(e,t,o){"use strict";o.r(t);var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"outmain ba_f"},[e._m(0),o("div",{staticClass:"flex-bet"},[o("div",{staticClass:"storeItem pad_20 bflex-5 mar_r20"},[o("div",{staticClass:"flex-bet"},[o("div",{staticClass:"flex"},[e._m(1),o("div",[o("div",{staticClass:"shtitle"},[e._v("已创建门店:"+e._s(e.shopCount))]),o("div",{staticClass:"color_3 fon_14 mar_t10"},[e._v(" 还可创建门店: "),o("span",{staticClass:"wei subjectcolor2"},[e._v(e._s(e.shopNum))]),e._v(",如需创建更多门店请联系管理员咨询! ")]),o("div",{staticClass:"flex mar_t20 lllx"},[o("div",{staticClass:"online-contact"},[o("el-button",{attrs:{size:"medium",plain:""}},[o("a",{staticClass:"online-contact-btn",attrs:{href:e.qqLinks,target:"_blank"}},[e._v("立即联系")])])],1)])])]),e._m(2)])]),o("div",{staticClass:"storeItem pad_20 bflex-5"},[o("div",{staticClass:"flex-bet"},[o("div",{staticClass:"flex"},[e._m(3),o("div",[e._m(4),o("div",{staticClass:"color_3 fon_14 mar_t10"},[e._v("链接地址:"+e._s(e.url))]),o("div",{staticClass:"flex mar_t20"},[o("div",{staticClass:"lllx mar_r10"},[o("el-button",{attrs:{size:"medium",plain:""},on:{click:e.chickLogin}},[e._v("点击访问")])],1),o("el-button",{attrs:{size:"medium",plain:""},on:{click:function(t){return e.copyText(e.url)}}},[e._v("复制链接")])],1)])]),e._m(5)])])]),e._m(6),o("el-tabs",{on:{"tab-click":e.handleTabClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[o("el-tab-pane",{attrs:{label:"门店列表",name:"1"}}),o("el-tab-pane",{attrs:{label:"回收站",name:"3"}})],1),o("div",{staticClass:"flex-bet flex-y-top"},[o("el-form",{staticClass:"demo-form-inline searchform",attrs:{inline:!0,model:e.formInline}},[o("div",{staticClass:"mar_t30 mar_b30"},[o("el-form-item",{attrs:{label:"按关键字:"}},[o("el-input",{staticStyle:{width:"180px"},attrs:{size:"medium",placeholder:"请输入关键字搜索"},on:{input:e.onSearch},model:{value:e.formInline.keyword,callback:function(t){e.$set(e.formInline,"keyword",t)},expression:"formInline.keyword"}})],1),o("el-form-item",{attrs:{label:"按门店类别:"}},[o("el-select",{attrs:{placeholder:"请选择"},on:{change:e.onSearch},model:{value:e.formInline.type,callback:function(t){e.$set(e.formInline,"type",t)},expression:"formInline.type"}},e._l(e.typeOptions,(function(e){return o("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),o("el-form-item",{staticClass:"mar_l20",attrs:{label:"按门店区域:"}},[o("el-select",{attrs:{placeholder:"请选择"},on:{change:e.onSearch},model:{value:e.formInline.areaId,callback:function(t){e.$set(e.formInline,"areaId",t)},expression:"formInline.areaId"}},e._l(e.qyOptions,(function(e){return o("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),o("el-form-item",{staticClass:"mar_l20",attrs:{label:"按门店分组:"}},[o("el-select",{attrs:{placeholder:"请选择"},on:{change:e.onSearch},model:{value:e.formInline.typeId,callback:function(t){e.$set(e.formInline,"typeId",t)},expression:"formInline.typeId"}},e._l(e.fzOptions,(function(e){return o("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),o("el-form-item",{attrs:{label:"按门店标签:"}},[o("el-select",{attrs:{placeholder:"请选择"},on:{change:e.onSearch},model:{value:e.formInline.label,callback:function(t){e.$set(e.formInline,"label",t)},expression:"formInline.label"}},e._l(e.labelOptions,(function(e){return o("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),o("el-form-item",[o("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.onSearch}},[e._v("搜索")])],1)],1)])],1),e.shopNum>0||"无限"==e.shopNum?o("div",{staticClass:"mar_b10"},[o("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(t){return e.addshop()}}},[e._v("新建门店")])],1):o("div",{staticClass:"mar_b10"},[o("el-button",{attrs:{type:"info",size:"medium"},on:{click:function(t){return e.addshop()}}},[e._v("新建门店")])],1),o("div",{staticClass:"tabledata mar_t30"},[o("el-table",{staticStyle:{width:"100%"},attrs:{data:e.list,stripe:""},on:{"selection-change":e.setSelectRows}},[o("el-table-column",{attrs:{type:"selection"}}),o("el-table-column",{attrs:{prop:"name",label:"商家名称",width:"350"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("div",{staticClass:"flex flex-y-top"},[o("div",{},[o("img",{staticClass:"goodlogo bor_rad5",attrs:{src:t.row.icon}})]),o("div",{staticClass:"mar_l10"},[o("div",{staticClass:"flex"},[o("div",{},[e._v(e._s(t.row.name))]),o("el-tag",{staticClass:"mar_l5",attrs:{size:"mini",type:"info"}},[e._v("(ID:"+e._s(t.row.id)+")")])],1),o("div",{staticClass:"fon_12 color_9"},[e._v(" 类别: "),"1"==t.row.type?o("span",[e._v("直营店")]):o("span",[e._v("加盟店")])])])])]}}])}),o("el-table-column",{attrs:{prop:"address",label:"门店地址&联系电话",width:"400"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("div",[e._v(e._s(t.row.address))]),o("div",[e._v(e._s(t.row.storeTel))])]}}])}),o("el-table-column",{attrs:{prop:"display",label:"总店抽佣",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"==t.row.serviceCharge.type?o("div",[o("div",[e._v(" 总店抽佣:"+e._s(t.row.serviceCharge.goodsPlatformProportion)+"% "),o("span",{staticClass:"el-icon-edit-outline curs subjectcolor2",on:{click:function(o){return e.handlestoreratio(t.row)}}})]),o("div",[e._v("配送费:"+e._s(t.row.serviceCharge.deliverPlatformProportion)+"%")]),o("div",[e._v("包装费:"+e._s(t.row.serviceCharge.boxPlatformProportion)+"%")])]):e._e(),"2"==t.row.serviceCharge.type?o("div",[o("div",[e._v(" 总店抽佣:"+e._s(t.row.serviceCharge.goodsFixedMoney)+"元 "),o("span",{staticClass:"el-icon-edit-outline curs subjectcolor2",on:{click:function(o){return e.handlestoreratio(t.row)}}})]),o("div",[e._v("配送费:"+e._s(t.row.serviceCharge.deliverFixedMoney)+"元")]),o("div",[e._v("包装费:"+e._s(t.row.serviceCharge.boxFixedMoney)+"元")])]):e._e()]}}])}),o("el-table-column",{attrs:{prop:"display",label:"显示状态",width:"140"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-switch",{attrs:{"active-value":"1","inactive-value":"2"},on:{change:function(o){return e.changeSwitch(t.row)}},model:{value:t.row.display,callback:function(o){e.$set(t.row,"display",o)},expression:"scope.row.display"}})]}}])}),o("el-table-column",{attrs:{prop:"display",label:"商品模式",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.row.goodsModel,expression:"scope.row.goodsModel=='1'"}]},[e._v("模式一:"),o("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("同步总店商品")])],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.row.goodsModel,expression:"scope.row.goodsModel=='2'"}]},[e._v("模式二:"),o("el-tag",{attrs:{size:"mini"}},[e._v("普通商品权限")])],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.row.goodsModel,expression:"scope.row.goodsModel=='3'"}]},[e._v("模式三:"),o("el-tag",{attrs:{type:"danger",size:"mini"}},[e._v("超级商品权限")])],1)]}}])}),o("el-table-column",{attrs:{label:"操作",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[+t.row.deleteAt>0?o("div",{staticClass:"flex"},[o("el-button",{attrs:{type:"text"},on:{click:function(o){return e.handleDelete2(t.row,3)}}},[e._v("恢复")]),o("el-button",{attrs:{type:"text"},on:{click:function(o){return e.handleDelete2(t.row,4)}}},[e._v("删除")])],1):o("div",{staticClass:"flex"},[o("el-button",{attrs:{type:"text"},on:{click:function(o){return e.shopMange(t.row)}}},[e._v("门店管理")]),o("el-button",{attrs:{type:"text"},on:{click:function(o){return e.shoparea(t.row)}}},[e._v("配送设置")]),o("el-button",{attrs:{type:"text"},on:{click:function(o){return e.handleEdit(t.row)}}},[e._v("编辑")]),o("el-button",{attrs:{type:"text"},on:{click:function(o){return e.handleDelete(t.row)}}},[e._v("删除")])],1)]}}])})],1),o("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:e.page.total,"page-size":e.page.pagesize,"current-page":e.page.currentPage},on:{"update:currentPage":function(t){return e.$set(e.page,"currentPage",t)},"update:current-page":function(t){return e.$set(e.page,"currentPage",t)},"current-change":e.handleCurrentChange}}),o("edit",{ref:"edit",on:{fetchData:e.fetchData}}),o("editRatio",{ref:"editRatio",on:{fetchData:e.fetchData}})],1)],1)},a=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"shuju_title mar_b20"},[o("div",{staticClass:"shuju_title_text"},[o("span",[e._v("入口设置")])])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"shimg mar_lr10"},[r("img",{attrs:{src:o("3099")}})])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"codeimg flex-center"},[r("img",{attrs:{src:o("922a")}})])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"shimg mar_lr10"},[r("img",{attrs:{src:o("3099")}})])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"shtitle color_3"},[e._v(" 门店后台管理地址 "),o("span",{staticClass:"fon_12 color_9 fnormal mar_l10"},[e._v("请勿在同一浏览器同时打开门店后台,防止数据错乱!")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"codeimg flex-center"},[r("img",{attrs:{src:o("922a")}})])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"shuju_title mar_b20 mar_t20"},[o("div",{staticClass:"shuju_title_text"},[o("span",[e._v("门店列表")])])])}],i=(o("99af"),o("d81d"),o("a9e3"),o("96cf"),o("1da1")),s=o("5530"),n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{},[o("el-dialog",{attrs:{title:e.title,visible:e.dialogFormVisible,width:"800px"},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.close}},[o("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px"}},[o("el-form-item",{attrs:{label:"选择模式:",prop:"name"}},[o("el-radio-group",{model:{value:e.form.goodsModel,callback:function(t){e.$set(e.form,"goodsModel",t)},expression:"form.goodsModel"}},[o("div",{staticClass:"mar_b20"},[o("el-radio",{attrs:{label:"1"}},[e._v("模式一:同步总店商品")]),o("div",{staticClass:"yb_margin lh16",staticStyle:{"margin-left":"25px"}},[e._v("子门店将和总门店的商品库存、价格保持统一,仅能操作商品上下架,无商品编辑和新增权限")])],1),o("div",{staticClass:"mar_b20"},[o("el-radio",{attrs:{label:"2"}},[e._v("模式二:普通商品权限")]),o("div",{staticClass:"yb_margin lh16",staticStyle:{"margin-left":"25px"}},[e._v("子门店仅能修改商品库存和价格以及商品上下架,无商品编辑和新增权限")])],1),o("div",{staticClass:"mar_b20"},[o("el-radio",{attrs:{label:"3"}},[e._v("模式三:超级商品权限")]),o("div",{staticClass:"yb_margin lh16",staticStyle:{"margin-left":"25px"}},[e._v("子门店可操作商品库存和价格、商品上下架,以及新增商品权限,请谨慎开放。")])],1)]),o("div",{staticClass:"color-red"},[o("span",{staticClass:"wei"},[e._v("特别注意:")]),e._v("门店商品权限一旦选择后,请勿随意修改,以免造成门店商品数据错乱 ")])],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{attrs:{size:"medium"},on:{click:e.close}},[e._v("取 消")]),o("el-button",{attrs:{size:"medium",type:"primary"},on:{click:e.save}},[e._v("确 定")])],1)],1)],1)},l=[],c=o("e692"),m={name:"goodlistedit",created:function(){},data:function(){return{form:{storeId:"",goodsModel:"1"},data:{},title:"",dialogFormVisible:!1}},components:{},methods:{showEdit:function(e){e?(this.title="商品模式选择",this.form.goodsModel=e.goodsModel):this.title="商品模式选择",this.dialogFormVisible=!0},setStoreId:function(e){this.form.storeId=e},close:function(){this.$refs["form"].resetFields(),this.form=this.$options.data().form,this.dialogFormVisible=!1},goodsMdel:function(){var e=this;this.$baseConfirm("门店商品权限一旦选择后,请勿随意修改,以免造成门店商品数据错乱,请谨慎操作!",null,Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$baseMessage("请点击确定按钮","warning");case 1:case"end":return t.stop()}}),t)}))),Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.close();case 1:case"end":return t.stop()}}),t)}))))},save:function(){var e=this;this.$refs["form"].validate(function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(o){var r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o){t.next=10;break}return t.next=3,Object(c["a"])(e.form);case 3:r=t.sent,a=r.msg,e.$baseMessage(a,"success"),e.$emit("fetchData"),e.close(),t.next=11;break;case 10:return t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}}},p=m,d=o("2877"),u=Object(d["a"])(p,n,l,!1,null,null,null),f=u.exports,v=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{},[o("el-dialog",{attrs:{title:e.title,visible:e.dialogFormVisible,width:"1000px"},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.close}},[o("div",{staticClass:"ba_f"},[o("div",{staticClass:"shuju_title mar_b20"},[o("div",{staticClass:"shuju_title_text"},[o("span",[e._v("服务费率")])])]),o("el-form",{ref:"form",staticClass:"mar_t20",attrs:{model:e.form,"label-width":"180px"}},[o("el-form-item",{attrs:{label:"平台抽佣模式"}},[o("el-radio-group",{model:{value:e.form.rule,callback:function(t){e.$set(e.form,"rule",t)},expression:"form.rule"}},[o("el-radio",{attrs:{label:"1"}},[e._v("按系统默认设置")]),o("el-radio",{attrs:{label:"2"}},[e._v("自定义抽佣设置")])],1),o("div",{staticClass:"yb_margin lh16"},[e._v("默认按照平台统一抽佣,如需单独给子门店设置抽佣比率,请选择自定义模式")])],1),"2"==e.form.rule?o("el-form-item",{attrs:{label:"佣金计算方式"}},[o("el-radio-group",{model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},[o("el-radio",{attrs:{label:"1"}},[e._v("订单百分比抽成")]),o("el-radio",{attrs:{label:"2"}},[e._v("按固定金额")])],1)],1):e._e(),"2"==e.form.rule&&"1"==e.form.type?o("div",[o("el-form-item",{attrs:{label:"商品抽佣比例"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.goodsPlatformProportion,callback:function(t){e.$set(e.form,"goodsPlatformProportion",t)},expression:"form.goodsPlatformProportion"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("%")])],2),o("el-input",{staticStyle:{width:"220px"},attrs:{disabled:""},model:{value:e.form.goodsStoreProportion,callback:function(t){e.$set(e.form,"goodsStoreProportion",t)},expression:"form.goodsStoreProportion"}},[o("template",{slot:"prepend"},[e._v("分店获得")]),o("template",{slot:"append"},[e._v("%")])],2),e._v("/ "),o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.goodsDownMoney,callback:function(t){e.$set(e.form,"goodsDownMoney",t)},expression:"form.goodsDownMoney"}},[o("template",{slot:"prepend"},[e._v("最低抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"配送费抽佣比例"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.deliverPlatformProportion,callback:function(t){e.$set(e.form,"deliverPlatformProportion",t)},expression:"form.deliverPlatformProportion"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("%")])],2),o("el-input",{staticStyle:{width:"220px"},attrs:{disabled:""},model:{value:e.form.deliverStoreProportion,callback:function(t){e.$set(e.form,"deliverStoreProportion",t)},expression:"form.deliverStoreProportion"}},[o("template",{slot:"prepend"},[e._v("分店获得")]),o("template",{slot:"append"},[e._v("%")])],2),e._v("/ "),o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.deliverDownMoney,callback:function(t){e.$set(e.form,"deliverDownMoney",t)},expression:"form.deliverDownMoney"}},[o("template",{slot:"prepend"},[e._v("最低抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"包装费抽佣比例"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.boxPlatformProportion,callback:function(t){e.$set(e.form,"boxPlatformProportion",t)},expression:"form.boxPlatformProportion"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("%")])],2),o("el-input",{staticStyle:{width:"220px"},attrs:{disabled:""},model:{value:e.form.boxStoreProportion,callback:function(t){e.$set(e.form,"boxStoreProportion",t)},expression:"form.boxStoreProportion"}},[o("template",{slot:"prepend"},[e._v("分店获得")]),o("template",{slot:"append"},[e._v("%")])],2),e._v("/ "),o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.boxDownMoney,callback:function(t){e.$set(e.form,"boxDownMoney",t)},expression:"form.boxDownMoney"}},[o("template",{slot:"prepend"},[e._v("最低抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"当面付抽佣比例"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.cashierPlatformProportion,callback:function(t){e.$set(e.form,"cashierPlatformProportion",t)},expression:"form.cashierPlatformProportion"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("%")])],2),o("el-input",{staticStyle:{width:"220px"},attrs:{disabled:""},model:{value:e.form.cashierStoreProportion,callback:function(t){e.$set(e.form,"cashierStoreProportion",t)},expression:"form.cashierStoreProportion"}},[o("template",{slot:"prepend"},[e._v("分店获得")]),o("template",{slot:"append"},[e._v("%")])],2),e._v("/ "),o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.cashierDownMoney,callback:function(t){e.$set(e.form,"cashierDownMoney",t)},expression:"form.cashierDownMoney"}},[o("template",{slot:"prepend"},[e._v("最低抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"快餐抽佣比例"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.fastPlatformProportion,callback:function(t){e.$set(e.form,"fastPlatformProportion",t)},expression:"form.fastPlatformProportion"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("%")])],2),o("el-input",{staticStyle:{width:"220px"},attrs:{disabled:""},model:{value:e.form.fastStoreProportion,callback:function(t){e.$set(e.form,"fastStoreProportion",t)},expression:"form.fastStoreProportion"}},[o("template",{slot:"prepend"},[e._v("分店获得")]),o("template",{slot:"append"},[e._v("%")])],2),e._v("/ "),o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.fastDownMoney,callback:function(t){e.$set(e.form,"fastDownMoney",t)},expression:"form.fastDownMoney"}},[o("template",{slot:"prepend"},[e._v("最低抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"店内抽佣比例"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.inStorePlatformProportion,callback:function(t){e.$set(e.form,"inStorePlatformProportion",t)},expression:"form.inStorePlatformProportion"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("%")])],2),o("el-input",{staticStyle:{width:"220px"},attrs:{disabled:""},model:{value:e.form.inStoreStoreProportion,callback:function(t){e.$set(e.form,"inStoreStoreProportion",t)},expression:"form.inStoreStoreProportion"}},[o("template",{slot:"prepend"},[e._v("分店获得")]),o("template",{slot:"append"},[e._v("%")])],2),e._v("/ "),o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.inStoreDownMoney,callback:function(t){e.$set(e.form,"inStoreDownMoney",t)},expression:"form.inStoreDownMoney"}},[o("template",{slot:"prepend"},[e._v("最低抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1)],1):e._e(),"2"==e.form.rule&&"2"==e.form.type?o("div",[o("el-form-item",{attrs:{label:"商品抽成金额"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.goodsFixedMoney,callback:function(t){e.$set(e.form,"goodsFixedMoney",t)},expression:"form.goodsFixedMoney"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"配送费抽成金额"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.deliverFixedMoney,callback:function(t){e.$set(e.form,"deliverFixedMoney",t)},expression:"form.deliverFixedMoney"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"包装费抽成金额"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.boxFixedMoney,callback:function(t){e.$set(e.form,"boxFixedMoney",t)},expression:"form.boxFixedMoney"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"当面付抽成金额"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.cashierFixedMoney,callback:function(t){e.$set(e.form,"cashierFixedMoney",t)},expression:"form.cashierFixedMoney"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"快餐抽成金额"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.fastFixedMoney,callback:function(t){e.$set(e.form,"fastFixedMoney",t)},expression:"form.fastFixedMoney"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1),o("el-form-item",{attrs:{label:"店内抽成金额"}},[o("el-input",{staticStyle:{width:"220px"},model:{value:e.form.inStoreFixedMoney,callback:function(t){e.$set(e.form,"inStoreFixedMoney",t)},expression:"form.inStoreFixedMoney"}},[o("template",{slot:"prepend"},[e._v("总店抽佣")]),o("template",{slot:"append"},[e._v("元")])],2)],1)],1):e._e(),o("div",{staticClass:"shuju_title mar_b20"},[o("div",{staticClass:"shuju_title_text"},[o("span",[e._v("子商户设置")])])]),o("el-form-item",{attrs:{label:"子商户号"}},[o("el-radio-group",{model:{value:e.form.sonService,callback:function(t){e.$set(e.form,"sonService",t)},expression:"form.sonService"}},[o("el-radio",{attrs:{label:"1"}},[e._v("开启")]),o("el-radio",{attrs:{label:"2"}},[e._v("关闭")])],1),o("div",{staticClass:"yb_margin lh16"},[e._v("开启子商户号后,用户微信付款的订单直接入账到当前商户号里,此模式下平台抽佣设置无效,余额支付的订单不受影响")])],1),o("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"1"==e.form.sonService,expression:"form.sonService=='1'"}],attrs:{label:"服务商子商户号"}},[o("el-input",{attrs:{placeholder:"请输入服务商子商户号"},model:{value:e.form.subMchId,callback:function(t){e.$set(e.form,"subMchId",t)},expression:"form.subMchId"}}),o("div",{staticClass:"yb_margin lh16"},[e._v("请填写此门店的服务商子商户号")])],1),o("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"1"==e.form.sonService,expression:"form.sonService=='1'"}],attrs:{label:"服务商分账"}},[o("el-radio-group",{model:{value:e.form.profit_sharing,callback:function(t){e.$set(e.form,"profit_sharing",t)},expression:"form.profit_sharing"}},[o("el-radio",{attrs:{label:"Y"}},[e._v("开启")]),o("el-radio",{attrs:{label:"N"}},[e._v("关闭")])],1),o("div",{staticClass:"yb_margin lh16"},[e._v("服务商分账需要先开启子商户功能,开启分账后,商家订单完成后会向指定的子商户号进行分账打款(分账比例按照服务费率来计算)")])],1),o("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"1"==e.form.sonService&&"Y"==e.form.profit_sharing,expression:"form.sonService=='1' && form.profit_sharing=='Y'"}],attrs:{label:"分账商户号"}},[o("el-input",{attrs:{placeholder:"请输入分账商户号"},model:{value:e.form.giveMchid,callback:function(t){e.$set(e.form,"giveMchid",t)},expression:"form.giveMchid"}}),o("div",{staticClass:"yb_margin lh16"},[e._v("请填写接受平台佣金的微信商户号")])],1),o("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"1"==e.form.sonService&&"Y"==e.form.profit_sharing,expression:"form.sonService=='1' && form.profit_sharing=='Y'"}],attrs:{label:"分账商户号商户全称"}},[o("el-input",{attrs:{placeholder:"请输入分账商户号商户全称"},model:{value:e.form.giveName,callback:function(t){e.$set(e.form,"giveName",t)},expression:"form.giveName"}}),o("div",{staticClass:"yb_margin lh16"},[e._v("请填写接受平台佣金的微信商户号全称,此名称要和微信商户后台保持一致")])],1)],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{attrs:{size:"medium"},on:{click:e.close}},[e._v("取 消")]),o("el-button",{attrs:{size:"medium",type:"primary"},on:{click:e.save}},[e._v("确 定")])],1)])],1)},h=[],b=o("294d"),g={created:function(){},data:function(){return{form:{rule:"1",type:"2",goodsPlatformProportion:0,goodsStoreProportion:100,goodsDownMoney:0,deliverPlatformProportion:0,deliverStoreProportion:100,deliverDownMoney:0,boxPlatformProportion:0,boxStoreProportion:100,boxDownMoney:0,goodsFixedMoney:0,deliverFixedMoney:0,boxFixedMoney:0,entryDay:"",cashierPlatformProportion:0,cashierStoreProportion:100,cashierDownMoney:0,cashierFixedMoney:0,fastPlatformProportion:0,fastStoreProportion:100,fastDownMoney:0,fastFixedMoney:0,inStorePlatformProportion:0,inStoreStoreProportion:100,inStoreDownMoney:0,inStoreFixedMoney:0,sonService:"2",profit_sharing:"N",subMchId:"",giveMchid:"",giveName:""},storeId:"",title:"",dialogFormVisible:!1}},methods:{showEdit:function(e){this.storeId=e.id,this.init(),this.title="服务费率设置",this.dialogFormVisible=!0},close:function(){this.$refs["form"].resetFields(),this.form=this.$options.data().form,this.dialogFormVisible=!1},init:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var o,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(b["E"])({ident:"serviceCharge",storeId:e.storeId});case 2:o=t.sent,r=o.data,e.form2=e.form,e.form=Object.assign(e.form2,r),e.form.goodsStoreProportion=100-e.form.goodsPlatformProportion,e.form.deliverStoreProportion=100-e.form.deliverPlatformProportion,e.form.boxStoreProportion=100-e.form.boxPlatformProportion,e.form.cashierStoreProportion=100-e.form.cashierPlatformProportion,e.form.fastStoreProportion=100-e.form.fastPlatformProportion,e.form.inStoreStoreProportion=100-e.form.inStorePlatformProportion;case 12:case"end":return t.stop()}}),t)})))()},save:function(){var e=this;this.$refs["form"].validate(function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(o){var r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o){t.next=13;break}return e.form.ident="serviceCharge",e.form.storeId=e.storeId,e.form.identName="商家费率设置",t.next=6,Object(b["V"])(e.form);case 6:r=t.sent,a=r.msg,e.$baseMessage(a,"success"),e.$emit("fetchData"),e.close(),t.next=14;break;case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}}},_=g,x=Object(d["a"])(_,v,h,!1,null,null,null),w=x.exports,y=o("2f62"),P={components:{Edit:f,EditRatio:w},created:function(){this.selectStoreCategory(),this.$route.query.currentPage||this.$route.query.activeName?(this.page.currentPage=this.$route.query.currentPage?+this.$route.query.currentPage:1,this.activeName=this.$route.query.activeName?this.$route.query.activeName:"1",this.fetchData()):this.fetchData()},data:function(){return{formInline:{keyword:"",typeId:"",type:"",areaId:"",label:""},qqLinks:"",typeOptions:[{id:"0",name:"全部"},{id:"1",name:"直营店"},{id:"2",name:"加盟店"}],qyOptions:[],fzOptions:[],labelOptions:[],activeName:"1",shopNum:"",loading:!1,tableData:[],list:[],selectRows:"",page:{total:0,size:10,currentPage:1},recycle:"2",shopCount:"",url:"",qq:""}},methods:Object(s["a"])(Object(s["a"])({},Object(y["c"])(["storeMsg"])),{},{handleLogin:function(){this.loading=!0},changeModel:function(e){this.$refs["edit"].setStoreId(e.id),e.goodsModel&&this.$refs["edit"].showEdit(e)},addshop:function(){Number(this.shopNum)>0||"无限"==this.shopNum?this.$router.push("/shopadd?currentPage=".concat(this.page.currentPage,"&activeName=").concat(this.activeName)):this.$message.error("门店数量已用完,如需新建更多门店,请联系管理员咨询!")},handleEdit:function(e){this.$router.push("/shopadd?id=".concat(e.id,"¤tPage=").concat(this.page.currentPage,"&activeName=").concat(this.activeName))},handlestoreratio:function(e){e.id?this.$refs["editRatio"].showEdit(e):this.$refs["editRatio"].showEdit()},selectStoreCategory:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var o,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["u"])();case 2:o=t.sent,r=o.data,e.qyOptions=r.area?r.area:[],e.fzOptions=r.type?r.type:[],e.labelOptions=r.label?r.label:[];case 7:case"end":return t.stop()}}),t)})))()},changeSwitch:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function o(){var r,a;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,Object(c["k"])({id:e.id,display:e.display,type:1});case 2:r=o.sent,a=r.msg,t.$baseMessage(a,"success"),t.fetchData();case 6:case"end":return o.stop()}}),o)})))()},handleDelete:function(e){var t=this;if(e.id)this.$baseConfirm("你确定要删除当前门店吗?一旦删除后,门店数据将会清除,请谨慎操作!",null,Object(i["a"])(regeneratorRuntime.mark((function o(){var r,a;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,Object(c["k"])({id:e.id,type:2});case 2:r=o.sent,a=r.msg,t.$baseMessage(a,"success"),t.fetchData();case 6:case"end":return o.stop()}}),o)}))));else{if(!(this.selectRows.length>0))return this.$baseMessage("未选中任何行","error"),!1;var o=this.selectRows.map((function(e){return e.id}));this.$baseConfirm("你确定要删除选中项吗",null,Object(i["a"])(regeneratorRuntime.mark((function e(){var r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["k"])({id:o,type:2});case 2:r=e.sent,a=r.msg,t.$baseMessage(a,"success"),t.fetchData();case 6:case"end":return e.stop()}}),e)}))))}},handleDelete2:function(e,t){var o=this;"3"==t&&this.$baseConfirm("你确定要恢复当前门店吗?",null,Object(i["a"])(regeneratorRuntime.mark((function r(){var a,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(c["k"])({id:e.id,type:t});case 2:a=r.sent,i=a.msg,o.$baseMessage(i,"success"),o.fetchData();case 6:case"end":return r.stop()}}),r)})))),"4"==t&&this.$baseConfirm("你确定要彻底删除当前门店吗?一旦删除后,门店数据将会清除,请谨慎操作!",null,Object(i["a"])(regeneratorRuntime.mark((function r(){var a,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(c["k"])({id:e.id,type:t});case 2:a=r.sent,i=a.msg,o.$baseMessage(i,"success"),o.fetchData();case 6:case"end":return r.stop()}}),r)}))))},handleTabClick:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:console.log(e.activeName),"3"==e.activeName&&(e.recycle="1"),"1"==e.activeName&&(e.recycle="2"),e.fetchData();case 4:case"end":return t.stop()}}),t)})))()},onSearch:function(){this.fetchData()},fetchData:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var o,r,a,i,s,n,l,m;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o={page:e.page.currentPage,typeId:e.formInline.typeId,keyword:e.formInline.keyword,type:e.formInline.type,areaId:e.formInline.areaId,label:e.formInline.label,recycle:e.recycle},t.next=3,Object(c["z"])(o);case 3:r=t.sent,a=r.data,i=r.count,s=r.shopCount,n=r.url,l=r.shopNum,m=r.qq,e.list=a,e.shopCount=s||"",e.url=n||"",e.page.total=i,e.shopNum=l,e.qqLinks="tencent://Message/?Uin="+m+"&websiteName=q-zone.qq.com&Menu=yes";case 16:case"end":return t.stop()}}),t)})))()},chickLogin:function(){var e=this.$router.resolve({path:"/login",query:{}});window.open(e.href,"_blank")},copyText:function(e){var t=e,o=document.createElement("input");o.value=t,document.body.appendChild(o),o.select(),document.execCommand("Copy"),o.className="oInput",o.style.display="none",this.$message({message:"复制成功",type:"success"})},setSelectRows:function(e){this.selectRows=e},handleCurrentChange:function(e){this.page.currentPage=e,this.fetchData()},shopMange:function(e){console.log("商家后台"),sessionStorage.setItem("storeId",e.id),this.storeMsg(e.id),this.$router.push({path:"/storeindex"})},shoparea:function(e){e.id&&this.$router.push("/storecitydistribution?storeId=".concat(e.id))}})},S=P,k=(o("3d7f"),Object(d["a"])(S,r,a,!1,null,null,null));t["default"]=k.exports},d2bb:function(e,t,o){var r=o("825a"),a=o("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(o,[]),t=o instanceof Array}catch(i){}return function(o,i){return r(o),a(i),t?e.call(o,i):o.__proto__=i,o}}():void 0)}}]); |