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
29e320af
Commit
29e320af
authored
Mar 04, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产报工bug
parent
a12c9159
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
index.vue
pages/mes/prodReport/index.vue
+7
-4
No files found.
pages/mes/prodReport/index.vue
View file @
29e320af
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
</view>
</view>
<u-modal
<u-modal
:title=
"title
"
title=
"生产报工
"
@
confirm=
"feedback()"
@
confirm=
"feedback()"
show-cancel-button
show-cancel-button
:title-style=
"
{ 'background-color': '#1E3770', color: '#FFFFFF', 'line-height': '37px', 'padding-top': '0px' }"
:title-style=
"
{ 'background-color': '#1E3770', color: '#FFFFFF', 'line-height': '37px', 'padding-top': '0px' }"
...
@@ -538,7 +538,6 @@
...
@@ -538,7 +538,6 @@
</u-modal>
</u-modal>
<u-modal
<u-modal
title=
"显示图片"
title=
"显示图片"
@
confirm=
"materialReturnSave()"
show-cancel-button
show-cancel-button
:show-confirm-button=
"false"
:show-confirm-button=
"false"
cancel-text=
"返回"
cancel-text=
"返回"
...
@@ -1081,10 +1080,12 @@ export default {
...
@@ -1081,10 +1080,12 @@ export default {
},
},
workorderSelect
(
id
,
row
)
{
workorderSelect
(
id
,
row
)
{
console
.
log
(
id
,
row
);
console
.
log
(
id
,
row
);
row
.
workorderId
=
id
const
items
=
row
.
workorderList
.
find
((
item
)
=>
item
.
value
===
id
);
const
items
=
row
.
workorderList
.
find
((
item
)
=>
item
.
value
===
id
);
console
.
log
(
items
,
'items'
);
console
.
log
(
items
,
'items'
);
row
.
workorderCode
=
items
.
text
;
row
.
workorderCode
=
items
.
text
;
row
.
printName
=
items
.
text
;
row
.
printName
=
items
.
text
;
console
.
log
(
row
,
'rows'
)
},
},
stopReas
(
abnormalType
)
{
stopReas
(
abnormalType
)
{
...
@@ -1309,7 +1310,9 @@ export default {
...
@@ -1309,7 +1310,9 @@ export default {
itemName
:
item
.
itemName
,
itemName
:
item
.
itemName
,
workstationId
:
item
.
workstationId
,
workstationId
:
item
.
workstationId
,
workstationCode
:
item
.
workstationCode
,
workstationCode
:
item
.
workstationCode
,
workstationName
:
item
.
workstationName
,
workorderId
:
item
.
workorderId
,
workorderCode
:
item
.
workorderCode
,
workstationName
:
item
.
workstationName
,
startTime
:
item
.
startTime
startTime
:
item
.
startTime
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
@@ -1515,7 +1518,7 @@ export default {
...
@@ -1515,7 +1518,7 @@ export default {
batchNo
:
s
.
batchCode
,
batchNo
:
s
.
batchCode
,
packNo
:
s
.
packNo
,
packNo
:
s
.
packNo
,
isQualified
:
s
.
isQualified
,
isQualified
:
s
.
isQualified
,
workorderCode
:
t
.
materialReturnFormData
.
workorderCode
workorderCode
:
t
.
materialReturnFormData
.
workorderCode
,
});
});
}
}
});
});
...
...
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