dev_home
杨树林 5 years ago
parent 12140b7fc7
commit 851164ff46

@ -60,6 +60,18 @@ class Bankcardnumberverification extends Component {
}
try {
if(prevProps.bank_account){
this.props.form.setFieldsValue({
openingbank:prevProps.bank_account.bank,
subbranch: prevProps.bank_account.second_bank,
subbranchs: prevProps.bank_account.card_no,
})
}
}catch (e) {
}
}
@ -176,7 +188,7 @@ class Bankcardnumberverification extends Component {
>
{getFieldDecorator('openingbank', {
rules: [{
// initialValue: this.state.cityDefaultValue,
initialValue: this.state.openingbank,
required: true,
message: '请输入开户行',
}],
@ -191,7 +203,7 @@ class Bankcardnumberverification extends Component {
>
{getFieldDecorator('subbranch', {
rules: [{
// initialValue: this.state.cityDefaultValue,
initialValue: this.state.subbranch,
required: true,
message: '请输入支行',
}],
@ -206,7 +218,7 @@ class Bankcardnumberverification extends Component {
>
{getFieldDecorator('subbranchs', {
rules: [{
// initialValue: this.state.cityDefaultValue,
initialValue: this.state.subbranchs,
required: true,
message: '请输入账号',
}],

@ -528,6 +528,7 @@ class CompetitionContentspdfpeopledata extends Component {
<div>
{
bank_account_editable === true ?
<Bankcardnumberverifications {...this.props} {...this.state} basicInfo={userdata}
hideUpdating={(i) => this.hideUpdating(i)}
getdata={(id) => this.getdata(id)}

Loading…
Cancel
Save