Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5971defd
authored
2024-06-02 17:15:19 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
607a7ecb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
src/viewsPc/booking/pay.vue
src/viewsPc/booking/pay.vue
View file @
5971def
...
...
@@ -219,6 +219,11 @@
<span
class=
"price"
>
{{
language
==
0
?
'¥'
:
'€'
}}{{
Number
(
totalFee
).
toFixed
(
2
)
}}
</span>
</div>
</el-col>
<el-col
:lg=
"24"
>
<el-link
v-if=
"form.viewStatus=='1'||form.viewStatus=='5'"
type=
"primary"
@
click=
"exportPdf"
><el-icon><Upload
/></el-icon>
{{
language
==
0
?
'导出酒店预订单'
:
'Export PDF'
}}
</el-link>
</el-col>
</el-row>
</div>
</div>
...
...
@@ -610,6 +615,21 @@ const unsubscribe = () => {
})
}
function
exportPdf
()
{
var
obj
=
{
orderId
:
orderId
.
value
}
if
(
language
.
value
==
0
){
proxy
.
download
(
'/ota/orderRoom/downRoomConfirmation'
,
{
...
obj
},
`订房确认书.pdf`
)
}
else
{
proxy
.
download
(
'/ota/orderRoom/downRoomConfirmation'
,
{
...
obj
},
`Hotel Reservation.pdf`
)
}
}
</
script
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment