Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
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
pda
pda-ui
Commits
c2ad4645
Commit
c2ad4645
authored
Mar 20, 2024
by
528360026@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复组合单透视bug
parent
0f643150
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
info.vue
src/views/mes/pro/combination/info.vue
+4
-2
infos.vue
src/views/mes/pro/combination/infos.vue
+3
-2
No files found.
src/views/mes/pro/combination/info.vue
View file @
c2ad4645
...
...
@@ -231,8 +231,10 @@ export default {
combinationCode
:
{
handler
(
newVal
,
oldVal
)
{
this
.
$nextTick
(()
=>
{
this
.
queryParams
.
combinationCode
=
newVal
;
this
.
getList
();
if
(
this
.
combinationCode
!=
''
&&
this
.
combinationCode
!=
null
)
{
this
.
queryParams
.
combinationCode
=
this
.
combinationCode
;
this
.
getList
();
}
})
},
immediate
:
true
,
...
...
src/views/mes/pro/combination/infos.vue
View file @
c2ad4645
...
...
@@ -4,7 +4,7 @@
<el-tab-pane
v-for=
"item in combinationCodes"
>
<div
slot=
"label"
@
click=
"changeCombination(item)"
>
{{
item
}}
</div>
<CombinationInfo
ref=
"c
aonima
"
:combinationCode=
"combinationCode"
></CombinationInfo>
<CombinationInfo
ref=
"c
ombRef
"
:combinationCode=
"combinationCode"
></CombinationInfo>
</el-tab-pane>
</el-tabs>
</div>
...
...
@@ -30,6 +30,7 @@ export default {
combinationCodes
:
{
handler
(
newVal
,
oldVal
)
{
this
.
$nextTick
(()
=>
{
console
.
log
(
newVal
)
this
.
combinationCode
=
this
.
combinationCodes
[
0
]
})
},
...
...
@@ -42,7 +43,7 @@ export default {
changeCombination
(
combinationCode
)
{
this
.
$nextTick
(()
=>
{
this
.
combinationCode
=
combinationCode
this
.
$refs
.
c
aonima
[
0
].
changeCombination
(
combinationCode
)
this
.
$refs
.
c
ombRef
[
0
].
changeCombination
(
combinationCode
)
})
}
}
...
...
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