Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
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
viitto
million
Commits
82b044c5
Commit
82b044c5
authored
Mar 17, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
45fb6cf0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
details.vue
src/pages/ScenicSpotTicket/details.vue
+14
-4
detailsCar.vue
src/pages/detailsCar.vue
+2
-0
No files found.
src/pages/ScenicSpotTicket/details.vue
View file @
82b044c5
...
...
@@ -261,6 +261,7 @@
class=
"bg-white q-pa-md"
:priceList=
"priceList"
@
change=
"changeChosenDateHandler"
@
getQuotationData=
"getCarPriceData"
ref=
"calendar"
></calendar>
</q-popup-proxy>
...
...
@@ -272,6 +273,7 @@
:price=
"currentPrice"
@
reset=
"resetHandler"
@
getPriceList=
"getPriceList"
ref=
"orderPreview"
></order-preview>
</div>
...
...
@@ -279,9 +281,9 @@
<div
class=
"text-h6 q-pt-lg"
v-if=
"$q.platform.is.mobile"
>
所選方案詳情
</div>
<!-- v-if="priceList && priceList.length > 0" -->
<div
class=
"bg-white rounded-borders q-mt-md"
v-if=
"priceList && priceList.length > 0"
>
<div
class=
"q-pa-md row"
>
<div
class=
"col"
>
...
...
@@ -310,11 +312,12 @@
<div
class=
""
v-if=
"$q.platform.is.desktop"
>
<div
class=
"row items-center"
>
<span
class=
"product-price text-h6 q-mr-md"
>
CNY
v-if=
"priceList.length>0&&priceList[0].originalB2CPrice>0"
>
CNY
{{
moneyFormat
(
priceList
[
0
].
originalB2CPrice
,
0
)
}}
</span
>
<span
class=
"col"
></span>
<q-btn
color=
"primary"
outline
...
...
@@ -323,7 +326,7 @@
class=
"q-px-lg"
/>
</div>
<div
class=
"text-info q-mt-md text-right"
>
<div
class=
"text-info q-mt-md text-right"
v-if=
"priceList.length>0"
>
最早可預訂日期:
{{
priceList
[
0
].
startDate
}}
</div>
</div>
...
...
@@ -355,6 +358,7 @@
<calendar
:priceList=
"priceList"
@
change=
"changeChosenDateHandler"
@
getQuotationData=
"getCarPriceData"
ref=
"calendar"
></calendar>
</div>
...
...
@@ -366,6 +370,7 @@
:price=
"currentPrice"
@
reset=
"resetHandler"
@
getPriceList=
"getPriceList"
ref=
"orderPreview"
></order-preview>
</div>
</div>
...
...
@@ -900,7 +905,12 @@ export default {
);
}
,
// 获取报价的详情
getCarPriceData
()
{
getCarPriceData
(
time
)
{
// 日历翻页更新报价
if
(
time
){
this
.
currentYM
.
str
=
time
this
.
$refs
.
orderPreview
.
resetHandler
()
}
this
.
priceList
=
[]
this
.
apipost
(
"b2c_get_GetTicketCouponsMonthPriceAll"
,
...
...
src/pages/detailsCar.vue
View file @
82b044c5
...
...
@@ -261,6 +261,7 @@
class=
"bg-white q-pa-md"
:priceList=
"priceList"
@
change=
"changeChosenDateHandler"
@
getQuotationData=
"getCarPriceData2"
ref=
"calendar"
></calendar>
</q-popup-proxy>
...
...
@@ -986,6 +987,7 @@ export default {
},
// 获取车的详情
getCarPriceData2
(
time
)
{
// 日历翻页更新报价
if
(
time
){
this
.
currentYM
.
str
=
time
this
.
$refs
.
orderPreview
.
resetHandler
()
...
...
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