(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesStore/me/cashSet"],{"0b35":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(e("644f")),c=e("aa6f"),r=e("8dd4");function o(n){return n&&n.__esModule?n:{default:n}}function u(n,t,e,a,c,r,o){try{var u=n[r](o),i=u.value}catch(f){return void e(f)}u.done?t(i):Promise.resolve(i).then(a,c)}function i(n){return function(){var t=this,e=arguments;return new Promise((function(a,c){var r=n.apply(t,e);function o(n){u(r,a,c,o,i,"next",n)}function i(n){u(r,a,c,o,i,"throw",n)}o(void 0)}))}}var f=function(){e.e("components/plugin/list-cell").then(function(){return resolve(e("1861"))}.bind(null,e)).catch(e.oe)},s=function(){Promise.all([e.e("common/vendor"),e.e("components/module/app-avatar")]).then(function(){return resolve(e("d84d"))}.bind(null,e)).catch(e.oe)},l=e("90f4"),d={name:"cashSet",components:{TuiListCell:f,AppAvatarModule:s},data:function(){return{form:{cashAccount:"",cashName:""},roleList:[],roleSelData:{},showStaffArea:!0,miniCodeSrc:"",memberData:{}}},onLoad:function(){},onShow:function(){n.setNavigationBarTitle({title:"提现帐号设置"})},methods:{init:function(){var n=i(a.default.mark((function n(){var t,e;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,r.currentShop)();case 3:t=n.sent,e=t.data,this.form.cashAccount=e.cashAccount,this.form.cashName=e.cashName,this.$forceUpdate();case 8:return n.prev=8,n.finish(8);case 10:case"end":return n.stop()}}),n,this,[[0,,8,10]])})));function t(){return n.apply(this,arguments)}return t}(),confirmFn:function(){var t=this;(0,c.cashUpdate)(this.form).then((function(e){t.$msg("操作成功"),setTimeout((function(){n.navigateBack()}),1300)}))},formSubmit:function(n){var t=[{name:"cashName",rule:["required"],msg:["请输入姓名"]},{name:"cashAccount",rule:["required"],msg:["请输入帐号"]}],e=n.detail.value,a=l.validation(e,t);a?this.$msg(a):this.confirmFn()}}};t.default=d}).call(this,e("1480")["default"])},"0c7d":function(n,t,e){"use strict";e.r(t);var a=e("0b35"),c=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(r);t["default"]=c.a},"375f":function(n,t,e){"use strict";var a;e.d(t,"b",(function(){return c})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return a}));var c=function(){var n=this,t=n.$createElement;n._self._c},r=[]},"48d5":function(n,t,e){"use strict";var a=e("cc44"),c=e.n(a);c.a},"8cb7":function(n,t,e){"use strict";(function(n){e("6cdc");a(e("e3ac"));var t=a(e("b3d0"));function a(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("1480")["createPage"])},b3d0:function(n,t,e){"use strict";e.r(t);var a=e("375f"),c=e("0c7d");for(var r in c)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return c[n]}))}(r);e("48d5");var o,u=e("41a2"),i=Object(u["a"])(c["default"],a["b"],a["c"],!1,null,"6e66c814",null,!1,a["a"],o);t["default"]=i.exports},cc44:function(n,t,e){}},[["8cb7","common/runtime","common/vendor"]]]);