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.
2 lines
4.0 KiB
2 lines
4.0 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/rebate/withdrawal"],{282:function(e,t,n){"use strict";(function(e,t){var a=n(4);n(26);a(n(25));var i=a(n(283));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n(1)["default"],n(2)["createPage"])},283:function(e,t,n){"use strict";n.r(t);var a=n(284),i=n(286);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n(288);var o,s=n(38),u=Object(s["default"])(i["default"],a["render"],a["staticRenderFns"],!1,null,"c8893a10",null,!1,a["components"],o);u.options.__file="pages/rebate/withdrawal.vue",t["default"]=u.exports},284:function(e,t,n){"use strict";n.r(t);var a=n(285);n.d(t,"render",(function(){return a["render"]})),n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return a["recyclableRender"]})),n.d(t,"components",(function(){return a["components"]}))},285:function(e,t,n){"use strict";var a;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return o})),n.d(t,"recyclableRender",(function(){return r})),n.d(t,"components",(function(){return a}));try{a={uniCard:function(){return n.e("uni_modules/uni-card/components/uni-card/uni-card").then(n.bind(null,1025))},uButton:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-button/u-button")]).then(n.bind(null,1113))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,t=e.$createElement;e._self._c},r=!1,o=[];i._withStripped=!0},286:function(e,t,n){"use strict";n.r(t);var a=n(287),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},287:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.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=e.getStorageSync("username"),this.getArea()},onLoad:function(t){this.canbalance=t.balance,this.shopId=e.getStorageSync("shopId")},methods:{getArea:function(){var t=this;this.tui.request("/app/operatingArea/getByArea","post",{province:"",city:"",area:"",shippingType:0,seachParams:"测试"},!1,!0).then((function(n){t.status="nomore",200==n.code?(t.isOnLine=n.result.operatingAreaList[0].isOnLine,"0"==n.result.operatingAreaList[0].isOnLine&&e.setNavigationBarTitle({title:"测试页面"})):t.tui.toast(n.message)}))},onQuanbuClick:function(){this.realBalance=this.canbalance},onSubmit:function(){var t=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?(t.tui.toast(n.message),setTimeout((function(){e.reLaunch({url:"/pages/rebate/rebate"})}),2e3)):(t.tui.toast(n.message),setTimeout((function(){t.isClick=!1}),2e3))})):this.tui.toast("信息填写完整后再进行操作!")):this.tui.toast("测试账户不能提现!")}}};t.default=n}).call(this,n(2)["default"])},288:function(e,t,n){"use strict";n.r(t);var a=n(289),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},289:function(e,t,n){}},[[282,"common/runtime","common/vendor"]]]);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/rebate/withdrawal.js.map
|