Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
ecouniversal
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Babin Egor
ecouniversal
Commits
1b19d4df
Commit
1b19d4df
authored
Feb 20, 2020
by
Babin Egor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up form
parent
1528b394
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
app-registration-form.js
src/blocks/app-registration-form/app-registration-form.js
+10
-10
No files found.
src/blocks/app-registration-form/app-registration-form.js
View file @
1b19d4df
...
@@ -452,11 +452,11 @@ Vue.component('app-registration-form', {
...
@@ -452,11 +452,11 @@ Vue.component('app-registration-form', {
data
=
JSON
.
parse
(
data
);
data
=
JSON
.
parse
(
data
);
if
(
data
.
success
)
{
if
(
data
.
success
)
{
if
(
this
.
personRegType
==
"executor"
)
{
if
(
this
.
personRegType
Prop
==
"executor"
)
{
window
.
location
.
href
=
"/executor/"
+
data
.
ID
+
'/'
;
window
.
location
.
href
=
"/executor/"
+
data
.
ID
+
'/'
;
}
else
if
(
this
.
personRegType
==
"customer"
)
{
}
else
if
(
this
.
personRegType
Prop
==
"customer"
)
{
window
.
location
.
href
=
"/customers/"
+
data
.
ID
+
'/'
;
window
.
location
.
href
=
"/customers/"
+
data
.
ID
+
'/'
;
}
else
if
(
this
.
personRegType
==
"neworder"
)
{
}
else
if
(
this
.
personRegType
Prop
==
"neworder"
)
{
window
.
location
.
href
=
"/orders/"
+
data
.
ID
+
'/'
;
window
.
location
.
href
=
"/orders/"
+
data
.
ID
+
'/'
;
}
else
{
}
else
{
window
.
location
.
href
=
"/orders/"
;
window
.
location
.
href
=
"/orders/"
;
...
@@ -920,7 +920,7 @@ Vue.component('app-registration-form', {
...
@@ -920,7 +920,7 @@ Vue.component('app-registration-form', {
placeholder="ИНН"
placeholder="ИНН"
class="field-text__input"
class="field-text__input"
v-model="fieldsVal.juridical.companyInn"
v-model="fieldsVal.juridical.companyInn"
v-mask="['##########', '############']"
>
>
</span>
</span>
</label>
</label>
...
@@ -936,7 +936,7 @@ Vue.component('app-registration-form', {
...
@@ -936,7 +936,7 @@ Vue.component('app-registration-form', {
placeholder="КПП"
placeholder="КПП"
class="field-text__input"
class="field-text__input"
v-model="fieldsVal.juridical.companyKpp"
v-model="fieldsVal.juridical.companyKpp"
v-mask="['#########']"
>
>
</span>
</span>
</label>
</label>
...
@@ -1151,7 +1151,7 @@ Vue.component('app-registration-form', {
...
@@ -1151,7 +1151,7 @@ Vue.component('app-registration-form', {
<span class="field-text__input-wrap">
<span class="field-text__input-wrap">
<input type="text"
<input type="text"
placeholder="Контактный телефон"
placeholder="Контактный телефон"
v-mask="'+7 (###) ###-##-##'"
class="field-text__input"
class="field-text__input"
v-model="fieldsVal.juridical.companyContactPhone"
v-model="fieldsVal.juridical.companyContactPhone"
>
>
...
@@ -1462,7 +1462,7 @@ Vue.component('app-registration-form', {
...
@@ -1462,7 +1462,7 @@ Vue.component('app-registration-form', {
<span class="field-text__input-wrap">
<span class="field-text__input-wrap">
<input type="text"
<input type="text"
placeholder="+ 7 (___) ___ __ __"
placeholder="+ 7 (___) ___ __ __"
v-mask="'+7 (###) ###-##-##'"
class="field-text__input"
class="field-text__input"
v-model="fieldsVal.natural.personInfoPhone"
v-model="fieldsVal.natural.personInfoPhone"
>
>
...
@@ -1486,7 +1486,7 @@ Vue.component('app-registration-form', {
...
@@ -1486,7 +1486,7 @@ Vue.component('app-registration-form', {
<span class="field-text__name">Серия <span style="color: red;">*</span></span>
<span class="field-text__name">Серия <span style="color: red;">*</span></span>
<span class="field-text__input-wrap">
<span class="field-text__input-wrap">
<input type="text"
<input type="text"
v-mask="'####'"
placeholder="Серия"
placeholder="Серия"
class="field-text__input"
class="field-text__input"
v-model="fieldsVal.natural.personPassportSeries"
v-model="fieldsVal.natural.personPassportSeries"
...
@@ -1500,7 +1500,7 @@ Vue.component('app-registration-form', {
...
@@ -1500,7 +1500,7 @@ Vue.component('app-registration-form', {
<span class="field-text__name">Номер <span style="color: red;">*</span></span>
<span class="field-text__name">Номер <span style="color: red;">*</span></span>
<span class="field-text__input-wrap">
<span class="field-text__input-wrap">
<input type="text"
<input type="text"
v-mask="'######'"
placeholder="Номер"
placeholder="Номер"
class="field-text__input"
class="field-text__input"
v-model="fieldsVal.natural.personPassportNumber"
v-model="fieldsVal.natural.personPassportNumber"
...
@@ -1527,7 +1527,7 @@ Vue.component('app-registration-form', {
...
@@ -1527,7 +1527,7 @@ Vue.component('app-registration-form', {
<span class="field-text__name">Дата выдачи <span style="color: red;">*</span></span>
<span class="field-text__name">Дата выдачи <span style="color: red;">*</span></span>
<span class="field-text__input-wrap">
<span class="field-text__input-wrap">
<input type="text"
<input type="text"
v-mask="'##.##.####'"
placeholder="Дата выдачи"
placeholder="Дата выдачи"
class="field-text__input"
class="field-text__input"
v-model="fieldsVal.natural.personPassportIssuedDate"
v-model="fieldsVal.natural.personPassportIssuedDate"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment