From 3fbd9511c690618f308e092e2e82060b790125d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Sat, 2 Nov 2019 16:38:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Bankcardnumberverification.js | 15 ++++++++++++--- .../CompetitionContentspdfpeopledata.js | 1 + .../Mailboxvalidation.js | 4 ++-- .../Phonenumberverification.js | 4 ++-- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Bankcardnumberverification.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Bankcardnumberverification.js index 90e8446a1..59d3da1aa 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Bankcardnumberverification.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Bankcardnumberverification.js @@ -28,8 +28,17 @@ class Bankcardnumberverification extends Component { componentDidMount() { window.document.title = '竞赛'; - console.log("3获取用户信息"); - console.log(this.props); + // console.log("3获取用户信息"); + // console.log(this.props) + //初始化值 + if (this.props.bank_account) { + this.props.form.setFieldsValue({ + openingbank: this.props.bank_account.bank, + subbranch: this.props.bank_account.second_bank, + subbranchs: this.props.bank_account.card_no, + }) + } + } yhBankstrue = () => { @@ -45,7 +54,7 @@ class Bankcardnumberverification extends Component { try { if (result.data.status == 0) { // console.log(JSON.stringify(result)); - this.props.showNotification(`提交成功`); + this.props.showNotification(`提交成功,等待审核!`); this.props.getdata(); this.props.GetawardinformationAPI(); } diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/CompetitionContentspdfpeopledata.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/CompetitionContentspdfpeopledata.js index fbdf3e28a..3651e4931 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/CompetitionContentspdfpeopledata.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/CompetitionContentspdfpeopledata.js @@ -483,6 +483,7 @@ class CompetitionContentspdfpeopledata extends Component { hideUpdating={(i) => this.hideUpdating(i)} getdata={() => this.getdata()} GetawardinformationAPI={() => this.GetawardinformationAPI()} + bank_account={this.state.bank_account} > : diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Mailboxvalidation.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Mailboxvalidation.js index 1ac61bd3f..f57c6c885 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Mailboxvalidation.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Mailboxvalidation.js @@ -28,8 +28,8 @@ class Mailboxvalidation extends Component { componentDidMount() { window.document.title = '竞赛'; - console.log("3获取用户信息"); - console.log(this.props); + // console.log("3获取用户信息"); + // console.log(this.props); } diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Phonenumberverification.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Phonenumberverification.js index c14030e46..d3facb372 100644 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Phonenumberverification.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/Phonenumberverification.js @@ -28,8 +28,8 @@ class Phonenumberverification extends Component { componentDidMount() { window.document.title = '竞赛'; - console.log("获取用户信息"); - console.log(this.props); + // console.log("获取用户信息"); + // console.log(this.props); }