Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
74e8614d
Commit
74e8614d
authored
May 18, 2021
by
季圣华
Browse files
给单据增加打印功能
parent
a3a1d64c
Changes
1
Show whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/dialog/BillDetail.vue
View file @
74e8614d
...
@@ -11,14 +11,11 @@
...
@@ -11,14 +11,11 @@
wrapClassName=
"ant-modal-cust-warp"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:5%;height: 100%;overflow-y: hidden"
>
style=
"top:5%;height: 100%;overflow-y: hidden"
>
<template
slot=
"footer"
>
<template
slot=
"footer"
>
<a-button
key=
"print"
type=
"primary"
@
click=
"handlePrint"
>
<a-button
v-print=
"'#printContent'"
ghost
type=
"primary"
>
打印
</a-button>
打印
<a-button
key=
"back"
@
click=
"handleCancel"
>
取消
</a-button>
</a-button>
<a-button
key=
"back"
@
click=
"handleCancel"
>
取消
</a-button>
</
template
>
</
template
>
<a-form
:form=
"form"
>
<a-form
:form=
"form"
>
<section
ref=
"print"
id=
"printContent"
>
<!--调拨出库-->
<!--调拨出库-->
<
template
v-if=
"billType === '调拨出库'"
>
<
template
v-if=
"billType === '调拨出库'"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -743,6 +740,7 @@
...
@@ -743,6 +740,7 @@
</a-col>
</a-col>
</a-row>
</a-row>
</
template
>
</
template
>
</section>
</a-form>
</a-form>
</j-modal>
</j-modal>
</a-card>
</a-card>
...
@@ -1014,9 +1012,6 @@
...
@@ -1014,9 +1012,6 @@
close
()
{
close
()
{
this
.
$emit
(
'
close
'
);
this
.
$emit
(
'
close
'
);
this
.
visible
=
false
;
this
.
visible
=
false
;
},
handlePrint
()
{
window
.
print
();
}
}
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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