Commit 1b19d4df authored by Babin Egor's avatar Babin Egor

up form

parent 1528b394
......@@ -452,11 +452,11 @@ Vue.component('app-registration-form', {
data = JSON.parse(data);
if (data.success) {
if (this.personRegType == "executor") {
if (this.personRegTypeProp == "executor") {
window.location.href = "/executor/" + data.ID + '/';
} else if (this.personRegType == "customer") {
} else if (this.personRegTypeProp == "customer") {
window.location.href = "/customers/" + data.ID + '/';
} else if (this.personRegType == "neworder") {
} else if (this.personRegTypeProp == "neworder") {
window.location.href = "/orders/" + data.ID + '/';
} else {
window.location.href = "/orders/";
......@@ -920,7 +920,7 @@ Vue.component('app-registration-form', {
placeholder="ИНН"
class="field-text__input"
v-model="fieldsVal.juridical.companyInn"
v-mask="['##########', '############']"
>
</span>
</label>
......@@ -936,7 +936,7 @@ Vue.component('app-registration-form', {
placeholder="КПП"
class="field-text__input"
v-model="fieldsVal.juridical.companyKpp"
v-mask="['#########']"
>
</span>
</label>
......@@ -1151,7 +1151,7 @@ Vue.component('app-registration-form', {
<span class="field-text__input-wrap">
<input type="text"
placeholder="Контактный телефон"
v-mask="'+7 (###) ###-##-##'"
class="field-text__input"
v-model="fieldsVal.juridical.companyContactPhone"
>
......@@ -1462,7 +1462,7 @@ Vue.component('app-registration-form', {
<span class="field-text__input-wrap">
<input type="text"
placeholder="+ 7 (___) ___ __ __"
v-mask="'+7 (###) ###-##-##'"
class="field-text__input"
v-model="fieldsVal.natural.personInfoPhone"
>
......@@ -1486,7 +1486,7 @@ Vue.component('app-registration-form', {
<span class="field-text__name">Серия <span style="color: red;">*</span></span>
<span class="field-text__input-wrap">
<input type="text"
v-mask="'####'"
placeholder="Серия"
class="field-text__input"
v-model="fieldsVal.natural.personPassportSeries"
......@@ -1500,7 +1500,7 @@ Vue.component('app-registration-form', {
<span class="field-text__name">Номер <span style="color: red;">*</span></span>
<span class="field-text__input-wrap">
<input type="text"
v-mask="'######'"
placeholder="Номер"
class="field-text__input"
v-model="fieldsVal.natural.personPassportNumber"
......@@ -1527,7 +1527,7 @@ Vue.component('app-registration-form', {
<span class="field-text__name">Дата выдачи <span style="color: red;">*</span></span>
<span class="field-text__input-wrap">
<input type="text"
v-mask="'##.##.####'"
placeholder="Дата выдачи"
class="field-text__input"
v-model="fieldsVal.natural.personPassportIssuedDate"
......
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