Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
2e7a9c0b
Commit
2e7a9c0b
authored
Mar 07, 2025
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决计算问题
parent
27bf307a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+11
-10
No files found.
pages/jiuzhai/jz_Reserve.vue
View file @
2e7a9c0b
...
@@ -625,11 +625,11 @@
...
@@ -625,11 +625,11 @@
}
}
if
(
option
.
seat
)
{
if
(
option
.
seat
)
{
let
t
=
JSON
.
parse
(
decodeURIComponent
(
option
.
seat
));
let
t
=
JSON
.
parse
(
decodeURIComponent
(
option
.
seat
));
this
.
orderMsg
.
ManNum
=
t
.
crCount
;
this
.
orderMsg
.
ManNum
=
Number
(
t
.
crCount
)
;
this
.
orderMsg
.
ChirdNeedBedNum
=
t
.
etCount
;
this
.
orderMsg
.
ChirdNeedBedNum
=
Number
(
t
.
etCount
)
;
this
.
orderMsg
.
ChirdNoBedNum
=
t
.
etbCount
;
this
.
orderMsg
.
ChirdNoBedNum
=
Number
(
t
.
etbCount
)
;
this
.
orderMsg
.
BabyNum
=
t
.
yeCount
;
this
.
orderMsg
.
BabyNum
=
Number
(
t
.
yeCount
)
;
this
.
orderMsg
.
VisaNum
=
t
.
crCount
+
t
.
etCount
+
t
.
etbCount
+
t
.
yeCount
;
this
.
orderMsg
.
VisaNum
=
t
his
.
orderMsg
.
ManNum
+
this
.
orderMsg
.
ChirdNeedBedNum
+
this
.
orderMsg
.
ChirdNoBedNum
+
this
.
orderMsg
.
BabyNum
;
this
.
calcMoney
();
this
.
calcMoney
();
}
}
if
(
option
.
tcid
)
{
if
(
option
.
tcid
)
{
...
@@ -1115,6 +1115,9 @@
...
@@ -1115,6 +1115,9 @@
if
(
this
.
useCouponIds
.
length
>
0
){
if
(
this
.
useCouponIds
.
length
>
0
){
CouponAllotIds
=
this
.
useCouponIds
.
join
(
','
)
CouponAllotIds
=
this
.
useCouponIds
.
join
(
','
)
}
}
const
guestCount
=
parseInt
(
this
.
orderMsg
.
ManNum
)
+
parseInt
(
this
.
orderMsg
.
ChirdNum
)
+
parseInt
(
this
.
orderMsg
.
BabyNum
)
let
msg
=
{
let
msg
=
{
OrderId
:
0
,
OrderId
:
0
,
TCID
:
this
.
currentPriceInfo
.
tcid
,
TCID
:
this
.
currentPriceInfo
.
tcid
,
...
@@ -1143,9 +1146,7 @@
...
@@ -1143,9 +1146,7 @@
BrandId
:
0
,
BrandId
:
0
,
TradeWay
:
0
,
TradeWay
:
0
,
PlatformOrder
:
""
,
PlatformOrder
:
""
,
GuestNum
:
parseInt
(
this
.
orderMsg
.
ManNum
)
+
GuestNum
:
guestCount
,
parseInt
(
this
.
orderMsg
.
ChirdNum
)
+
parseInt
(
this
.
orderMsg
.
BabyNum
),
IsChildrenTour
:
this
.
currentPriceInfo
.
isSupportChildren
,
IsChildrenTour
:
this
.
currentPriceInfo
.
isSupportChildren
,
IsBirdDiscount
:
this
.
zaoniao
>
0
?
1
:
2
,
IsBirdDiscount
:
this
.
zaoniao
>
0
?
1
:
2
,
PredictRoomNum
:
1
,
PredictRoomNum
:
1
,
...
@@ -1154,8 +1155,8 @@
...
@@ -1154,8 +1155,8 @@
TradeDate
:
this
.
currentPriceInfo
.
startDate
,
TradeDate
:
this
.
currentPriceInfo
.
startDate
,
CostType
:
0
,
CostType
:
0
,
MinOrderPrice
:
0
,
MinOrderPrice
:
0
,
VisaNum
:
this
.
orderMsg
.
ManNum
+
this
.
orderMsg
.
ChirdNum
+
this
.
orderMsg
.
BabyNum
,
VisaNum
:
guestCount
,
SafeNum
:
this
.
orderMsg
.
ManNum
+
this
.
orderMsg
.
ChirdNum
+
this
.
orderMsg
.
BabyNum
,
SafeNum
:
guestCount
,
AirticketNum
:
0
,
AirticketNum
:
0
,
ReturnArriveCityId
:
0
,
ReturnArriveCityId
:
0
,
IsReturnIntermodal
:
2
,
IsReturnIntermodal
:
2
,
...
...
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