hotfix for files on 3-d page
This commit is contained in:
parent
89c5ae821b
commit
e0081b64d9
@ -394,7 +394,9 @@ class Form_3_Signer extends QuestionnaireForm
|
||||
{
|
||||
errors.push(`main.${ main_check[i] }`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(delegation_files.length === 0) { errors.push(`delegation_files`); }
|
||||
}
|
||||
|
||||
//иной подписант
|
||||
@ -443,15 +445,17 @@ class Form_3_Signer extends QuestionnaireForm
|
||||
errors.push(`signatory_person.${ signatory_person_check[i] }`);
|
||||
}
|
||||
}
|
||||
|
||||
if(signatory_person_files.length === 0) { errors.push(`signatory_person_files`); }
|
||||
if(signatory_corporate_files.length === 0) { errors.push(`signatory_corporate_files`); }
|
||||
}
|
||||
|
||||
if(delegation_files.length === 0) { errors.push(`delegation_files`); }
|
||||
if(head_person_files.length === 0) { errors.push(`head_person_files`); }
|
||||
if(signatory_person_files.length === 0) { errors.push(`signatory_person_files`); }
|
||||
if(signatory_corporate_files.length === 0) { errors.push(`signatory_corporate_files`); }
|
||||
|
||||
this.setState({ errors }, () =>
|
||||
{
|
||||
console.log("_handle_onNextPage", { errors });
|
||||
|
||||
window.scroll(0, 0);
|
||||
if(errors.length === 0)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user