From 9e7a26983173f5403179956caa1baf5d5d2cd90d Mon Sep 17 00:00:00 2001 From: woody Date: Wed, 3 Sep 2025 14:56:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(bank):=20=E9=87=8D=E6=96=B0=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E9=93=B6=E8=A1=8C=E5=8D=A1=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/balance/withdrawal.vue | 28 ++++++++++++++-------------- pages/mine/index.vue | 14 +++++++------- 2 files changed, 21 insertions(+), 21 deletions(-) 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: '区域考核',