SUPPORT-8427: Fix
This commit is contained in:
parent
812d94683f
commit
322ad29571
1 changed files with 6 additions and 6 deletions
|
|
@ -24,27 +24,27 @@ export class PersonDataRoot extends Behavior{
|
|||
let control: ControlWithValue = person.getScriptInObject(person.getObjectId(), 'component.ControlWithValue');
|
||||
control.setValue(personModel.birthDate.toString())
|
||||
}
|
||||
if (person.personDataId == "snils") {
|
||||
else if (person.personDataId == "snils") {
|
||||
let control: ControlWithValue = person.getScriptInObject(person.getObjectId(), 'component.ControlWithValue');
|
||||
control.setValue(personModel.snils)
|
||||
}
|
||||
if (person.personDataId == "issuedBy") {
|
||||
else if (person.personDataId == "issuedBy") {
|
||||
let control: ControlWithValue = person.getScriptInObject(person.getObjectId(), 'component.ControlWithValue');
|
||||
control.setValue(personModel.passportModel.issuedBy)
|
||||
}
|
||||
if (person.personDataId == "issueDate") {
|
||||
else if (person.personDataId == "issueDate") {
|
||||
let control: ControlWithValue = person.getScriptInObject(person.getObjectId(), 'component.ControlWithValue');
|
||||
control.setValue(personModel.passportModel.issueDate.toString())
|
||||
}
|
||||
if (person.personDataId == "issueId") {
|
||||
else if (person.personDataId == "issueId") {
|
||||
let control: ControlWithValue = person.getScriptInObject(person.getObjectId(), 'component.ControlWithValue');
|
||||
control.setValue(personModel.passportModel.issueId.toString())
|
||||
}
|
||||
if (person.personDataId == "seriesAndNumber") {
|
||||
else if (person.personDataId == "seriesAndNumber") {
|
||||
let control: ControlWithValue = person.getScriptInObject(person.getObjectId(), 'component.ControlWithValue');
|
||||
control.setValue(personModel.passportModel.series + ' ' + personModel.passportModel.number)
|
||||
}
|
||||
if (person.personDataId == "fullname") {
|
||||
else if (person.personDataId == "fullname") {
|
||||
let control: ControlWithValue = person.getScriptInObject(person.getObjectId(), 'component.ControlWithValue');
|
||||
control.setValue(personModel.lastName + ' ' + personModel.firstName + ' ' + personModel.middleName)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue