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
fab7bd06
Commit
fab7bd06
authored
Oct 15, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已分拣,批量修改库位先选库房,再选库位,库位可以多选,用逗号隔开号拼接
parent
bb4841f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
config.js
...ivateComponents/components/GeneralLinkageSelect/config.js
+10
-0
index.vue
...ivateComponents/components/GeneralLinkageSelect/index.vue
+7
-3
No files found.
applications/dee-mes/src/privateComponents/components/GeneralLinkageSelect/config.js
View file @
fab7bd06
...
...
@@ -68,6 +68,16 @@ export default {
name
:
'btnCodeEdit'
,
remindText
:
`responseData为接口返回数据`
}
},
{
key
:
'multipleVal'
,
title
:
'多选值'
,
width
:
1
,
component
:
{
isLabelTop
:
true
,
name
:
'el-switch'
,
defaultValue
:
false
}
}
]
}
...
...
applications/dee-mes/src/privateComponents/components/GeneralLinkageSelect/index.vue
View file @
fab7bd06
<
template
>
<div
class=
"generalLinkageSelect-select"
>
<el-select
ref=
"selectCom"
v-model=
"selVal"
placeholder=
"请选择"
size=
"mini"
:disabled=
"disabledVal"
@
change=
"changeVal"
>
<el-select
ref=
"selectCom"
v-model=
"selVal"
placeholder=
"请选择"
:multiple=
"isMultiple"
size=
"mini"
:disabled=
"disabledVal"
@
change=
"changeVal"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -35,7 +35,7 @@ export default {
default
:
()
=>
{}
},
value
:
{
type
:
[
Number
,
String
,
Object
],
type
:
[
Number
,
String
,
Object
,
Array
],
default
:
()
=>
''
}
},
...
...
@@ -47,7 +47,11 @@ export default {
linkageValue
:
''
}
},
computed
:
{},
computed
:
{
isMultiple
()
{
return
this
.
item
.
multipleVal
||
this
.
$utils
.
_get
(
this
.
item
,
'multipleVal'
)
||
false
}
},
watch
:
{
form
:
{
immediate
:
true
,
...
...
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