|
|
|
@ -30,7 +30,13 @@ class Bankcardnumberverification extends Component {
|
|
|
|
|
window.document.title = '竞赛';
|
|
|
|
|
// console.log("3获取用户信息");
|
|
|
|
|
// console.log(this.props)
|
|
|
|
|
this.props.triggerRef(this);
|
|
|
|
|
try {
|
|
|
|
|
this.props.triggerRef(this);
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
console.log(this.props.bank_account);
|
|
|
|
|
|
|
|
|
|
//初始化值
|
|
|
|
|
if (this.props.bank_account) {
|
|
|
|
|
this.props.form.setFieldsValue({
|
|
|
|
@ -65,11 +71,18 @@ class Bankcardnumberverification extends Component {
|
|
|
|
|
.then((result) => {
|
|
|
|
|
try {
|
|
|
|
|
if (result.data.status == 0) {
|
|
|
|
|
// console.log(JSON.stringify(result));
|
|
|
|
|
console.log(values.openingbank);
|
|
|
|
|
console.log(values.subbranch);
|
|
|
|
|
console.log(values.subbranchs);
|
|
|
|
|
this.props.form.setFieldsValue({
|
|
|
|
|
openingbank: values.openingbank,
|
|
|
|
|
subbranch: values.subbranch,
|
|
|
|
|
subbranchs: values.subbranchs,
|
|
|
|
|
});
|
|
|
|
|
this.setState({
|
|
|
|
|
openingbank: values.openingbank,
|
|
|
|
|
subbranch: values.subbranch,
|
|
|
|
|
subbranchs: values.subbranchs,
|
|
|
|
|
})
|
|
|
|
|
try {
|
|
|
|
|
this.props.showNotification(`提交成功,等待审核!`);
|
|
|
|
|