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
3.0 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/rebate/withdrawal"],{"0216":function(t,e,n){"use strict";(function(t,e){var a=n("47a9");n("7859");a(n("3240"));var i=a(n("647b"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"436d":function(t,e,n){"use strict";var a=n("69a8"),i=n.n(a);i.a},4549:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"withdrawal",data:function(){return{balance:0,canbalance:"",zfbAccount:"",zfbName:"",realBalance:"",shopId:"",isClick:!1,user:"",isOnLine:"0"}},created:function(){this.user=t.getStorageSync("username"),this.getArea()},onLoad:function(e){this.canbalance=e.balance,this.shopId=t.getStorageSync("shopId")},methods:{getArea:function(){var e=this;this.tui.request("/app/operatingArea/getByArea","post",{province:"",city:"",area:"",shippingType:0,seachParams:"测试"},!1,!0).then((function(n){e.status="nomore",200==n.code?(e.isOnLine=n.result.operatingAreaList[0].isOnLine,"0"==n.result.operatingAreaList[0].isOnLine&&t.setNavigationBarTitle({title:"测试页面"})):e.tui.toast(n.message)}))},onQuanbuClick:function(){this.realBalance=this.canbalance},onSubmit:function(){var e=this;"13521030702"!=this.user?(this.isClick=!0,Number(this.realBalance)>Number(this.canbalance)?this.tui.toast("提现金额不能大于账户余额!"):""!=this.realBalance&&""!=this.zfbName&&""!=this.zfbAccount?this.realBalance<.1?this.tui.toast("提现金额不能小于0.1元"):this.tui.request("/app/returnCommission/handleReturn","post",{commission:this.realBalance,shopId:this.shopId,aliName:this.zfbName,aliAccount:this.zfbAccount},!1,!1,!0).then((function(n){200==n.code?(e.tui.toast(n.message),setTimeout((function(){t.reLaunch({url:"/pages/rebate/rebate"})}),2e3)):(e.tui.toast(n.message),setTimeout((function(){e.isClick=!1}),2e3))})):this.tui.toast("信息填写完整后再进行操作!")):this.tui.toast("测试账户不能提现!")}}};e.default=n}).call(this,n("df3c")["default"])},"647b":function(t,e,n){"use strict";n.r(e);var a=n("944d"),i=n("78ce");for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("436d");var s=n("828b"),o=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"20269231",null,!1,a["a"],void 0);e["default"]=o.exports},"69a8":function(t,e,n){},"78ce":function(t,e,n){"use strict";n.r(e);var a=n("4549"),i=n.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=i.a},"944d":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var a={uniCard:function(){return n.e("uni_modules/uni-card/components/uni-card/uni-card").then(n.bind(null,"1e6b"))},uButton:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-button/u-button")]).then(n.bind(null,"e681"))}},i=function(){var t=this.$createElement;this._self._c},u=[]}},[["0216","common/runtime","common/vendor"]]]);