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
72fbc18d
Commit
72fbc18d
authored
Nov 13, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改指令表示工序页面
parent
b591e301
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
17 deletions
+25
-17
index.vue
...rivateComponents/components/AoProcessDetailEdit/index.vue
+7
-0
index.vue
...privateComponents/components/ProcessInformation/index.vue
+18
-17
No files found.
applications/dee-mes/src/privateComponents/components/AoProcessDetailEdit/index.vue
View file @
72fbc18d
...
...
@@ -72,6 +72,12 @@ export default {
],
'operator'
:
'AND'
},
'sortItem'
:
[
{
'fieldName'
:
'operationLabel'
,
'sortOrder'
:
'asc'
}
],
'openProps'
:
[
{
'name'
:
'target'
...
...
@@ -88,6 +94,7 @@ export default {
}
post
(
`/ExtProcessPlan/aoSearch`
,
params
).
then
(
res
=>
{
if
(
res
.
items
)
{
res
.
items
.
content
[
0
].
isProcess
=
true
this
.
aoData
=
res
.
items
.
content
[
0
]
this
.
loading
=
true
}
...
...
applications/dee-mes/src/privateComponents/components/ProcessInformation/index.vue
View file @
72fbc18d
...
...
@@ -65,7 +65,7 @@
<span
v-else
>
{{
scope
.
row
.
target
.
airFlag
}}
</span>
</
template
>
</el-table-column>
<el-table-column
<
!-- <
el-table-column
show-overflow-tooltip
align="center"
label="定额工时"
...
...
@@ -75,7 +75,7 @@
<el-input v-if="!item.readOnly" 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-column>
-->
</el-table>
</div>
</div>
...
...
@@ -92,7 +92,7 @@ export default {
type
:
Object
,
default
:
()
=>
null
},
f
ro
m
:
{
f
or
m
:
{
type
:
Object
,
default
:
()
=>
null
},
...
...
@@ -117,28 +117,29 @@ export default {
}
},
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
:
{
value
:
{
immediate
:
true
,
handler
(
newVal
,
oldVal
)
{
this
.
tableData
=
this
.
basicData
.
sourceExtProcessUsageLink
if
(
this
.
value
&&
this
.
value
.
length
>
0
)
{
this
.
tableData
=
this
.
value
}
}
}
// id: {
// immediate: true,
// handler(val) {
// if (val && this.basicData.isProcess) {
// console.log(444)
// this.tableData = this.basicData.sourceExtProcessUsageLink
// }
// }
// }
},
mounted
()
{
},
methods
:
{
changeData
(
row
)
{
row
.
operator
=
'
MODIFY
'
row
.
operator
=
'
NO_CHANGE
'
row
.
target
.
operator
=
'MODIFY'
this
.
$emit
(
'input'
,
this
.
tableData
)
},
...
...
@@ -150,7 +151,7 @@ export default {
// }
// })
// this.basicData.opWorkHour = (workHour / 60).toFixed(2)
row
.
operator
=
'
MODIFY
'
row
.
operator
=
'
NO_CHANGE
'
row
.
target
.
operator
=
'MODIFY'
this
.
$emit
(
'input'
,
this
.
tableData
)
}
...
...
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