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
a40d3a16
Commit
a40d3a16
authored
May 07, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料申请bug修复
parent
6e7b09cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
index.vue
pages/mes/prodReport/index.vue
+7
-1
No files found.
pages/mes/prodReport/index.vue
View file @
a40d3a16
...
...
@@ -1092,6 +1092,7 @@ export default {
recoilMaterialList
:
[],
materialRequestList
:
[],
materialRequestArrays
:
[],
materialRequests
:
[],
materialReturnList
:
[],
materialRequestFormData
:
{
itemName
:
null
,
...
...
@@ -2146,6 +2147,7 @@ export default {
})
this
.
materialRequestArrays
=
this
.
materialRequestList
.
concat
([]);
}
});
},
materialRequestFormShow
(
line
)
{
...
...
@@ -2238,7 +2240,11 @@ export default {
workorderCode
:
items
.
text
}
})
this
.
materialRequestArrays
=
this
.
materialRequestList
.
concat
(
list
);
this
.
materialRequests
=
this
.
materialRequestList
.
concat
(
list
);
this
.
materialRequestArrays
=
this
.
materialRequests
.
filter
((
item
,
index
,
self
)
=>
{
return
self
.
findIndex
(
t
=>
t
.
itemCode
===
item
.
itemCode
)
===
index
;
});
console
.
log
(
materialRequestArrays
,
'materialRequestArrays'
)
}
});
}
...
...
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