chunk-a73f13dc.9b79d243.js 5.0 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-a73f13dc"],{"3c9c":function(t,e,s){},"5be2":function(t,e,s){"use strict";s.d(e,"c",(function(){return r})),s.d(e,"d",(function(){return i})),s.d(e,"a",(function(){return o})),s.d(e,"b",(function(){return l})),s.d(e,"e",(function(){return n})),s.d(e,"f",(function(){return c}));var a=s("f175");const r=()=>a.a.get("/settings.user.user/getConfig"),i=t=>a.a.post("/settings.user.user/setConfig",t),o=()=>a.a.get("/settings.user.user/getRegisterConfig"),l=t=>a.a.post("/settings.user.user/setRegisterConfig",t),n=()=>a.a.get("/settings.user.user/getWithdrawConfig"),c=t=>a.a.post("/settings.user.user/setWithdrawConfig",t)},6143:function(t,e,s){"use strict";s.r(e);var a=s("9ab4"),r=s("1b40"),i=s("5be2");let o=class extends r.e{constructor(){super(...arguments),this.form={withdraw_way:[],withdraw_min_money:0,withdraw_max_money:0,withdraw_service_charge:0,scene:"withdraw",transfer_way:1},this.formRules={withdraw_way:[{type:"array",required:!0,message:"默认需要保留至少一种提现方法",trigger:"change"}]}}getWithdrawDeposit(){Object(i.e)().then(t=>{this.form=t}).catch(()=>{})}setWithdrawDeposit(){this.form.scene="withdraw",this.form.withdraw_min_money=Number(this.form.withdraw_min_money),this.$refs.formRef.validate(t=>{t&&Object(i.f)(this.form).then(t=>{setTimeout(()=>{this.getWithdrawDeposit()},50)}).catch(()=>{})})}created(){this.getWithdrawDeposit()}};o=Object(a.a)([Object(r.a)({components:{}})],o);var l=o,n=(s("7555"),s("2877")),c=Object(n.a)(l,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"withdraw_deposit"},[e("div",{staticClass:"ls-card"},[e("el-alert",{attrs:{title:"温馨提示:设置钱包可提现金额的提现方式,可提现金额来源于各类佣金奖励。",type:"info",closable:!1,"show-icon":""}})],1),e("el-form",{ref:"formRef",attrs:{model:t.form,rules:t.formRules,"label-width":"120px",size:"small"}},[e("div",{staticClass:"ls-card m-t-16"},[e("div",{staticClass:"card-title"},[t._v("提现设置")]),e("div",{staticClass:"card-content m-t-24"},[e("el-form-item",{attrs:{label:"提现方法",prop:"withdraw_way"}},[e("el-checkbox-group",{model:{value:t.form.withdraw_way,callback:function(e){t.$set(t.form,"withdraw_way",e)},expression:"form.withdraw_way"}},[e("el-checkbox",{attrs:{label:"1"}},[t._v("账户余额(默认)")]),e("el-checkbox",{attrs:{label:"2"}},[t._v("微信零钱")]),e("el-checkbox",{attrs:{label:"4"}},[t._v("微信收款码")]),e("el-checkbox",{attrs:{label:"5"}},[t._v("支付宝收款码")]),e("el-checkbox",{attrs:{label:"3"}},[t._v("银行卡")])],1),e("div",{staticClass:"muted xs"},[t._v("默认需要保留至少一种提现方法")])],1),e("el-form-item",{attrs:{label:"微信零钱接口",prop:"transfer_way"}},[e("el-radio-group",{staticClass:"m-r-16",model:{value:t.form.transfer_way,callback:function(e){t.$set(t.form,"transfer_way",e)},expression:"form.transfer_way"}},[e("el-radio",{attrs:{label:1}},[t._v("企业付款到零钱")]),e("el-radio",{attrs:{label:2}},[t._v("商家转账到零钱")])],1),1==t.form.transfer_way?e("div",{staticClass:"muted xs"},[t._v(" 企业付款到零钱:需在微信支付中开通“企业付款到零钱”功能,仅支持微信支付接口 V2 ")]):t._e(),2==t.form.transfer_way?e("div",{staticClass:"muted xs"},[t._v(" 商家转账到零钱:需在微信支付中开通“商家转账到零钱”功能,支持微信支付接口 V2、V3 ")]):t._e()],1),e("el-form-item",{attrs:{label:"最低提现金额",prop:"withdraw_min_money"}},[e("el-input",{staticClass:"ls-input",attrs:{placeholder:"请输入金额"},model:{value:t.form.withdraw_min_money,callback:function(e){t.$set(t.form,"withdraw_min_money",e)},expression:"form.withdraw_min_money"}},[e("template",{slot:"append"},[t._v("元")])],2),e("div",{staticClass:"muted xs"},[t._v("会员提现需满足最低提现金额。才能提交提现申请。")])],1),e("el-form-item",{attrs:{label:"最高提现金额"}},[e("el-input",{staticClass:"ls-input",attrs:{placeholder:"请输入金额"},model:{value:t.form.withdraw_max_money,callback:function(e){t.$set(t.form,"withdraw_max_money",e)},expression:"form.withdraw_max_money"}},[e("template",{slot:"append"},[t._v("元")])],2),e("div",{staticClass:"muted xs"},[t._v("会员提现允许的最高提现金额。")])],1),e("el-form-item",{attrs:{label:"提现手续费"}},[e("el-input",{staticClass:"ls-input",attrs:{placeholder:"请输入提现手续费"},model:{value:t.form.withdraw_service_charge,callback:function(e){t.$set(t.form,"withdraw_service_charge",e)},expression:"form.withdraw_service_charge"}},[e("template",{slot:"append"},[t._v("%")])],2),e("div",{staticClass:"muted xs"},[t._v("会员提现时收取的手续费占比。")])],1)],1)])]),e("div",{staticClass:"bg-white ls-fixed-footer"},[e("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[e("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.setWithdrawDeposit()}}},[t._v("保存")])],1)])],1)}),[],!1,null,"221924cc",null);e.default=c.exports},7555:function(t,e,s){"use strict";s("3c9c")}}]);