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
98cb5521
Commit
98cb5521
authored
Feb 20, 2020
by
Babin Egor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update forms
parent
1b19d4df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
app-registration-form.js
src/blocks/app-registration-form/app-registration-form.js
+6
-4
app-waste-utilisation-order-form.js
...tilisation-order-form/app-waste-utilisation-order-form.js
+2
-2
No files found.
src/blocks/app-registration-form/app-registration-form.js
View file @
98cb5521
...
...
@@ -327,6 +327,7 @@ Vue.component('app-registration-form', {
this
.
wUnitAmounts
[
index
].
label
=
e
.
caption
;
//alert(JSON.stringify(e));
},
//https://r52.ru
transportGroupUrl
(){
return
'/api/transport/getTypes/'
;
},
...
...
@@ -443,7 +444,8 @@ Vue.component('app-registration-form', {
url
:
"form.php"
,
data
:
{
"date"
:
post_data
,
"record"
:
this
.
localRecord
"record"
:
this
.
localRecord
,
"units"
:
this
.
wUnitAmounts
,
},
dataType
:
"html"
,
type
:
"post"
,
...
...
@@ -826,7 +828,7 @@ Vue.component('app-registration-form', {
<div style="display: block; position: fixed; right: 0;top: 0%; background-color:#fff; z-index:1000; width: 300px; padding: 10px; border: 1px solid #999;">
<pre>
{{
fieldsVal[currentPT]
}}
{{
wUnitAmounts
}}
</pre>
</div>
...
...
@@ -1295,7 +1297,7 @@ Vue.component('app-registration-form', {
<span class="field-text__name">Вместимость<span style="color: red;">*</span></span>
<span class="field-text__input-wrap">
<input
name="
street
"
name="
vmes
"
type="text"
placeholder="Количество"
class="field-text__input"
...
...
@@ -1749,7 +1751,7 @@ Vue.component('app-registration-form', {
<span class="field-text__name">Вместимость<span style="color: red;">*</span></span>
<span class="field-text__input-wrap">
<input
name="
street
"
name="
nums
"
type="text"
placeholder="Количество"
class="field-text__input"
...
...
src/blocks/app-waste-utilisation-order-form/app-waste-utilisation-order-form.js
View file @
98cb5521
...
...
@@ -196,10 +196,10 @@ Vue.component('app-waste-utilisation-order-form', {
wasteGroupUrl
()
{
//https://r52.ru/
return
'
https://r52.ru
/api/type/'
+
this
.
localRecord
.
wType
.
name
+
(
this
.
localRecord
.
wMainGroup
.
value
?
"/"
+
this
.
localRecord
.
wMainGroup
.
value
:
"/"
);
return
'/api/type/'
+
this
.
localRecord
.
wType
.
name
+
(
this
.
localRecord
.
wMainGroup
.
value
?
"/"
+
this
.
localRecord
.
wMainGroup
.
value
:
"/"
);
},
wasteMainGroupUrl
(){
return
'
https://r52.ru
/api/mainType/'
+
this
.
localRecord
.
wType
.
name
return
'/api/mainType/'
+
this
.
localRecord
.
wType
.
name
},
// Открываем кнопку "сохранить"
formFilledRight
()
{
...
...
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