1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-67dcd378"],{"0f0e":function(t,e,a){"use strict";var r=a("c4c8"),n={name:"userLabel",props:{},data:function(){return{labelList:[],dataLabel:[],isUser:!1}},mounted:function(){},methods:{inArray:function(t,e){for(var a in e)if(e[a].id===t)return!0;return!1},userLabel:function(t){var e=this;this.dataLabel=t,Object(r.hb)().then((function(t){t.data.map((function(t){t.children&&t.children.length&&(e.isUser=!0,t.children.map((function(t){e.inArray(t.id,e.dataLabel)?t.disabled=!0:t.disabled=!1})))})),e.labelList=t.data})).catch((function(t){e.$Message.error(t.msg)}))},selectLabel:function(t){if(t.disabled){var e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id===t.id}))[0]);this.dataLabel.splice(e,1),t.disabled=!1}else this.dataLabel.push({label_name:t.label_name,id:t.id,tag_id:t.tag_id}),t.disabled=!0},subBtn:function(){this.$emit("activeData",JSON.parse(JSON.stringify(this.dataLabel)))},cancel:function(){this.$emit("close")}}},i=(a("47fb"),a("2877")),o=Object(i.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"label-wrapper"},[a("div",{staticClass:"list-box"},[t._l(t.labelList,(function(e,r){return t.isUser?a("div",{key:r,staticClass:"label-box"},[e.children&&e.children.length?a("div",{staticClass:"title"},[t._v("\n "+t._s(e.label_name)+"\n ")]):t._e(),e.children&&e.children.length?a("div",{staticClass:"list"},t._l(e.children,(function(e,r){return a("div",{key:r,staticClass:"label-item",class:{on:e.disabled},on:{click:function(a){return t.selectLabel(e)}}},[t._v("\n "+t._s(e.label_name)+"\n ")])})),0):t._e()]):t._e()})),t.isUser?t._e():a("div",[t._v("暂无标签")])],2),a("div",{staticClass:"footer"},[a("Button",{staticClass:"btns",attrs:{type:"primary"},on:{click:t.subBtn}},[t._v("确定")]),a("Button",{staticClass:"btns",attrs:{type:"primary",ghost:""},on:{click:t.cancel}},[t._v("取消")])],1)])}),[],!1,null,"ea2c8f16",null);e.a=o.exports},3539:function(t,e,a){},"47fb":function(t,e,a){"use strict";var r=a("702e");a.n(r).a},"4f9c":function(t,e,a){"use strict";var r=a("3539");a.n(r).a},5671:function(t,e,a){"use strict";var r=a("2f62"),n=a("73f5");function i(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function o(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var s={name:"index",data:function(){return{selectEquips:[],selectEquipsIds:[],modal_loading:!1,treeSelect:[],formValidate:{page:1,limit:10,cate_id:[],name:""},total:0,loading:!1,grid:{xl:10,lg:10,md:12,sm:24,xs:24},tableList:[],columns:[{type:"selection",width:60,align:"center"},{title:"ID",key:"id",width:60},{title:"门店图片",slot:"image",minWidth:80},{title:"门店名称",key:"name",minWidth:80},{title:"门店分类",key:"cate_name",minWidth:80},{title:"联系电话",key:"phone",minWidth:90},{title:"门店地址",key:"address",ellipsis:!0,minWidth:150},{title:"营业时间",key:"day_time",minWidth:120},{title:"营业状态",key:"status_name",minWidth:80}]}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(a,!0).forEach((function(e){o(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},Object(r.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:120},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){},mounted:function(){this.getList(),this.goodsCategory()},methods:{sortData:function(){var t=this;this.selectEquipsIds.length&&this.tableList.forEach((function(e){t.selectEquipsIds.includes(e.id)&&(e._checked=!0)}))},TableSelectRow:function(t,e){this.selectEquipsIds.includes(e.id)||(this.selectEquipsIds.push(e.id),this.selectEquips.push(e))},TableSelectCancelRow:function(t,e){var a=this.selectEquipsIds.indexOf(e.id);-1!=a&&(this.selectEquipsIds.splice(a,1),this.selectEquips.splice(a,1))},selectAll:function(){for(var t=this.tableList.length-1;t>=0;t--)this.TableSelectRow(null,this.tableList[t])},cancelAll:function(){for(var t=this.tableList.length-1;t>=0;t--)this.TableSelectCancelRow(null,this.tableList[t])},handleSelectAll:function(){this.$refs.table.selectAll(!1)},pageChange:function(t){this.formValidate.page=t,this.getList()},goodsCategory:function(){var t=this;Object(n.a)(1).then((function(e){t.treeSelect=e.data})).catch((function(e){t.$Message.error(e.msg)}))},getList:function(){var t=this;this.loading=!0,Object(n.J)(this.formValidate).then((function(e){t.tableList=e.data.list,t.total=e.data.count,t.sortData(),t.loading=!1})).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},ok:function(){var t=[];this.selectEquips.forEach((function(e){var a={image:e.image,product_id:e.id,store_name:e.store_name,temp_id:e.temp_id};t.push(a)})),t.length>0?this.$emit("getStoreId",this.selectEquips):this.$Message.warning("请先选择商品")},userSearchs:function(){this.formValidate.page=1,this.getList()}}},l=(a("89f9"),a("2877")),c=Object(l.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"goodList"},[a("Form",{ref:"formValidate",staticClass:"tabform",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition,inline:""}},[a("FormItem",{attrs:{label:"门店分类:","label-for":"pid"}},[a("Cascader",{staticClass:"input-add",attrs:{data:t.treeSelect,placeholder:"请选择门店分类","change-on-select":"",filterable:""},model:{value:t.formValidate.cate_id,callback:function(e){t.$set(t.formValidate,"cate_id",e)},expression:"formValidate.cate_id"}})],1),a("FormItem",{attrs:{label:"门店搜索:","label-for":"name"}},[a("Input",{staticClass:"input-add mr14",attrs:{placeholder:"请输入门店名称"},model:{value:t.formValidate.name,callback:function(e){t.$set(t.formValidate,"name",e)},expression:"formValidate.name"}}),a("Button",{attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("搜索")])],1)],1),a("Table",{ref:"table",staticClass:"mr-20",attrs:{"no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果",columns:t.columns,data:t.tableList,loading:t.loading,height:"350"},on:{"on-select-all":t.selectAll,"on-select-all-cancel":t.cancelAll,"on-select":t.TableSelectRow,"on-select-cancel":t.TableSelectCancelRow},scopedSlots:t._u([{key:"image",fn:function(t){var e=t.row;return[a("viewer",[a("div",{staticClass:"tabBox_img"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.image,expression:"row.image"}]})])])]}}])}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1),a("div",{staticClass:"footer",attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary",size:"large",loading:t.modal_loading,long:""},on:{click:t.ok}},[t._v("提交")])],1)],1)}),[],!1,null,"7dca7c24",null);e.a=c.exports},"702e":function(t,e,a){},"73f5":function(t,e,a){"use strict";a.d(e,"y",(function(){return n})),a.d(e,"r",(function(){return i})),a.d(e,"n",(function(){return o})),a.d(e,"q",(function(){return s})),a.d(e,"s",(function(){return l})),a.d(e,"t",(function(){return c})),a.d(e,"j",(function(){return u})),a.d(e,"i",(function(){return d})),a.d(e,"P",(function(){return f})),a.d(e,"h",(function(){return m})),a.d(e,"v",(function(){return b})),a.d(e,"u",(function(){return h})),a.d(e,"w",(function(){return p})),a.d(e,"p",(function(){return _})),a.d(e,"G",(function(){return g})),a.d(e,"H",(function(){return v})),a.d(e,"E",(function(){return y})),a.d(e,"F",(function(){return w})),a.d(e,"g",(function(){return O})),a.d(e,"B",(function(){return j})),a.d(e,"C",(function(){return L})),a.d(e,"D",(function(){return V})),a.d(e,"O",(function(){return k})),a.d(e,"J",(function(){return C})),a.d(e,"I",(function(){return x})),a.d(e,"e",(function(){return S})),a.d(e,"N",(function(){return T})),a.d(e,"l",(function(){return $})),a.d(e,"K",(function(){return D})),a.d(e,"L",(function(){return M})),a.d(e,"M",(function(){return P})),a.d(e,"k",(function(){return I})),a.d(e,"o",(function(){return E})),a.d(e,"z",(function(){return N})),a.d(e,"m",(function(){return q})),a.d(e,"x",(function(){return R})),a.d(e,"f",(function(){return B})),a.d(e,"A",(function(){return F})),a.d(e,"b",(function(){return z})),a.d(e,"d",(function(){return A})),a.d(e,"c",(function(){return J})),a.d(e,"a",(function(){return W}));var r=a("b6bd");function n(t){return Object(r.a)({url:"merchant/store_list",method:"get",params:t})}function i(t){return Object(r.a)({url:"store/order/list",method:"get",params:t})}function o(t){return Object(r.a)({url:"store/order/chart",method:"get",params:t})}function s(t){return Object(r.a)({url:"store/order/header",method:"get"})}function l(t){return Object(r.a)({url:"store/recharge",method:"get",params:t})}function c(t){return Object(r.a)({url:"store/vip_order",method:"get",params:t})}function u(t){return Object(r.a)({url:"store/order/edit/".concat(t),method:"get"})}function d(t){return Object(r.a)({url:"store/order/distribution/".concat(t),method:"get"})}function f(t){return Object(r.a)({url:"store/order/write_update/".concat(t),method:"put"})}function m(t){return Object(r.a)({url:"store/order/info/".concat(t),method:"get"})}function b(t){return Object(r.a)({url:"order/remark/".concat(t.id),method:"put",data:t.remark})}function h(t){return Object(r.a)({url:"store/recharge/remark/".concat(t.id),method:"put",data:t.remark})}function p(t){return Object(r.a)({url:"store/vip/remark/".concat(t.id),method:"put",data:t.remark})}function _(t,e){return Object(r.a)({url:"store/order/export/".concat(e),method:"post",data:t})}function g(t){return Object(r.a)({url:"store/finance_flow/list",method:"get",params:t})}function v(t,e){return Object(r.a)({url:"store/finance_flow/mark/".concat(t),method:"put",params:e})}function y(t){return Object(r.a)({url:"store/finance_flow/fund_record",method:"get",params:t})}function w(t){return Object(r.a)({url:"store/finance_flow/fund_record_info",method:"get",params:t})}function O(t){return Object(r.a)({url:"/export/storeFinanceRecord",method:"get",params:t})}function j(t){return Object(r.a)({url:"/store/extract/list",method:"get",params:t})}function L(t,e){return Object(r.a)({url:"store/extract/mark/".concat(t),method:"post",data:e})}function V(t,e){return Object(r.a)({url:"store/extract/verify/".concat(t),method:"post",data:e})}function k(t){return Object(r.a)({url:"store/extract/transfer/".concat(t),method:"get"})}function C(t){return Object(r.a)({url:"store/store",method:"get",params:t})}function x(t){return Object(r.a)({url:"store/store/get_info/".concat(t),method:"get"})}function S(t){return Object(r.a)({url:"city",method:"get",params:t})}function T(t,e){return Object(r.a)({url:"store/store/".concat(t),method:"post",data:e})}function $(){return Object(r.a)({url:"store/store/address",method:"get"})}function D(t){return Object(r.a)({url:"store/store/login/".concat(t),method:"get"})}function M(t,e){return Object(r.a)({url:"store/store/set_show/".concat(t,"/").concat(e),method:"put"})}function P(t){return Object(r.a)({url:"store/share/order",method:"post",params:t})}function I(t){return Object(r.a)({url:"store/home/header",method:"get",params:t})}function E(t){return Object(r.a)({url:"store/home/orderChart",method:"get",params:t})}function N(t){return Object(r.a)({url:"store/home/store",method:"get",params:t})}function q(t){return Object(r.a)({url:"store/home/operate",method:"get",params:t})}function R(t){return Object(r.a)({url:"store/store/reset_admin/".concat(t),method:"get"})}function B(t,e,a){return Object(r.a)({url:"export/storeFlowExport?store_id=".concat(t,"&keyword=").concat(e,"&data=").concat(a),method:"get"})}function F(t){return Object(r.a)({url:"/store/category",params:t,method:"get"})}function z(t){return Object(r.a)({url:"/store/category/create/".concat(t),method:"get"})}function A(t){return Object(r.a)({url:"/store/category/tree/".concat(t),method:"get"})}function J(t){return Object(r.a)({url:"/store/category/set_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function W(t){return Object(r.a)({url:"store/category/cascader_list/".concat(t),method:"get"})}},"89f9":function(t,e,a){"use strict";var r=a("a41d");a.n(r).a},"8ca8":function(t,e,a){},a41d:function(t,e,a){},b9d4:function(t,e,a){"use strict";var r=a("8ca8");a.n(r).a},c24f:function(t,e,a){"use strict";a.d(e,"W",(function(){return n})),a.d(e,"M",(function(){return i})),a.d(e,"L",(function(){return o})),a.d(e,"k",(function(){return s})),a.d(e,"r",(function(){return l})),a.d(e,"d",(function(){return c})),a.d(e,"h",(function(){return u})),a.d(e,"g",(function(){return d})),a.d(e,"q",(function(){return f})),a.d(e,"s",(function(){return m})),a.d(e,"I",(function(){return b})),a.d(e,"O",(function(){return h})),a.d(e,"K",(function(){return p})),a.d(e,"J",(function(){return _})),a.d(e,"f",(function(){return g})),a.d(e,"e",(function(){return v})),a.d(e,"n",(function(){return y})),a.d(e,"Q",(function(){return w})),a.d(e,"p",(function(){return O})),a.d(e,"P",(function(){return j})),a.d(e,"bb",(function(){return L})),a.d(e,"T",(function(){return V})),a.d(e,"R",(function(){return k})),a.d(e,"S",(function(){return C})),a.d(e,"V",(function(){return x})),a.d(e,"U",(function(){return S})),a.d(e,"X",(function(){return T})),a.d(e,"v",(function(){return $})),a.d(e,"w",(function(){return D})),a.d(e,"Y",(function(){return M})),a.d(e,"i",(function(){return P})),a.d(e,"ab",(function(){return I})),a.d(e,"C",(function(){return E})),a.d(e,"cb",(function(){return N})),a.d(e,"m",(function(){return q})),a.d(e,"Z",(function(){return R})),a.d(e,"F",(function(){return B})),a.d(e,"B",(function(){return F})),a.d(e,"A",(function(){return z})),a.d(e,"z",(function(){return A})),a.d(e,"D",(function(){return J})),a.d(e,"y",(function(){return W})),a.d(e,"x",(function(){return U})),a.d(e,"u",(function(){return G})),a.d(e,"t",(function(){return H})),a.d(e,"o",(function(){return K})),a.d(e,"l",(function(){return Q})),a.d(e,"G",(function(){return X})),a.d(e,"H",(function(){return Y})),a.d(e,"db",(function(){return Z})),a.d(e,"N",(function(){return tt})),a.d(e,"E",(function(){return et})),a.d(e,"b",(function(){return at})),a.d(e,"a",(function(){return rt})),a.d(e,"eb",(function(){return nt})),a.d(e,"j",(function(){return it})),a.d(e,"c",(function(){return ot}));var r=a("b6bd");function n(t){return Object(r.a)({url:"user/user",method:"get",params:t})}function i(t){return Object(r.a)({url:"setting/config/user/".concat(t),method:"get"})}function o(t,e){return Object(r.a)({url:"setting/config/user/".concat(t),method:"post",data:e})}function s(t){return Object(r.a)({url:"user/user/".concat(t,"/edit"),method:"get"})}function l(t){return Object(r.a)({url:"user/set_status/".concat(t.status,"/").concat(t.id),method:"put"})}function c(t){return Object(r.a)({url:"marketing/coupon/grant",method:"get",params:t})}function u(t){return Object(r.a)({url:"user/edit_other/".concat(t),method:"get"})}function d(t){return Object(r.a)({url:"user/user/".concat(t),method:"get"})}function f(t){return Object(r.a)({url:"user/one_info/".concat(t.id),method:"get",params:t.datas})}function m(t){return Object(r.a)({url:"user/user_level/vip_list",method:"get",params:t})}function b(t){return Object(r.a)({url:"user/user_level/set_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function h(t,e){return Object(r.a)({url:"user/user_level/task/".concat(t),method:"get",params:e})}function p(t){return Object(r.a)({url:"user/user_level/set_task_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function _(t){return Object(r.a)({url:"user/user_level/set_task_must/".concat(t.id,"/").concat(t.is_must),method:"PUT"})}function g(t){return Object(r.a)({url:"/user/user_level/create_task",method:"get",params:t})}function v(t){return Object(r.a)({url:"user/user_level/create",method:"get",params:t})}function y(t){return Object(r.a)({url:"user/give_level/".concat(t),method:"get"})}function w(t){return Object(r.a)({url:"user/user_group/list",method:"get",params:t})}function O(t){return Object(r.a)({url:"user/user_group/add/".concat(t),method:"get"})}function j(t){return Object(r.a)({url:"setting/update_admin",method:"PUT",data:t})}function L(t){return Object(r.a)({url:"user/set_group",method:"post",data:t})}function V(t){return Object(r.a)({url:"user/user_label",method:"get",params:t})}function k(t,e){return Object(r.a)({url:"user/user_label/add/".concat(t),method:"get",params:e})}function C(t){return Object(r.a)({url:"user/user_label_cate/all",method:"get",params:t})}function x(t){return Object(r.a)({url:"user/user_label_cate/".concat(t,"/edit"),method:"get"})}function S(t){return Object(r.a)({url:"user/user_label_cate/create",method:"get"})}function T(t){return Object(r.a)({url:"/user/member_batch/index",method:"get",params:t})}function $(t,e){return Object(r.a)({url:"/user/member_batch/save/".concat(t),method:"post",data:e})}function D(t,e){return Object(r.a)({url:"/user/member_batch/set_value/".concat(t),method:"get",params:e})}function M(t,e){return Object(r.a)({url:"/user/member_card/index/".concat(t),method:"get",params:e})}function P(t,e){return Object(r.a)({url:"/export/memberCard/".concat(t),method:"get",params:e})}function I(){return Object(r.a)({url:"/user/member/ship",method:"get"})}function E(t,e){return Object(r.a)({url:"/user/member_ship/save/".concat(t),method:"post",data:e})}function N(){return Object(r.a)({url:"/user/user/syncUsers",method:"get"})}function q(){return Object(r.a)({url:"/user/user/create",method:"get"})}function R(){return Object(r.a)({url:"/user/member_scan",method:"get"})}function B(t,e){return Object(r.a)({url:"user/label/".concat(t),method:"post",data:e})}function F(t){return Object(r.a)({url:"user/member_right/save/".concat(t.id),method:"post",data:t})}function z(){return Object(r.a)({url:"user/member/right",method:"get"})}function A(t){return Object(r.a)({url:"/user/member/record",method:"get",params:t})}function J(){return Object(r.a)({url:"user/member/ship_select",method:"get"})}function W(t){return Object(r.a)({url:"user/member_card/set_status",method:"get",params:t})}function U(t){return Object(r.a)({url:"user/member_ship/set_ship_status",method:"get",params:t})}function G(t,e){return Object(r.a)({url:"user/member_agreement/save/".concat(t),method:"post",data:e})}function H(){return Object(r.a)({url:"user/member/agreement",method:"get"})}function K(t){return Object(r.a)({url:"user/give_level_time/".concat(t),method:"get"})}function Q(t){return Object(r.a)({url:"user/label/".concat(t),method:"get"})}function X(t){return Object(r.a)({url:"user/save_set_label",method:"put",data:t})}function Y(t){return Object(r.a)({url:"setting/info",method:"get"})}function Z(t){return Object(r.a)({url:"user/visit_list/".concat(t.id),method:"get",params:t.datas})}function tt(t){return Object(r.a)({url:"user/spread_list/".concat(t.id),method:"get",params:t.datas})}function et(t){return Object(r.a)({url:"user/user/".concat(t.uid),method:"put",data:t})}function at(t,e){return Object(r.a)({url:"agent/set_agent_agreement/".concat(t),method:"post",data:e})}function rt(){return Object(r.a)({url:"agent/get_agent_agreement",method:"get"})}function nt(){return Object(r.a)({url:"user/synchro/work/label",method:"get"})}function it(t){return Object(r.a)({url:"user/user/extend_info/".concat(t),method:"get"})}function ot(t){return Object(r.a)({url:"user/batch_process",method:"post",data:t})}},f07e:function(t,e,a){"use strict";a.r(e);var r=a("2f62"),n=a("b7be"),i=a("c24f"),o=a("c4c8"),s=a("5671"),l=a("0f0e"),c=a("c4ad"),u=a("f1c7"),d=a("d708");function f(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function m(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?f(a,!0).forEach((function(e){b(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):f(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function b(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var h={name:"addPiecesDiscount",components:{userLabel:l.a,goodsList:c.default,storeLabelList:u.a,storeList:s.a},data:function(){return{storesList:[],storeModals:!1,roterPre:d.a.roterPre,storeDataLabel:[],storeLabelShow:!1,props:{emitPath:!1,multiple:!0},brandData:[],grid:{xl:7,lg:7,md:12,sm:24,xs:24},modals:!1,tableData:[],headTab:[{name:"基础设置",type:"1"},{name:"添加商品",type:"2"},{name:"适用门店",type:"3"}],discountType:[{name:"第2件半价",title:"例:甜筒第2件半价",id:1},{name:"买1送1",title:"例:T恤买1送1",id:2},{name:"自定义优惠",title:"例:第3件打5折",id:3}],activityType:[{name:"优惠券",type:"5"},{name:"满减满折",type:"3"},{name:"限时折扣",type:"1"}],currentTab:"1",dataLabel:[],labelShow:!1,formValidate:{applicable_type:1,name:"",section_time:[],discount:50,threshold:2,is_label:0,label_id:[],is_overlay:"0",overlay:[],product_partake_type:1,product_id:[],n_piece_n_discount:1,brand_id:[],store_label_id:[]},ruleValidate:{name:[{required:!0,message:"请输入活动名称",trigger:"blur"}],section_time:[{required:!0,type:"array",message:"请选择活动时间",trigger:"change"}],is_overlay:[{required:!0,message:"请设置优惠叠加",trigger:"change"}],threshold:[{type:"number",required:!0,message:"请填写优惠设置",trigger:"blur"}]}}},computed:m({},Object(r.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:90},labelPosition:function(){return this.isMobile?"top":"right"},labelBottom:function(){return this.isMobile?void 0:15}}),mounted:function(){this.setCopyrightShow({value:!1}),0!=this.$route.params.id&&this.getDiscountInfo()},destroyed:function(){this.setCopyrightShow({value:!0})},methods:m({},Object(r.d)("admin/layout",["setCopyrightShow"]),{delte:function(t){var e=this;this.storesList.forEach((function(a,r){t.id==a.id&&e.storesList.splice(r,1)}))},addStore:function(){this.storeModals=!0},cancelStore:function(){this.storeModals=!1},getStoreId:function(t){this.storeModals=!1;var e=this.storesList.concat(t),a=this.unique(e);this.storesList=a},closeStoreLabel:function(t){var e=this.storeDataLabel.indexOf(this.storeDataLabel.filter((function(e){return e.id==t.id}))[0]);this.storeDataLabel.splice(e,1)},openStoreLabel:function(){this.storeLabelShow=!0,this.$refs.storeLabel.storeLabel(JSON.parse(JSON.stringify(this.storeDataLabel)))},activeStoreData:function(t){this.storeLabelShow=!1,this.storeDataLabel=t},storeLabelClose:function(){this.storeLabelShow=!1},goodTap:function(t){4==t&&this.getBrandList()},getBrandList:function(){var t=this;Object(o.f)().then((function(e){t.brandData=e.data})).catch((function(e){t.$Message.error(e.msg)}))},discountTypeTap:function(t){this.formValidate.n_piece_n_discount=t.id,1==t.id?(this.formValidate.threshold=2,this.formValidate.discount=50):2==t.id?(this.formValidate.threshold=2,this.formValidate.discount=0):(this.formValidate.threshold=1,this.formValidate.discount=100)},getDiscountInfo:function(){var t=this;this.formValidate.n_piece_n_discount=0,Object(n.B)(this.$route.params.id).then((function(e){t.formValidate=e.data.info,t.storesList=e.data.info.stores||[],t.formValidate.discount=parseFloat(e.data.info.discount),t.formValidate.threshold=parseFloat(e.data.info.threshold),t.formValidate.is_overlay=t.formValidate.is_overlay.toString(),t.tableData=e.data.info.products,t.dataLabel=e.data.info.label_id,t.storeDataLabel=e.data.info.store_label_id,4==e.data.info.product_partake_type&&t.getBrandList()})).catch((function(e){t.$Message.error(e.msg)}))},del:function(t){var e=this;this.tableData.forEach((function(a,r){if(t.id==a.id)return e.tableData.splice(r,1);a.attrValue.forEach((function(n,i){if(t.id==n.id)return 1==a.attrValue.length?e.tableData.splice(r,1):a.attrValue.splice(i,1)}))}))},addLabel:function(){this.$modalForm(Object(i.R)(0)).then((function(){}))},addGoods:function(){this.modals=!0},cancel:function(){this.modals=!1},unique:function(t){var e=new Map;return t.filter((function(t){return!e.has(t.id)&&e.set(t.id,1)}))},getProductId:function(t){this.modals=!1;var e=this.tableData.concat(t),a=this.unique(e);a.forEach((function(t){t.attrValue.forEach((function(e){e.cate_name=t.cate_name,e.store_label=t.store_label}))})),this.tableData=a},onchangeTime:function(t){this.formValidate.section_time=t},closeLabel:function(t){var e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id==t.id}))[0]);this.dataLabel.splice(e,1)},activeData:function(t){this.labelShow=!1,this.dataLabel=t},openLabel:function(t){this.labelShow=!0,this.$refs.userLabel.userLabel(JSON.parse(JSON.stringify(this.dataLabel)))},labelClose:function(){this.labelShow=!1},upTab:function(){1==this.currentTab&&0!=this.formValidate.product_type?this.currentTab=(Number(this.currentTab)-2).toString():this.currentTab=(Number(this.currentTab)-1).toString()},downTab:function(t){var e=this;this.$refs[t].validate((function(t){if(t){if(!e.formValidate.threshold)return e.$Message.warning("请填写优惠设置的件数");if(null==e.formValidate.discount)return e.$Message.warning("请填写优惠设置的折扣");if(e.formValidate.is_label&&!e.dataLabel.length)return e.$Message.warning("请选择用户关联标签");if(parseInt(e.formValidate.is_overlay)&&!e.formValidate.overlay.length)return e.$Message.warning("请选择叠加的营销活动");if(""==e.formValidate.section_time[0])return e.$Message.warning("请选择活动时间");e.currentTab=(Number(e.currentTab)+1).toString()}else e.$Message.warning("请完善数据")}))},handleSubmit:function(t){var e=this;this.$refs[t].validate((function(t){if(t){if(!e.formValidate.threshold)return e.$Message.warning("请填写优惠设置");if(e.formValidate.is_label&&!e.dataLabel.length)return e.$Message.warning("请选择用户关联标签");if(parseInt(e.formValidate.is_overlay)&&!e.formValidate.overlay.length)return e.$Message.warning("请选择叠加的营销活动");if(""==e.formValidate.section_time[0])return e.$Message.warning("请选择活动时间");if(4==e.formValidate.product_partake_type&&!e.formValidate.brand_id.length)return e.$Message.error("请添加指定品牌");if(5==e.formValidate.product_partake_type){var a=[];if(e.storeDataLabel.forEach((function(t){a.push(t.id)})),!a.length)return e.$Message.error("请添加指定标签");e.formValidate.store_label_id=a}var r=[];e.dataLabel.forEach((function(t){r.push(t.id)})),0==e.formValidate.is_label?e.formValidate.label_id=[]:e.formValidate.label_id=r;var i=[];if(e.tableData.forEach((function(t){var e={product_id:t.id,unique:[]};t.attrValue.length&&t.attrValue.forEach((function(t){e.unique.push(t.unique)})),i.push(e)})),2==e.formValidate.product_partake_type&&!i.length)return e.$Message.error("请添加商品");e.formValidate.product_id=i;var o=[];if(e.storesList.forEach((function(t){o.push(t.id)})),2==e.formValidate.applicable_type&&!o.length)return e.$Message.warning("请添加适用门店");e.formValidate.applicable_store_id=o,Object(n.pb)(2,e.$route.params.id,e.formValidate).then((function(t){e.$router.push({path:"".concat(e.roterPre,"/marketing/discount/pieces_discount")}),e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t.msg)}))}else e.$Message.warning("请完善数据")}))}})},p=(a("b9d4"),a("2877")),_=Object(p.a)(h,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-submit"},[a("div",{staticClass:"i-layout-page-header"},[a("PageHeader",{staticClass:"product_tabs",attrs:{"hidden-breadcrumb":""}},[a("div",{attrs:{slot:"title"},slot:"title"},[a("router-link",{attrs:{to:{path:t.roterPre+"/marketing/discount/pieces_discount"}}},[a("div",{staticClass:"font-sm after-line"},[a("span",{staticClass:"iconfont iconfanhui"}),a("span",{staticClass:"pl10"},[t._v("返回")])])]),a("span",{staticClass:"mr20 ml16",domProps:{textContent:t._s("0"!==t.$route.params.id?"编辑第N件N折":"添加第N件N折")}})],1)])],1),a("Card",{staticClass:"ivu-mt",staticStyle:{"margin-bottom":"79px"},attrs:{bordered:!1,"dis-hover":""}},[a("Tabs",{model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},t._l(t.headTab,(function(t,e){return a("TabPane",{key:e,attrs:{label:t.name,name:t.type}})})),1),a("Form",{ref:"formValidate",staticClass:"formValidate mt20",attrs:{rules:t.ruleValidate,model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[a("Row",{directives:[{name:"show",rawName:"v-show",value:"1"===t.currentTab,expression:"currentTab === '1'"}],attrs:{gutter:24,type:"flex"}},[a("FormItem",{attrs:{label:"优惠类型:",props:"coupon_type"}},t._l(t.discountType,(function(e,r){return a("div",{key:r,staticClass:"productType",class:t.formValidate.n_piece_n_discount==e.id?"on":"",on:{click:function(a){return t.discountTypeTap(e)}}},[a("div",{staticClass:"name",class:t.formValidate.n_piece_n_discount==e.id?"on":""},[t._v(t._s(e.name))]),a("div",{staticClass:"title"},[t._v("("+t._s(e.title)+")")]),t.formValidate.n_piece_n_discount==e.id?a("div",{staticClass:"jiao"}):t._e(),t.formValidate.n_piece_n_discount==e.id?a("div",{staticClass:"iconfont iconduihao"}):t._e()])})),0),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"活动名称:",prop:"name"}},[a("Input",{directives:[{name:"width",rawName:"v-width",value:"50%",expression:"'50%'"}],attrs:{placeholder:"请输入活动名称"},model:{value:t.formValidate.name,callback:function(e){t.$set(t.formValidate,"name",e)},expression:"formValidate.name"}})],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"活动时间:",prop:"section_time"}},[a("div",{staticClass:"acea-row row-middle"},[a("DatePicker",{directives:[{name:"width",rawName:"v-width",value:"50%",expression:"'50%'"}],attrs:{editable:!1,type:"daterange",format:"yyyy-MM-dd",placeholder:"请选择活动时间",value:t.formValidate.section_time},on:{"on-change":t.onchangeTime},model:{value:t.formValidate.section_time,callback:function(e){t.$set(t.formValidate,"section_time",e)},expression:"formValidate.section_time"}})],1)])],1),3==t.formValidate.n_piece_n_discount?a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"优惠设置:",prop:"threshold"}},[a("InputNumber",{directives:[{name:"width",rawName:"v-width",value:"150",expression:"'150'"}],attrs:{precision:0,max:99999999,min:1},model:{value:t.formValidate.threshold,callback:function(e){t.$set(t.formValidate,"threshold",e)},expression:"formValidate.threshold"}}),a("span",{staticClass:"ml10 mr10"},[t._v("件")]),a("InputNumber",{directives:[{name:"width",rawName:"v-width",value:"150",expression:"'150'"}],attrs:{precision:0,max:100,min:1},model:{value:t.formValidate.discount,callback:function(e){t.$set(t.formValidate,"discount",e)},expression:"formValidate.discount"}}),a("span",{staticClass:"ml10"},[t._v("%")])],1)],1):t._e(),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"关联标签:"}},[a("i-switch",{attrs:{"true-value":1,"false-value":0,size:"large"},model:{value:t.formValidate.is_label,callback:function(e){t.$set(t.formValidate,"is_label",e)},expression:"formValidate.is_label"}},[a("span",{attrs:{slot:"open"},slot:"open"},[t._v("开启")]),a("span",{attrs:{slot:"close"},slot:"close"},[t._v("关闭")])]),t.formValidate.is_label?a("div",{staticClass:"acea-row row-middle mt10"},[a("div",{staticClass:"labelInput acea-row row-between-wrapper",on:{click:t.openLabel}},[a("div",{staticStyle:{width:"90%"}},[t.dataLabel.length?a("div",t._l(t.dataLabel,(function(e,r){return a("Tag",{attrs:{closable:""},on:{"on-close":function(a){return t.closeLabel(e)}}},[t._v(t._s(e.label_name))])})),1):a("span",{staticClass:"span"},[t._v("选择用户关联标签")])]),a("div",{staticClass:"iconfont iconxiayi"})]),a("span",{staticClass:"addClass",on:{click:t.addLabel}},[t._v("新增标签")])]):t._e()],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"优惠叠加:",prop:"is_overlay"}},[a("RadioGroup",{attrs:{vertical:""},model:{value:t.formValidate.is_overlay,callback:function(e){t.$set(t.formValidate,"is_overlay",e)},expression:"formValidate.is_overlay"}},[a("Radio",{attrs:{label:"0"}},[a("Icon",{attrs:{type:"social-apple"}}),a("span",[t._v("不叠加其他营销活动")])],1),a("Radio",{attrs:{label:"1"}},[a("Icon",{attrs:{type:"social-android"}}),a("span",[t._v("叠加其他营销活动")])],1)],1),1==t.formValidate.is_overlay?a("CheckboxGroup",{staticClass:"checkAlls",attrs:{size:"small"},model:{value:t.formValidate.overlay,callback:function(e){t.$set(t.formValidate,"overlay",e)},expression:"formValidate.overlay"}},t._l(t.activityType,(function(e,r){return a("Checkbox",{attrs:{label:e.type}},[t._v(t._s(e.name))])})),1):t._e()],1)],1)],1),a("div",{directives:[{name:"show",rawName:"v-show",value:"2"===t.currentTab,expression:"currentTab === '2'"}]},[a("Row",{staticClass:"mb20",attrs:{gutter:24,type:"flex"}},[a("Col",{attrs:{span:"24"}},[a("RadioGroup",{on:{"on-change":t.goodTap},model:{value:t.formValidate.product_partake_type,callback:function(e){t.$set(t.formValidate,"product_partake_type",e)},expression:"formValidate.product_partake_type"}},[a("Radio",{attrs:{label:1}},[t._v("全部商品参与")]),a("Radio",{attrs:{label:2}},[t._v("指定商品参与")]),a("Radio",{attrs:{label:4}},[t._v("指定品牌参与")]),a("Radio",{attrs:{label:5}},[t._v("指定商品标签参与")])],1)],1),2==t.formValidate.product_partake_type?a("Col",{staticClass:"mt20",attrs:{span:"24"}},[a("Button",{attrs:{type:"primary"},on:{click:t.addGoods}},[t._v("添加商品")])],1):t._e()],1),2==t.formValidate.product_partake_type?a("div",{staticClass:"vxeTable"},[a("vxe-table",{ref:"xTree",attrs:{border:"inner","column-config":{resizable:!0},"row-id":"id","tree-config":{children:"attrValue",reserve:!0},data:t.tableData}},[a("vxe-column",{attrs:{field:"info",title:"商品信息","tree-node":"","min-width":"300"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[a("div",{staticClass:"imgPic acea-row row-middle"},[a("viewer",[a("div",{staticClass:"pictrue"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r.image,expression:"row.image"}]})])]),a("div",{staticClass:"info"},[a("Tooltip",{attrs:{"max-width":"200",placement:"bottom",transfer:""}},[a("span",{staticClass:"line2"},[t._v(t._s(r.store_name)+t._s(r.suk))]),a("p",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(r.store_name)+t._s(r.suk))])])],1)],1)]}}],null,!1,1988674042)}),a("vxe-column",{attrs:{field:"cate_name",title:"商品分类","min-width":"150"}}),a("vxe-column",{attrs:{field:"store_label",title:"商品标签","min-width":"150"}}),a("vxe-column",{attrs:{field:"price",title:"售价","min-width":"80"}}),a("vxe-column",{attrs:{field:"cost",title:"成本价","min-width":"80"}}),a("vxe-column",{attrs:{field:"stock",title:"库存","min-width":"80"}}),a("vxe-column",{attrs:{field:"date",title:"操作","min-width":"150",fixed:"right",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[a("a",{on:{click:function(e){return t.del(r)}}},[t._v("删除")])]}}],null,!1,1383043590)})],1)],1):t._e(),4==t.formValidate.product_partake_type?a("FormItem",{attrs:{label:"选择品牌:",required:""}},[a("el-cascader",{directives:[{name:"width",rawName:"v-width",value:"50%",expression:"'50%'"}],attrs:{placeholder:"请选择商品品牌",size:"mini",options:t.brandData,props:t.props,filterable:"",clearable:""},model:{value:t.formValidate.brand_id,callback:function(e){t.$set(t.formValidate,"brand_id",e)},expression:"formValidate.brand_id"}})],1):t._e(),5==t.formValidate.product_partake_type?a("FormItem",{attrs:{label:"选择标签:",required:""}},[a("div",{staticClass:"labelInput acea-row row-between-wrapper",on:{click:t.openStoreLabel}},[a("div",{staticStyle:{width:"90%"}},[t.storeDataLabel.length?a("div",t._l(t.storeDataLabel,(function(e){return a("Tag",{key:e.id,attrs:{closable:""},on:{"on-close":function(a){return t.closeStoreLabel(e)}}},[t._v(t._s(e.label_name))])})),1):a("span",{staticClass:"span"},[t._v("请选择")])]),a("div",{staticClass:"iconfont iconxiayi"})])]):t._e()],1),a("div",{directives:[{name:"show",rawName:"v-show",value:"3"===t.currentTab,expression:"currentTab === '3'"}]},[a("Row",{staticClass:"mb20",attrs:{gutter:24,type:"flex"}},[a("Col",{attrs:{span:"24"}},[a("RadioGroup",{model:{value:t.formValidate.applicable_type,callback:function(e){t.$set(t.formValidate,"applicable_type",e)},expression:"formValidate.applicable_type"}},[a("Radio",{attrs:{label:1}},[t._v("全部门店")]),a("Radio",{attrs:{label:2}},[t._v("部分门店")]),a("Radio",{attrs:{label:0}},[t._v("仅平台适用")])],1),a("div",{staticClass:"tips"},[t._v("可选择活动在哪些门店使用,选择“仅平台适用“则购买门店商品不享受活动")])],1),2==t.formValidate.applicable_type?a("Col",{staticClass:"mt20",attrs:{span:"24"}},[a("Button",{attrs:{type:"primary"},on:{click:t.addStore}},[t._v("添加门店")])],1):t._e()],1),2==t.formValidate.applicable_type?a("div",{staticClass:"vxeTable"},[a("vxe-table",{ref:"xTree",attrs:{border:"inner","row-id":"id",data:t.storesList}},[a("vxe-column",{attrs:{field:"id",title:"ID","min-width":"60"}}),a("vxe-column",{attrs:{field:"info",title:"门店图片","tree-node":"","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(t){var e=t.row;return[a("div",{staticClass:"imgPic acea-row row-middle"},[a("viewer",[a("div",{staticClass:"pictrue"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.image,expression:"row.image"}]})])])],1)]}}],null,!1,3598873617)}),a("vxe-column",{attrs:{field:"cate_name",title:"门店分类","min-width":"80"}}),a("vxe-column",{attrs:{field:"name",title:"门店名称","min-width":"80"}}),a("vxe-column",{attrs:{field:"phone",title:"联系电话","min-width":"90"}}),a("vxe-column",{attrs:{field:"address",title:"门店地址","min-width":"150"}}),a("vxe-column",{attrs:{field:"day_time",title:"营业时间","min-width":"120"}}),a("vxe-column",{attrs:{field:"status_name",title:"营业状态","min-width":"80"}}),a("vxe-column",{attrs:{field:"date",title:"操作","min-width":"100",fixed:"right",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[a("a",{on:{click:function(e){return t.delte(r)}}},[t._v("删除")])]}}],null,!1,3111734551)})],1)],1):t._e()],1)],1)],1),a("Card",{staticClass:"fixed-card",attrs:{bordered:!1,"dis-hover":""}},[a("Form",[a("FormItem",["1"!==t.currentTab?a("Button",{staticStyle:{"margin-right":"10px"},on:{click:t.upTab}},[t._v("上一步")]):t._e(),"3"!==t.currentTab?a("Button",{staticClass:"submission",attrs:{type:"primary"},on:{click:function(e){return t.downTab("formValidate")}}},[t._v("下一步")]):a("Button",{staticClass:"submission",attrs:{type:"primary"},on:{click:function(e){return t.handleSubmit("formValidate")}}},[t._v("保存并发布")])],1)],1)],1),a("Modal",{attrs:{scrollable:"",title:"选择用户标签",closable:!0,width:"540","footer-hide":!0,"mask-closable":!1},model:{value:t.labelShow,callback:function(e){t.labelShow=e},expression:"labelShow"}},[a("userLabel",{ref:"userLabel",on:{activeData:t.activeData,close:t.labelClose}})],1),a("Modal",{attrs:{scrollable:"",title:"选择商品标签",closable:!0,width:"540","footer-hide":!0,"mask-closable":!1},model:{value:t.storeLabelShow,callback:function(e){t.storeLabelShow=e},expression:"storeLabelShow"}},[a("storeLabelList",{ref:"storeLabel",on:{activeData:t.activeStoreData,close:t.storeLabelClose}})],1),a("Modal",{staticClass:"paymentFooter",attrs:{title:"商品列表",footerHide:"",scrollable:"",width:"900"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[t.modals?a("goods-list",{ref:"goodslist",attrs:{ischeckbox:!0,isdiy:!0},on:{getProductId:t.getProductId}}):t._e()],1),a("Modal",{attrs:{title:"门店列表",footerHide:"",scrollable:"",width:"900"},on:{"on-cancel":t.cancelStore},model:{value:t.storeModals,callback:function(e){t.storeModals=e},expression:"storeModals"}},[t.storeModals?a("store-list",{ref:"storelist",on:{getStoreId:t.getStoreId}}):t._e()],1)],1)}),[],!1,null,"52ab8a27",null);e.default=_.exports},f1c7:function(t,e,a){"use strict";var r=a("c4c8"),n={name:"storeLabelList",props:{},data:function(){return{labelList:[],dataLabel:[],isStore:!1}},mounted:function(){},methods:{inArray:function(t,e){for(var a in e)if(e[a].id===t)return!0;return!1},storeLabel:function(t){var e=this;this.dataLabel=t,Object(r.cb)().then((function(t){t.data.map((function(t){t.children&&t.children.length&&(e.isStore=!0,t.children.map((function(t){e.inArray(t.id,e.dataLabel)?t.disabled=!0:t.disabled=!1})))})),e.labelList=t.data})).catch((function(t){e.$Message.error(t.msg)}))},selectLabel:function(t){if(t.disabled){var e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id===t.id}))[0]);this.dataLabel.splice(e,1),t.disabled=!1}else this.dataLabel.push({label_name:t.label_name,id:t.id}),t.disabled=!0},subBtn:function(){this.$emit("activeData",JSON.parse(JSON.stringify(this.dataLabel)))},cancel:function(){this.$emit("close")}}},i=(a("4f9c"),a("2877")),o=Object(i.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"label-wrapper"},[a("div",{staticClass:"list-box"},[t._l(t.labelList,(function(e,r){return t.isStore?a("div",{key:r,staticClass:"label-box"},[e.children&&e.children.length?a("div",{staticClass:"title"},[t._v(t._s(e.label_name))]):t._e(),e.children&&e.children.length?a("div",{staticClass:"list"},t._l(e.children,(function(e,r){return a("div",{key:r,staticClass:"label-item",class:{on:e.disabled},on:{click:function(a){return t.selectLabel(e)}}},[t._v(t._s(e.label_name))])})),0):t._e()]):t._e()})),t.isStore?t._e():a("div",[t._v("暂无标签")])],2),a("div",{staticClass:"footer"},[a("Button",{staticClass:"btns",attrs:{type:"primary"},on:{click:t.subBtn}},[t._v("确定")]),a("Button",{staticClass:"btns",attrs:{type:"primary",ghost:""},on:{click:t.cancel}},[t._v("取消")])],1)])}),[],!1,null,"96f98f60",null);e.a=o.exports}}]);
|