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
94f916ac
Commit
94f916ac
authored
Aug 29, 2023
by
旭艳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指令标识维护-工序信息
parent
3a1c5d64
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
199 additions
and
2 deletions
+199
-2
tree.vue
...-mes/src/privateComponents/components/MBOMConfig/tree.vue
+2
-2
index.vue
...privateComponents/components/ProcessInformation/index.vue
+194
-0
index.vue
.../src/privateComponents/components/SearchSorties/index.vue
+3
-0
No files found.
applications/dee-mes/src/privateComponents/components/MBOMConfig/tree.vue
View file @
94f916ac
<
template
>
<
template
>
<div
class=
"TfMomWeb-tree"
>
<div
class=
"TfMomWeb-tree"
>
<div
class=
"search-area"
>
<
!--
<
div
class=
"search-area"
>
<el-input
v-model=
"inputVal"
clearable
size=
"small"
class=
"search-input"
placeholder=
"输入代号,在结构中快速定位"
/>
<el-input
v-model=
"inputVal"
clearable
size=
"small"
class=
"search-input"
placeholder=
"输入代号,在结构中快速定位"
/>
<dee-tools
:tools=
"tools"
style=
"width:120px"
mode=
"dual"
/>
<dee-tools
:tools=
"tools"
style=
"width:120px"
mode=
"dual"
/>
</div>
</div>
-->
<el-tree
<el-tree
v-show=
"AircraftName"
v-show=
"AircraftName"
ref=
"tree"
ref=
"tree"
...
...
applications/dee-mes/src/privateComponents/components/ProcessInformation/index.vue
0 → 100644
View file @
94f916ac
<
template
>
<div
class=
"dx-process-operations-com"
>
<div
class=
"dee-table dee-table-dis-border"
>
<el-table
:data=
"tableData"
border
style=
"width:100%"
highlight-current-row
>
<el-table-column
show-overflow-tooltip
prop=
"target.code"
align=
"center"
label=
"工序号"
width=
"120"
fixed
/>
<el-table-column
show-overflow-tooltip
prop=
"target.name"
align=
"center"
label=
"工序名称"
width=
"120"
fixed
/>
<el-table-column
show-overflow-tooltip
align=
"center"
label=
"是否检验"
width=
"120"
fixed
>
<template
v-slot=
"scope"
>
<span>
{{
scope
.
row
.
target
.
checkFlag
?
'是'
:
'否'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
show-overflow-tooltip
align=
"center"
label=
"关键标识"
width=
"120"
fixed
>
<
template
v-slot=
"scope"
>
<span>
{{
scope
.
row
.
target
.
keyOperation
?
'是'
:
'否'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
show-overflow-tooltip
align=
"center"
label=
"适航标识"
fixed
>
<
template
v-slot=
"scope"
>
<el-select
v-if=
"basicData.isView"
v-model=
"scope.row.target.airFlag"
placeholder=
"请选择"
clearable=
""
@
change=
"changeData(scope.row)"
>
<el-option
:key=
"1"
label=
"目击"
value=
"目击"
/>
<el-option
:key=
"2"
label=
"AAD"
value=
"AAD"
/>
</el-select>
<span
v-else
>
{{
scope
.
row
.
target
.
airFlag
}}
</span>
</
template
>
</el-table-column>
<el-table-column
show-overflow-tooltip
align=
"center"
label=
"定额工时"
fixed
>
<
template
v-slot=
"scope"
>
<el-input
v-if=
"basicData.isView"
v-model=
"scope.row.target.workHour"
size=
"mini"
@
change=
"changWorkData(scope.row)"
/>
<span
v-else
>
{{
scope
.
row
.
target
.
workHour
}}
</span>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
</template>
<
script
>
export
default
{
name
:
'ProcessInformation'
,
components
:
{
},
componentName
:
'工序信息'
,
props
:
{
basicData
:
{
type
:
Object
,
default
:
()
=>
null
},
from
:
{
type
:
Object
,
default
:
()
=>
null
},
item
:
{
type
:
Object
,
default
:
()
=>
null
},
value
:
{
type
:
Array
,
default
:
()
=>
null
}
},
data
()
{
return
{
tableData
:
[]
// isView: false
}
},
computed
:
{
id
()
{
return
this
.
basicData
.
id
}
},
watch
:
{
// tableData: {
// handler(val) {
// this.$emit('input', val)
// console.log(val)
// console.log(1, this.basicData.sourceExtProcessUsageLink, this.tableData)
// this.basicData.sourceExtProcessUsageLink = val
// console.log(2, this.basicData.sourceExtProcessUsageLink)
// },
// deep: true
// },
id
:
{
immediate
:
true
,
handler
(
newVal
,
oldVal
)
{
const
user
=
localStorage
.
user
||
''
this
.
basicData
.
isView
=
user
===
this
.
basicData
.
note
&&
this
.
basicData
.
state
===
'Apply'
this
.
tableData
=
this
.
basicData
.
sourceExtProcessUsageLink
}
}
},
mounted
()
{
},
methods
:
{
changeData
(
row
)
{
row
.
operator
=
'MODIFY'
row
.
target
.
operator
=
'MODIFY'
this
.
$emit
(
'input'
,
this
.
tableData
)
},
changWorkData
(
row
)
{
// let workHour = 0
// this.tableData.forEach(element => {
// if (element.target.workHour) {
// workHour += Number(element.target.workHour)
// }
// })
// this.basicData.opWorkHour = (workHour / 60).toFixed(2)
row
.
operator
=
'MODIFY'
row
.
target
.
operator
=
'MODIFY'
this
.
$emit
(
'input'
,
this
.
tableData
)
}
}
}
</
script
>
<
style
lang=
"scss"
>
.dx-process-operations-com
{
height
:
100%
;
.z-index10
{
z-index
:
10
!
important
;
}
.el-switch
{
margin
:
10px
0
;
}
.dee-table
{
height
:
100%
;
position
:
relative
;
left
:
0
;
right
:
0
;
z-index
:
0
;
background
:
#fff
;
.dee-table-body
{
height
:
calc
(
100%
-
38px
);
overflow-y
:
auto
;
}
.el-table__cell
{
padding
:
0
0
;
}
.table_handler_span
{
cursor
:
pointer
;
display
:
flex
;
align-items
:
center
;
&
>
img
{
width
:
18px
;
}
}
}
}
</
style
>
applications/dee-mes/src/privateComponents/components/SearchSorties/index.vue
View file @
94f916ac
...
@@ -21,6 +21,9 @@
...
@@ -21,6 +21,9 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"AO(号/名称):"
>
<el-input
v-model=
"form.name"
placeholder=
"AO(号/名称)"
clearable
@
change=
"changeFrom"
/>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</
template
>
</
template
>
...
...
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