王总上门按摩后台代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
18 KiB

2 months ago
webpackJsonp([6],{DlMc:function(e,t,i){var s=i("gApy"),r=i("DtRx"),o=r;o.v1=s,o.v4=r,e.exports=o},DtRx:function(e,t,i){var s=i("i4uy"),r=i("MAlW");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||s)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var n=0;n<16;++n)t[o+n]=a[n];return t||r(a)}},MAlW:function(e,t){for(var i=[],s=0;s<256;++s)i[s]=(s+256).toString(16).substr(1);e.exports=function(e,t){var s=t||0,r=i;return[r[e[s++]],r[e[s++]],r[e[s++]],r[e[s++]],"-",r[e[s++]],r[e[s++]],"-",r[e[s++]],r[e[s++]],"-",r[e[s++]],r[e[s++]],"-",r[e[s++]],r[e[s++]],r[e[s++]],r[e[s++]],r[e[s++]],r[e[s++]]].join("")}},c7fx:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("Dd8w"),r=i.n(s),o=i("Gu7T"),a=i.n(o),n=i("mvHQ"),c=i.n(n),l=i("Xxa5"),m=i.n(l),p=i("exGp"),u=i.n(p),d=i("DlMc"),h=i.n(d),g=i("NYxO"),f={data:function(){return{parimarForm:[],parimarOptions:[],distribution:{},tips:{cash_1:",请谨慎选择",cash_2:",请谨慎输入此金额",user:{1:"用户消费, 其上线所得提成,无上线时无提成。提成为百分比,取值1%到100%",2:"用户消费, 其上线所得提成,无上线时无提成。提成为固定金额,最多保留两位小数,若输入的金额大于所购买规格的商品,也是按照输入的金额来进行提成"},staff:{1:"用户消费, 其对应员工所得提成。当消费的用户的上线与消费所属"+this.$t("menu.BusinessCard")+"为同一个人时, 只计算员工提成, 如果没有设置员工提成则计算分销提成, 都没有设置则不计算。提成为百分比,取值1%到100%",2:"用户消费, 其对应员工所得提成。当消费的用户的上线与消费所属"+this.$t("menu.BusinessCard")+"为同一个人时, 只计算员工提成, 如果没有设置员工提成则计算分销提成, 都没有设置则不计算。提成为固定金额,最多保留两位小数,若输入的金额大于所购买规格的商品,也是按照输入的金额来进行提成"}},link_options:[{label:"其他小程序",value:2},{label:"跳转网页",value:3}],jumpType:{2:"请输入小程序appid",3:"请输入网页链接"},testprice:1,testContent:"测试",dialogSwitch:!1,dialogTitle:"添加规格",dialogType:"add",dialogIndex:"",specsName:"",batchValue:"0",dialogPriceTitle:"",dialogPriceVisible:!1,id:"",navTitle:"",copySpecsItem:[],defaultParams:{checkStrictly:!0,multiple:!0,label:"name",value:"id",isDisabled:!0},parForm:{},specIsImg:!1,imgForm:{name:"",carte:[],cover:[],images:[],image_url:"",jump_type:"",video_url:"",desc:"",price:"",phone:"",sort:0},imgFormRules:{name:{required:!0,validator:this.$reg.isNotNull,text:"商品名称",reg_type:2,trigger:"blur"},price:{required:!0,validator:this.$reg.isMoney,text:"商品价格",trigger:"blur"},carte:{required:!0,type:"array",message:"请选择商品分类",trigger:["blur","change"]},cover:{required:!0,type:"array",message:"请上传图片",trigger:["blur","change"]},images:{required:!0,type:"array",message:"请上传图片",trigger:["blur","change"]},desc:{required:!0,validator:this.$reg.isNotNull,text:"商品详情",reg_type:2,trigger:"blur"},phone:{required:!0,validator:this.$reg.isTel,text:"电话号码",trigger:"blur"}},sendForm:{checkList:[]},options:{},companyResult:[],isMemberAuth:!1,levelList:[],memberForm:{is_member:0,is_discount:0,discount_data:[]}}},created:function(){var e=this;return u()(m.a.mark(function t(){var i;return m.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=e.$route.query.id,e.id=i,e.navTitle=e.$t(i?"menu.MallGoodEdit":"menu.MallGoodAdd"),t.next=5,e.getSelectOptions();case 5:if(!i){t.next=8;break}return t.next=8,e.getGoodsInfo();case 8:case"end":return t.stop()}},t,e)}))()},methods:{changeParmar:function(e){var t=this;this.$api.getTemplateInfo({template_id:e}).then(function(e){t.parimarForm=e.data.info})},getGoodsInfo:function(){var e=this;return u()(m.a.mark(function t(){return m.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.$api.mall.editGoods({id:e.id}).then(funct