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
31051125
Commit
31051125
authored
Mar 06, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查看图片bug
parent
d02c76fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
index.vue
pages/mes/prodReport/index.vue
+8
-5
No files found.
pages/mes/prodReport/index.vue
View file @
31051125
...
...
@@ -84,7 +84,7 @@
<u-button
type=
"primary"
@
click=
"commonClick('ViewPpicture')"
>
查看图片
</u-button>
</scroll-view>
</view>
<!--查看图片查询的生产工单-->
<u-modal
title=
"生产报工"
@
confirm=
"feedback()"
...
...
@@ -540,7 +540,7 @@
<button
class=
"uni-button"
size=
"mini"
type=
"primary"
@
click=
"viewSopsShow(line)"
>
查看
</button>
</view>
</uni-td>
<uni-td
align=
"center"
>
{{
line
.
workorder
Id
}}
</uni-td>
<uni-td
align=
"center"
>
{{
line
.
workorder
Code
}}
</uni-td>
<uni-td
align=
"center"
>
{{
line
.
workorderName
}}
</uni-td>
<uni-td
align=
"center"
>
{{
line
.
orderSource
}}
</uni-td>
<uni-td
align=
"center"
>
{{
line
.
productName
}}
</uni-td>
...
...
@@ -1474,12 +1474,13 @@ export default {
const
rst
=
[];
const
taskInfo
=
this
.
tableSelectData
[
0
];
const
t
=
this
;
const
items
=
this
.
curTaskInfo
.
workorderOption
.
find
((
item
)
=>
item
.
value
===
this
.
curTaskInfo
.
workorderCode
);
this
.
materialRequestList
.
forEach
((
s
)
=>
{
const
items
=
this
.
curTaskInfo
.
workorderOption
.
find
((
item
)
=>
item
.
text
===
this
.
curTaskInfo
.
workorderCode
);
console
.
log
(
this
.
curTaskInfo
.
workorderOption
,
this
.
curTaskInfo
.
workorderCode
,
items
)
this
.
materialRequestArrays
.
forEach
((
s
)
=>
{
if
(
s
.
applyNum
!=
null
)
{
rst
.
push
({
itemId
:
s
.
itemId
,
workorderCode
:
s
.
workorderCode
,
workorderCode
:
items
?.
text
,
taskId
:
taskInfo
.
taskId
,
applyNum
:
s
.
applyNum
,
applyType
:
1
...
...
@@ -1510,6 +1511,8 @@ export default {
viewiPctureShow
()
{
this
.
materialReturn
=
true
;
// this.viewSopPicture = this.tableSelectData[0];
const
taskInfo
=
this
.
tableSelectData
[
0
];
this
.
curTaskInfo
=
this
.
tableSelectData
[
0
];
this
.
$u
.
api
.
viewpicture
.
viewWorkorder
({
taskId
:
this
.
curTaskInfo
.
taskId
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
viewSopPicture
=
res
.
data
;
...
...
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