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
4f36b09e
Commit
4f36b09e
authored
Mar 23, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复查看图片BUG
parent
b4f2c1cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
index.vue
pages/mes/prodReport/index.vue
+8
-1
No files found.
pages/mes/prodReport/index.vue
View file @
4f36b09e
...
...
@@ -588,6 +588,7 @@
<zb-table
:columns=
"tableDetailColumn"
:stripe=
"true"
:border=
"true"
:data=
"tableDataDetail"
></zb-table>
</view>
</u-modal>
//查询图片生产工单
<u-modal
title=
"生产工单"
@
confirm=
"materialReturnSave()"
...
...
@@ -1281,11 +1282,13 @@ export default {
this
.
stopReason
+=
e
;
},
workorderSelect
(
id
,
index
)
{
console
.
log
(
id
,
'9999'
)
const
row
=
this
.
feedbackForms
[
index
];
if
(
!
id
){
row
.
sizeList
=
[];
row
.
directiveList
=
[];
row
.
workorderSoSizeItemId
=
''
;
row
.
printContents
=
row
.
arrangeCode
row
.
workorderSoDirectiveId
=
''
;
return
;
}
...
...
@@ -1293,7 +1296,8 @@ export default {
const
items
=
row
.
workorderList
.
find
((
item
)
=>
item
.
workorderId
===
id
);
row
.
workorderCode
=
items
.
workorderCode
;
row
.
printName
=
items
.
workorderCode
;
row
.
printContents
=
row
.
arrangeCode
+
row
.
workorderCode
//row.printContents =row.arrangeCode+row.workorderCode
row
.
printContents
=
row
.
workorderCode
row
.
sizeList
=
row
.
sizeData
[
id
];
row
.
directiveList
=
row
.
directiveData
[
id
];
row
.
packByDirective
=
items
.
packByDirective
;
...
...
@@ -1343,6 +1347,9 @@ export default {
})
.
then
((
res
)
=>
{
item
.
workorderList
=
res
.
rows
;
if
(
res
.
rows
.
length
===
1
)
{
item
.
printContents
=
res
.
rows
[
0
].
workorderCode
}
//如果只关联一个订单,默认选中
if
(
res
.
rows
.
length
==
1
){
item
.
workorderId
=
res
.
rows
[
0
].
workorderId
;
...
...
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