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
d9a4e4fa
authored
2024-07-16 18:14:04 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
票务
1 parent
88236e1f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
src/viewsPc/booking/addInvoice.vue
src/viewsPc/booking/invoiceDetail.vue
src/viewsPc/booking/addInvoice.vue
View file @
d9a4e4f
...
...
@@ -23,20 +23,20 @@
<div
v-if=
"!b.orderType"
>
<p
v-if=
"b.groupName"
>
{{
language
==
0
?
'团队名称'
:
'Team name'
}}
:
{{
b
.
groupName
}}
</p>
<p
v-if=
"b.payTime"
>
{{
language
==
0
?
'支付时间'
:
'Payment time'
}}
:
{{
b
.
payTime
}}
</p>
<p
class=
"poPrice"
v-if=
"b.totalPayAmount"
>
¥
{{
b
.
totalPayAmount
}}
</p>
<p
class=
"poPrice"
v-if=
"b.totalPayAmount"
>
{{
b
.
paymentType
==
3
?
'€'
:
'¥'
}}
{{
b
.
totalPayAmount
}}
</p>
</div>
<!-- 酒店订单-->
<div
v-if=
"b.orderType == 0"
>
<p>
{{
b
.
messageObj
.
roomInfo
}}
</p>
<p>
{{
b
.
messageObj
.
roomStayDate
}}
</p>
<p
class=
"poPrice"
v-if=
"b.totalStr"
>
¥
{{
b
.
totalStr
}}
</p>
<p
class=
"poPrice"
v-if=
"b.totalStr"
>
{{
b
.
paymentType
==
3
?
'€'
:
'¥'
}}
{{
b
.
totalStr
}}
</p>
</div>
<!-- 接送订单-->
<div
v-if=
"b.orderType == 1"
>
<p
v-for=
"(car,index) in b.messageObj.carsList"
:key=
"index"
v-show=
"car.num>0"
>
<span>
{{
car
.
name
}}
:
{{
car
.
num
}}
辆
</span>
</p>
<p
class=
"poPrice"
v-if=
"b.total"
>
¥
{{
b
.
total
}}
</p>
<p
class=
"poPrice"
v-if=
"b.total"
>
{{
b
.
paymentType
==
3
?
'€'
:
'¥'
}}{{
b
.
totalStr
}}
</p>
</div>
<!-- 餐饮订单-->
<div
v-if=
"b.orderType == 2"
>
...
...
@@ -45,7 +45,7 @@
{{
n
.
name
}}
(
{{
n
.
categoryName
}}
)
<span>
{{
n
.
num
}}
份
</span>
</span>
</p>
<p
class=
"poPrice"
v-if=
"b.total"
>
¥
{{
b
.
total
}}
</p>
<p
class=
"poPrice"
v-if=
"b.total"
>
{{
b
.
paymentType
==
3
?
'€'
:
'¥'
}}
{{
b
.
total
}}
</p>
</div>
<div
v-if=
"b.orderType == 3 || b.orderType == 4"
>
<div>
...
...
@@ -54,7 +54,7 @@
<div>
{{
language
==
0
?
'预约时间:'
:
''
}}{{
b
.
deliveryTime
.
slice
(
0
,
10
)
}}
{{
b
.
messageObj
.
timePeriod
}}
</div>
<p
class=
"poPrice"
v-if=
"b.total"
>
¥
{{
b
.
total
}}
</p>
<p
class=
"poPrice"
v-if=
"b.total"
>
{{
b
.
paymentType
==
3
?
'€'
:
'¥'
}}{{
b
.
totalStr
}}
</p>
</div>
</div>
...
...
@@ -240,6 +240,7 @@ onMounted(() => {
arr
.
push
(
bill
.
id
)
}
form
.
value
.
orders
=
arr
.
toString
()
console
.
log
(
list
.
value
)
}
if
(
route
.
query
.
activeId
){
cptId
=
route
.
query
.
activeId
...
...
src/viewsPc/booking/invoiceDetail.vue
View file @
d9a4e4f
...
...
@@ -20,14 +20,14 @@
<div
v-if=
"b.orderType == 0"
>
<p>
{{
b
.
messageObj
.
roomInfo
}}
</p>
<p>
{{
b
.
messageObj
.
roomStayDate
}}
</p>
<p
class=
"poPrice"
>
¥
{{
b
.
total
}}
</p>
<p
class=
"poPrice"
>
¥
{{
b
.
total
Str
}}
</p>
</div>
<!-- 接送订单-->
<div
v-if=
"b.orderType == 1"
>
<p
v-for=
"(car,index) in b.messageObj.carsList"
:key=
"index"
v-show=
"car.num>0"
>
<span>
{{
car
.
name
}}
:
{{
car
.
num
}}
辆
</span>
</p>
<p
class=
"poPrice"
>
¥
{{
b
.
total
}}
</p>
<p
class=
"poPrice"
>
{{
b
.
paymentType
==
3
?
'€'
:
'¥'
}}{{
b
.
totalStr
}}
</p>
</div>
<!-- 餐饮订单-->
<div
v-if=
"b.orderType == 2"
>
...
...
@@ -36,7 +36,7 @@
{{
n
.
name
}}
(
{{
n
.
categoryName
}}
)
<span>
{{
n
.
num
}}
份
</span>
</span>
</p>
<p
class=
"poPrice"
>
¥
{{
b
.
total
}}
</p>
<p
class=
"poPrice"
>
{{
b
.
paymentType
==
3
?
'€'
:
'¥'
}}{{
b
.
totalStr
}}
</p>
</div>
<div
v-if=
"b.orderType == 3 || b.orderType == 4"
>
<div>
...
...
@@ -45,7 +45,7 @@
<div>
{{
language
==
0
?
'预约时间:'
:
''
}}{{
b
.
deliveryTime
.
slice
(
0
,
10
)
}}
{{
b
.
messageObj
.
timePeriod
}}
</div>
<p
class=
"poPrice"
>
¥
{{
b
.
total
}}
</p>
<p
class=
"poPrice"
>
{{
b
.
paymentType
==
3
?
'€'
:
'¥'
}}{{
b
.
totalStr
}}
</p>
</div>
</div>
...
...
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