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
6b462880
Commit
6b462880
authored
Oct 13, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
器材代用实施情况新增
parent
3b5f532b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
457 additions
and
0 deletions
+457
-0
dialog.vue
...mponents/components/AddEquipmentPut/components/dialog.vue
+397
-0
index.vue
...rc/privateComponents/components/AddEquipmentPut/index.vue
+60
-0
No files found.
applications/dee-mes/src/privateComponents/components/AddEquipmentPut/components/dialog.vue
0 → 100644
View file @
6b462880
This diff is collapsed.
Click to expand it.
applications/dee-mes/src/privateComponents/components/AddEquipmentPut/index.vue
0 → 100644
View file @
6b462880
/**
* @Description: 器材代用实施情况新增
* @author xioln
* @date 2023-10-13
* @FilePath: applications/dee-mes/src/privateComponents/components/AddEquipmentPut/index.vue
*/
<
template
>
<div
class=
"add-equipmentPut"
>
<el-button
type=
"primary"
:disabled=
"disabledVal"
@
click=
"add"
>
新增
</el-button>
<add-dialog
ref=
"addDialog"
:form=
"form"
@
add=
"addImplementDocNo"
/>
</div>
</
template
>
<
script
>
import
addDialog
from
'./components/dialog.vue'
export
default
{
componentName
:
'器材代用实施情况新增'
,
name
:
'AddEquipmentPut'
,
components
:
{
addDialog
},
props
:
{
form
:
{
type
:
Object
,
default
:
()
=>
{
}
},
itemObj
:
{
type
:
Object
,
default
:
null
}
},
data
()
{
return
{
disabledVal
:
false
}
},
computed
:
{},
watch
:
{
itemObj
:
{
immediate
:
true
,
deep
:
true
,
handler
(
v
)
{
if
(
v
.
component
.
hasOwnProperty
(
'disabled'
))
{
this
.
disabledVal
=
v
.
component
.
disabled
}
}
}
},
created
()
{
// 初始化数据
},
methods
:
{
add
()
{
this
.
$refs
.
addDialog
.
open
()
},
addImplementDocNo
(
data
)
{
this
.
$emit
(
'input'
,
data
)
}
}
}
</
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