|
|
|
@ -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: '请输入账号',
|
|
|
|
|
}],
|
|
|
|
|