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
dfc53b03
Commit
dfc53b03
authored
Jul 05, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP相关_CAS配套申请修改
parent
f1ba0e54
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
util.js
applications/architecture-dee/src/utils/util.js
+19
-0
missingParts.vue
...blyPlanManagement/stationPlanMaintenance/missingParts.vue
+1
-1
stationPlanList.vue
...PlanManagement/stationPlanMaintenance/stationPlanList.vue
+1
-0
No files found.
applications/architecture-dee/src/utils/util.js
View file @
dfc53b03
...
...
@@ -1655,6 +1655,24 @@ export function findByNameVnode(obj, targetName) {
return findByNameVnode(obj.$parent, targetName)
}
}
export function findDownByNameVnode(component, targetName) {
// 如果当前组件的 vnode 包含目标名称,则返回当前组件
if (component && component.$vnode && component.$vnode.tag && component.$vnode.tag.includes(targetName)) {
return component
}
// 遍历子组件
if (component && component.$children) {
for (const child of component.$children) {
// 递归查找子组件
const found = findDownByNameVnode(child, targetName)
if (found) {
// 如果在子组件中找到目标元素,则返回
return found
}
}
}
return null
}
export function addMinutes(date, minutes) {
const dateFormat=new Date(date)
dateFormat.setMinutes(dateFormat.getMinutes() + minutes)
...
...
@@ -1664,6 +1682,7 @@ export function addMinutes(date, minutes) {
export default {
findByNameVnode,
findDownByNameVnode,
dateFormat,
treeFindBackArray,
throttle,
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/missingParts.vue
View file @
dfc53b03
...
...
@@ -5,7 +5,7 @@
<div
class=
"title"
>
生产准备符合项
</div>
<div
class=
"num"
>
{{
detailInfo
.
leftItem
}}
/
<span
class=
"blue"
>
{{
detailInfo
.
rightItem
}}
</span></div>
</div>
-->
<div
class=
""
>
<div
class=
"
dee-table
"
>
<h4>
缺件信息列表
</h4>
<el-table
:data=
"detailInfo.missList && detailInfo.missList.content"
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/stationPlanList.vue
View file @
dfc53b03
...
...
@@ -216,6 +216,7 @@ export default {
const
sorties
=
this
.
sortiesData
.
find
((
r
)
=>
r
.
value
===
val
)
this
.
$set
(
this
.
form
,
'sortiesName'
,
(
sorties
&&
sorties
.
label
)
||
''
)
this
.
getTreeData
()
sessionStorage
.
setItem
(
'ExtPosition_sortiesName'
,
this
.
form
.
sortiesName
,)
}
},
keyword
:
{
...
...
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