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
2ab736df
Commit
2ab736df
authored
Aug 02, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改报工新增打印二维码
parent
76ee4bbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
editFeeding.vue
pages/mes/prodReport/components/editFeeding.vue
+34
-0
No files found.
pages/mes/prodReport/components/editFeeding.vue
View file @
2ab736df
...
...
@@ -28,6 +28,13 @@
icon=
"trash"
@
click=
"handleDelete(scope.row)"
>
删除
</u-button>
<u-button
size=
"mini"
type=
"text"
style=
"margin-left: 10rpx"
icon=
"edit-pen"
@
click=
"handlePrintQrcode(scope.row)"
>
补打
</u-button>
</
template
>
</zb-table>
<uni-pagination
:show-icon=
"true"
style=
"margin-top: 10rpx;"
v-if=
"total"
:total=
"total"
:current=
"queryParams.pageNum"
:pageSize=
"queryParams.pageSize"
@
change=
"handlePage"
/>
...
...
@@ -250,6 +257,33 @@ export default {
}
})
},
/**打印二维码*/
handlePrintQrcode
(
row
)
{
let
workunitName
=
''
;
this
.
$u
.
api
.
getNextProcess
({
taskId
:
row
.
taskId
}).
then
(
workunit
=>
{
workunitName
=
workunit
.
data
.
workunitName
;
this
.
printPdfSocket
({
reportName
:
'mysql:qrcode-50*50-2'
,
values
:
{
detail
:
[
{
barcode
:
row
.
workorderCode
,
showText
:
'编排单号:'
+
row
.
arrangeCode
+
'
\
n数量:'
+
row
.
quantityQualify
+
'
\
n工单号:'
+
row
.
workorderCode
+
'
\
n下一道工序机台:'
+
workunitName
,
gp
:
1
},
{
barcode
:
row
.
workorderCode
,
showText
:
'编排单号:'
+
row
.
arrangeCode
+
'
\
n数量:'
+
row
.
quantityQualify
+
'
\
n工单号:'
+
row
.
workorderCode
+
'
\
n下一道工序机台:'
+
workunitName
,
gp
:
1
}
]
}
})
});
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
this
.
form
=
{}
...
...
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