Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
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
723c1d4f
authored
2025-07-15 10:54:10 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'devmatch' into dev
2 parents
746e5385
42f91580
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
7 deletions
src/apiPc/booking.js
src/viewsPc/booking/pay.vue
src/viewsPc/center/myReservation.vue
src/viewsPc/index.vue
src/viewsPc/index_en.vue
src/viewsPc/match/detail_en.vue
src/apiPc/booking.js
View file @
723c1d4
...
...
@@ -96,6 +96,13 @@ export function getCarBilldetailbyId(params) {
})
}
export
function
checkReceipt
(
orderId
)
{
return
request
({
url
:
`/ota/norder/checkReceipt/
${
orderId
}
`
,
method
:
'post'
})
}
export
function
getFoodBilldetailbyId
(
params
)
{
return
request
({
url
:
`/ota/orderFood/getFoodOrderInfoByOrder`
,
...
...
src/viewsPc/booking/pay.vue
View file @
723c1d4
...
...
@@ -508,6 +508,19 @@
</el-icon>
{{
language
==
0
?
'导出酒店预订单'
:
'Download Confirmation'
}}
</el-button>
<el-button
v-if=
"(form.viewStatus=='1'||form.viewStatus=='5')&&(type=='makeUp'||type=='hotel'||type=='ticket'||type=='car')"
class=
"btn-lineG w200px"
round
type=
"primary"
@
click=
"downInvoice"
>
<el-icon>
<Download
/>
</el-icon>
{{
language
==
0
?
'下载收据'
:
'DownLoad Invoice'
}}
</el-button>
<el-button
v-if=
"form.viewStatus == '5'"
round
@
click=
"unsubscribe"
>
{{
language
==
0
?
'退订'
:
'Unsubscribe'
}}
</el-button>
...
...
@@ -655,13 +668,15 @@ function getData() {
form
.
value
=
{
pickUpBo
:
{}
}
return
booking
.
getCarBilldetailbyId
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
booking
.
getCarBilldetailbyId
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
form
.
value
=
res
.
data
matchId
.
value
=
res
.
data
.
activeId
if
(
language
.
value
==
0
)
{
totalFee
.
value
=
res
.
data
.
total
}
else
{
totalFee
.
value
=
res
.
data
.
totalEn
}
checkReceipt
()
}).
catch
(
err
=>
{
console
.
log
(
err
)
errorBox
.
value
=
true
...
...
@@ -712,6 +727,14 @@ function getData() {
}
}
function
checkReceipt
()
{
booking
.
checkReceipt
(
orderId
.
value
).
then
(
res
=>
{
form
.
value
.
receiptFlag
=
res
.
msg
||
0
console
.
log
(
res
)
})
}
// 旅游订单详情
const
getTravelOrderInfo
=
()
=>
{
return
booking
.
getScenicOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
...
...
@@ -735,8 +758,9 @@ async function getTicketOrderInfoFN() {
try
{
await
getDetail
(
form
.
value
.
activeId
)
matchId
.
value
=
form
.
value
.
activeId
totalFee
.
value
=
language
.
value
==
0
?
form
.
value
.
total
:
form
.
value
.
totalEn
checkReceipt
()
}
catch
(
e
)
{
console
.
log
(
e
)
}
finally
{
...
...
@@ -943,6 +967,7 @@ function handleView() {
function
downInvoice
()
{
getremark
()
debugger
if
(
form
.
value
.
receiptFlag
==
'0'
)
{
showSJDialog
.
value
=
true
}
else
{
...
...
src/viewsPc/center/myReservation.vue
View file @
723c1d4
...
...
@@ -227,7 +227,8 @@ function goDetail(b) {
name
:
'bookingPay'
,
query
:
{
orderId
:
b
.
id
,
orderType
:
b
.
orderType
orderType
:
b
.
orderType
,
matchId
:
b
.
activeId
}
})
}
...
...
src/viewsPc/index.vue
View file @
723c1d4
...
...
@@ -440,8 +440,7 @@
<!-- 邀请函-->
<div
v-if=
"matchData.leagueId==0"
class=
"fixed_gg_l yaoQing"
>
<img
v-if=
"language==0"
src=
"@/assets/logo/Invitation_c.png"
@
click=
"applyInvitation"
>
<img
v-else
src=
"@/assets/logo/Invitation_e.png"
@
click=
"applyInvitation"
>
<img
v-if=
"matchData.invitationSw==1"
src=
"@/assets/logo/Invitation_c.png"
@
click=
"applyInvitation"
>
<div
v-if=
"clubImage"
style=
"padding-left: 7px;"
>
<el-image
:preview-src-list=
"[clubImage]"
...
...
src/viewsPc/index_en.vue
View file @
723c1d4
...
...
@@ -421,8 +421,7 @@
<!-- 邀请函-->
<div
v-if=
"matchData.leagueId==0"
class=
"fixed_gg_l yaoQing"
>
<img
v-if=
"language==0"
src=
"@/assets/logo/Invitation_c.png"
@
click=
"applyInvitation"
>
<img
v-else
src=
"@/assets/logo/Invitation_e.png"
@
click=
"applyInvitation"
>
<img
v-if=
"matchData.invitationSw==1"
src=
"@/assets/logo/Invitation_e.png"
@
click=
"applyInvitation"
>
<div
style=
"padding-left: 7px;"
>
<el-image
v-if=
"clubImage"
...
...
src/viewsPc/match/detail_en.vue
View file @
723c1d4
...
...
@@ -433,10 +433,13 @@
</div>
<div
v-if=
"matchData.leagueId==0"
class=
"fixed_gg_l"
@
click=
"applyInvitation"
>
<div
v-if=
"matchData.invitationSw==1"
>
<img
v-if=
"language==0"
src=
"@/assets/logo/Invitation_c.png"
>
<img
v-else
src=
"@/assets/logo/Invitation_e.png"
>
</div>
</div>
<affix-invitation
ref=
"dialogInvitationRef"
/>
<div
style=
"height: 50px"
/>
...
...
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