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
0087e727
Commit
0087e727
authored
Oct 12, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返厂出库原因组件定义
parent
5b6d5f26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
+59
-0
index.vue
...ivateComponents/components/CallBackReasonSelect/index.vue
+59
-0
No files found.
applications/dee-mes/src/privateComponents/components/CallBackReasonSelect/index.vue
0 → 100644
View file @
0087e727
<
template
>
<div>
<el-select
v-model=
"scope.row.callBackReason"
:placeholder=
"options.length?'请选择':'暂无数据'"
@
change=
"change"
@
clear=
"clear"
>
<el-option
v-for=
"item in options"
:key=
"item.key"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</div>
</
template
>
<
script
>
export
default
{
name
:
'CallBackReasonSelect'
,
componentName
:
'返厂出库原因'
,
props
:
{
value
:
{
type
:
[
String
,
Number
],
default
:
''
},
scope
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
}
},
data
()
{
return
{
loading
:
false
,
options
:
[
{
'label'
:
'设计更改'
,
'value'
:
'设计更改'
},
{
'label'
:
'召回'
,
'value'
:
'召回'
},
{
'label'
:
'故障'
,
'value'
:
'故障'
}]
}
},
computed
:
{},
watch
:
{
},
methods
:
{
change
(
val
)
{
this
.
$emit
(
'input'
,
val
)
},
clear
()
{
this
.
$emit
(
'input'
)
}
}
}
</
script
>
<
style
lang=
"scss"
>
</
style
>
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