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
12a699e9
Commit
12a699e9
authored
Mar 08, 2023
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改BUG
parent
5f1d4919
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
orderPreview.vue
src/components/trip/orderPreview.vue
+5
-2
orderPreview.vue
src/pages/line/orderPreview.vue
+5
-3
No files found.
src/components/trip/orderPreview.vue
View file @
12a699e9
...
@@ -381,7 +381,8 @@ export default {
...
@@ -381,7 +381,8 @@ export default {
this
.
chosenObj
.
startDate
=
this
.
p
.
startDate
;
this
.
chosenObj
.
startDate
=
this
.
p
.
startDate
;
this
.
calcMoney
();
this
.
calcMoney
();
if
(
this
.
p
.
unionCityList
&&
this
.
p
.
unionCityList
.
length
>
0
&&
this
.
p
.
originalB2CPrice
==
this
.
p
.
RealPrice
){
if
(
this
.
p
.
unionCityList
&&
this
.
p
.
unionCityList
.
length
>
0
&&
this
.
p
.
originalB2CPrice
==
this
.
p
.
RealPrice
){
this
.
currentUnionCity
=
this
.
p
.
unionCityList
[
0
]
this
.
changeCityHandler
(
this
.
p
.
unionCityList
[
0
])
}
}
}
}
...
@@ -405,7 +406,9 @@ export default {
...
@@ -405,7 +406,9 @@ export default {
this
.
chosenObj
.
startDate
=
this
.
p
.
startDate
;
this
.
chosenObj
.
startDate
=
this
.
p
.
startDate
;
this
.
calcMoney
()
this
.
calcMoney
()
if
(
this
.
p
.
unionCityList
&&
this
.
p
.
unionCityList
.
length
>
0
){
if
(
this
.
p
.
unionCityList
&&
this
.
p
.
unionCityList
.
length
>
0
){
this
.
currentUnionCity
=
this
.
p
.
unionCityList
[
0
]
//this.currentUnionCity = this.p.unionCityList[0]
this
.
changeCityHandler
(
this
.
p
.
unionCityList
[
0
])
}
}
}
}
},
},
...
...
src/pages/line/orderPreview.vue
View file @
12a699e9
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
</q-card>
</q-card>
<q-card
flat
class=
"q-pa-md q-mt-lg"
>
<q-card
flat
class=
"q-pa-md q-mt-lg"
>
<div
class=
"text-subtitle1 text-weight-bolder q-mb-md"
>
旅客資料
</div>
<div
class=
"text-subtitle1 text-weight-bolder q-mb-md"
>
旅客資料
{{ price.realPrice }}
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<q-img
<q-img
...
@@ -611,8 +611,8 @@ export default {
...
@@ -611,8 +611,8 @@ export default {
CustomerId
:
0
,
CustomerId
:
0
,
DepartureCityId
:
this
.
order
.
order
.
startCityId
,
DepartureCityId
:
this
.
order
.
order
.
startCityId
,
IsIntermodal
:
this
.
unionCity
?
1
:
2
,
IsIntermodal
:
this
.
unionCity
?
1
:
2
,
Unit_Price
:
this
.
price
.
originalB2C
Price
,
Unit_Price
:
this
.
price
.
real
Price
,
TC_Price
:
this
.
price
.
originalB2C
Price
,
TC_Price
:
this
.
price
.
real
Price
,
ManNum
:
this
.
chosenObj
.
crCount
,
ManNum
:
this
.
chosenObj
.
crCount
,
ChirdNum
:
this
.
chosenObj
.
etCount
,
ChirdNum
:
this
.
chosenObj
.
etCount
,
ChirdNeedBedNum
:
this
.
chosenObj
.
etzcCount
,
ChirdNeedBedNum
:
this
.
chosenObj
.
etzcCount
,
...
@@ -674,6 +674,7 @@ export default {
...
@@ -674,6 +674,7 @@ export default {
this
.
apipost
(
'sellorder_post_SetTravelGuestInfo_V2'
,
currentGuest
,
r
=>
{
this
.
apipost
(
'sellorder_post_SetTravelGuestInfo_V2'
,
currentGuest
,
r
=>
{
console
.
log
(
r
)
console
.
log
(
r
)
if
(
i
<
this
.
guests
.
length
-
1
){
if
(
i
<
this
.
guests
.
length
-
1
){
i
++
this
.
uploadGuests
(
i
,
orderId
)
this
.
uploadGuests
(
i
,
orderId
)
}
else
{
}
else
{
this
.
submitB2COrderHandler
(
orderId
)
this
.
submitB2COrderHandler
(
orderId
)
...
@@ -915,6 +916,7 @@ export default {
...
@@ -915,6 +916,7 @@ export default {
this
.
trip
.
imgCover
=
JSON
.
parse
(
this
.
trip
.
imgCover
);
this
.
trip
.
imgCover
=
JSON
.
parse
(
this
.
trip
.
imgCover
);
this
.
price
=
this
.
trip
.
currentPriceInfo
;
this
.
price
=
this
.
trip
.
currentPriceInfo
;
this
.
price
.
realPrice
=
this
.
price
.
originalB2CPrice
if
(
this
.
order
.
order
.
startCityId
&&
this
.
order
.
order
.
startCityId
!=
this
.
trip
.
startCityId
){
if
(
this
.
order
.
order
.
startCityId
&&
this
.
order
.
order
.
startCityId
!=
this
.
trip
.
startCityId
){
this
.
unionCity
=
this
.
price
.
unionCityList
.
find
(
x
=>
x
.
cityId
==
this
.
order
.
order
.
startCityId
)
this
.
unionCity
=
this
.
price
.
unionCityList
.
find
(
x
=>
x
.
cityId
==
this
.
order
.
order
.
startCityId
)
if
(
this
.
unionCity
.
backFlight
&&
this
.
unionCity
.
backFlight
.
addPrice
){
if
(
this
.
unionCity
.
backFlight
&&
this
.
unionCity
.
backFlight
.
addPrice
){
...
...
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