Commit 86ea9230 authored by Babin Egor's avatar Babin Egor

update reg-form

parent 77513f67
Vue.component('app-registration', {
props: {
reg_info_from: {
type: String
}
},
data: function () {
return {
persons: {
juridical: 'Юридическое лицо',
natural: 'Физическое лицо',
},
activeType: 'juridical'
activeType: 'juridical',
reg_info_to: this.reg_info_from,
}
},
template: `
......@@ -27,6 +33,7 @@ Vue.component('app-registration', {
<app-registration-form
:personType="activeType"
:personRegTypeProp="reg_info_to"
></app-registration-form>
</div>
......
......@@ -20,7 +20,7 @@ block page
h1.title!=title
app-registration
app-registration(:reg_info_from="'executor'")
br
br
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment