Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
171765b7
Commit
171765b7
authored
Aug 23, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
作业令号选择
parent
abfa76e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
index.vue
...rc/privateComponents/components/JobNumberSelect/index.vue
+12
-3
No files found.
applications/dee-mes/src/privateComponents/components/JobNumberSelect/index.vue
View file @
171765b7
...
...
@@ -6,7 +6,7 @@
*/
<
template
>
<div
class=
"jobNumber-select"
>
<el-select
v-model=
"selVal"
placeholder=
"请选择"
size=
"mini"
@
change=
"changeVal"
>
<el-select
v-model=
"selVal"
placeholder=
"请选择"
size=
"mini"
:disabled=
"disabledVal"
@
change=
"changeVal"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -42,7 +42,8 @@ export default {
data
()
{
return
{
options
:
[],
selVal
:
''
selVal
:
''
,
disabledVal
:
false
}
},
computed
:
{},
...
...
@@ -51,7 +52,6 @@ export default {
immediate
:
true
,
deep
:
true
,
handler
(
val
)
{
console
.
log
(
'val'
,
val
)
if
(
val
)
{
const
params
=
{
searchItems
:
{
...
...
@@ -72,6 +72,15 @@ export default {
})
}
}
},
itemObj
:
{
immediate
:
true
,
deep
:
true
,
handler
(
v
)
{
if
(
v
.
component
.
hasOwnProperty
(
'disabled'
))
{
this
.
disabledVal
=
v
.
component
.
disabled
}
}
}
},
created
()
{
...
...
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