Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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
ximai
mes-pad
Commits
9e5d9004
Commit
9e5d9004
authored
Jul 05, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.local.topsunit.com/mes/mes-pad
into dev
parents
19c3091b
f94ae814
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
userPersonnel.vue
pages/mes/prodReport/components/userPersonnel.vue
+3
-2
index.vue
pages/mes/prodReport/index.vue
+16
-3
No files found.
pages/mes/prodReport/components/userPersonnel.vue
View file @
9e5d9004
...
@@ -44,12 +44,12 @@ export default {
...
@@ -44,12 +44,12 @@ export default {
tableSelectData
:
[],
tableSelectData
:
[],
tableColumn
:
[
tableColumn
:
[
{
{
type
:
'
radio
'
,
type
:
'
selection
'
,
width
:
40
width
:
40
},
},
{
{
name
:
'userName'
,
name
:
'userName'
,
label
:
'
编
号'
,
label
:
'
工
号'
,
width
:
160
width
:
160
},
},
{
{
...
@@ -110,6 +110,7 @@ export default {
...
@@ -110,6 +110,7 @@ export default {
},
},
toggleRowSelection
(
checked
,
arr
)
{
toggleRowSelection
(
checked
,
arr
)
{
this
.
tableSelectData
=
arr
;
this
.
tableSelectData
=
arr
;
}
}
}
}
};
};
...
...
pages/mes/prodReport/index.vue
View file @
9e5d9004
...
@@ -1759,9 +1759,22 @@ export default {
...
@@ -1759,9 +1759,22 @@ export default {
// this.$u.toast('刀具校验通过!');
// this.$u.toast('刀具校验通过!');
},
},
userDetermine
()
{
userDetermine
()
{
console
.
log
(
this
.
$refs
.
userPersonnelRef
.
tableSelectData
,
'this.$refs.userPersonnelRef.tableSelectData'
);
let
nick
=
''
;
this
.
usePersonData
.
nickName
=
this
.
$refs
.
userPersonnelRef
.
tableSelectData
[
0
].
nickName
;
let
user
=
''
;
this
.
usePersonData
.
userName
=
this
.
$refs
.
userPersonnelRef
.
tableSelectData
[
0
]?.
userName
;
const
tableSelectData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
$refs
.
userPersonnelRef
.
tableSelectData
))
const
a
=
tableSelectData
.
length
-
1
;
tableSelectData
.
forEach
((
item
)
=>
{
if
(
item
.
nickName
===
tableSelectData
[
a
].
nickName
){
nick
=
nick
+
item
.
nickName
;
user
=
user
+
item
.
userName
;
}
else
{
nick
=
nick
+
item
.
nickName
+
","
;
user
=
user
+
item
.
userName
+
","
;
}
});
this
.
usePersonData
.
nickName
=
nick
;
this
.
usePersonData
.
userName
=
user
;
},
},
stopReasonSubmit
()
{
stopReasonSubmit
()
{
this
.
tableSelectData
.
forEach
((
item
)
=>
{
this
.
tableSelectData
.
forEach
((
item
)
=>
{
...
...
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