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
2f1a2708
Commit
2f1a2708
authored
Jun 21, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料申请
parent
f49367bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
index.vue
pages/mes/prodReport/index.vue
+6
-1
No files found.
pages/mes/prodReport/index.vue
View file @
2f1a2708
...
...
@@ -2621,6 +2621,11 @@ export default {
const
t
=
this
;
// const items = this.curTaskInfo.workorderOption.find((item) => item.value === this.curTaskInfo.workorderCode);
// console.log(this.curTaskInfo.workorderOption, this.curTaskInfo.workorderCode);
let
workorderCode
=
null
if
(
this
.
curTaskInfo
.
workorderOption
)
{
const
finditem
=
this
.
curTaskInfo
.
workorderOption
.
find
(
v
=>
v
.
value
===
this
.
curTaskInfo
.
workorderCode
)
if
(
finditem
)
workorderCode
=
finditem
.
text
}
this
.
materialRequestArrays
.
forEach
((
s
)
=>
{
if
(
s
.
applyNum
!=
null
)
{
rst
.
push
({
...
...
@@ -2629,7 +2634,7 @@ export default {
workunitCode
:
this
.
curTaskInfo
.
workunitCode
,
workunitName
:
this
.
curTaskInfo
.
workunitName
,
taskWorkunitId
:
this
.
curTaskInfo
.
taskWorkunitId
,
workorderCode
:
this
.
curTaskInfo
.
workorderCode
,
workorderCode
:
workorderCode
,
taskId
:
taskInfo
.
taskId
,
applyNum
:
s
.
applyNum
,
applyType
:
1
...
...
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