diff --git a/pages/mine/balance/withdrawal.vue b/pages/mine/balance/withdrawal.vue index 9504ddd..2413958 100644 --- a/pages/mine/balance/withdrawal.vue +++ b/pages/mine/balance/withdrawal.vue @@ -7,7 +7,7 @@ :rules="rules" ref="uForm" > - + { - // this.bankData = res.data - // this.dataForm.pkBank = res.data.pkId - // }) - // //校验是否绑定银行卡 - // bal.checkIsbindBank().then(res => { - // if (res.flag == 'Y') { - // this.canbind = false - // } else if (res.flag == 'N') { - // this.canbind = true - // } - // }) + bal.getDefaultBank().then(res => { + this.bankData = res.data + this.dataForm.pkBank = res.data.pkId + }) + //校验是否绑定银行卡 + bal.checkIsbindBank().then(res => { + if (res.flag == 'Y') { + this.canbind = false + } else if (res.flag == 'N') { + this.canbind = true + } + }) }, submit() { this.$refs.uForm diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 61ab7dc..cdb27aa 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -371,13 +371,13 @@ export default { menuKey: 'pickGoods', ifshow: true, }, - // { - // url: '/pages/mine/bindBank/index', - // name: '银行信息', - // imgurl: '../../static/images/my_icon10.png', - // menuKey: 'bankInfo', - // ifshow: true, - // }, + { + url: '/pages/mine/bindBank/index', + name: '银行信息', + imgurl: '../../static/images/my_icon10.png', + menuKey: 'bankInfo', + ifshow: true, + }, // { // url: '/pages/bonus/regional-assessment/index', // name: '区域考核',