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
671a146a
Commit
671a146a
authored
Mar 04, 2020
by
Babin Egor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up util order vue
parent
73fceb41
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
137 deletions
+58
-137
app-registration-form.js
src/blocks/app-registration-form/app-registration-form.js
+1
-1
app-waste-utilisation-order-form.js
...tilisation-order-form/app-waste-utilisation-order-form.js
+57
-126
field-select-vue.js
src/blocks/field-select-vue/field-select-vue.js
+0
-10
No files found.
src/blocks/app-registration-form/app-registration-form.js
View file @
671a146a
...
...
@@ -826,7 +826,7 @@ Vue.component('app-registration-form', {
<!-- Debug --->
<div style="display:
block
; position: fixed; right: 0;top: 0%; background-color:#fff; z-index:1000; width: 300px; padding: 10px; border: 1px solid #999;">
<div style="display:
none
; position: fixed; right: 0;top: 0%; background-color:#fff; z-index:1000; width: 300px; padding: 10px; border: 1px solid #999;">
<pre>
{{ wUnitAmounts }}
</pre>
...
...
src/blocks/app-waste-utilisation-order-form/app-waste-utilisation-order-form.js
View file @
671a146a
This diff is collapsed.
Click to expand it.
src/blocks/field-select-vue/field-select-vue.js
View file @
671a146a
...
...
@@ -20,9 +20,6 @@ Vue.component('field-select', {
init
:
{
type
:
Object
},
showDropProp
:
{
type
:
Boolean
}
},
model
:
{
prop
:
'attrs.value'
,
...
...
@@ -32,7 +29,6 @@ Vue.component('field-select', {
function
()
{
return
{
choices
:
null
,
showDrop
:
this
.
showDropProp
,
}
},
mounted
()
{
...
...
@@ -41,15 +37,9 @@ Vue.component('field-select', {
computed
:
{
},
watch
:
{
showDropProp
:
function
()
{
this
.
choices
.
showDropdown
();
},
options
:
'choicesUpdate'
,
//отслеживаем изменение объекта с опциями
},
methods
:
{
showDrop
()
{
return
this
.
showDrop
;
},
choicesInit
()
{
this
.
choices
=
new
Choices
(
this
.
$refs
.
select
,
this
.
settings
);
},
...
...
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