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
25f97862
Commit
25f97862
authored
Jun 03, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
770da4f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+15
-7
No files found.
pages/jiuzhai/jz_Reserve.vue
View file @
25f97862
...
...
@@ -178,8 +178,12 @@
},
//计算价格
calcMoney
()
{
console
.
log
(
"orderMsg"
,
this
.
orderMsg
)
var
price
=
this
.
currentPriceInfo
.
b2BMemberPrice
;
var
price
=
0
;
if
(
this
.
$utils
.
getretailer
()){
price
=
this
.
currentPriceInfo
.
b2BMemberPrice
;
}
else
{
price
=
this
.
currentPriceInfo
.
b2CMemberPrice
;
}
this
.
orderMsg
.
ChirdNum
=
parseInt
(
this
.
orderMsg
.
ChirdNoBedNum
)
+
parseInt
(
this
.
orderMsg
.
ChirdNeedBedNum
);
//计算总人数
this
.
total
=
parseInt
(
this
.
orderMsg
.
ManNum
)
+
parseInt
(
this
.
orderMsg
.
ChirdNum
);
...
...
@@ -203,25 +207,29 @@
var
CustomerId
=
0
;
var
ContactName
=
''
;
var
ContactMobile
=
''
;
var
CustomerType
=
3
;
var
price
=
0
;
if
(
this
.
$utils
.
getretailer
()){
CustomerId
=
this
.
basedataObj
.
virtualB2BCustomerId
CustomerId
=
this
.
basedataObj
.
virtualB2BCustomerId
;
CustomerType
=
1
;
price
=
this
.
currentPriceInfo
.
b2BMemberPrice
;
}
else
{
ContactName
=
this
.
basedataObj
.
virtualB2CCustomerName
;
ContactMobile
=
this
.
basedataObj
.
virtualB2CCustomerTel
;
price
=
this
.
currentPriceInfo
.
b2CMemberPrice
;
}
return
;
let
msg
=
{
OrderId
:
0
,
TCID
:
this
.
currentPriceInfo
.
tcid
,
CustomerType
:
1
,
CustomerType
:
CustomerType
,
GroupType
:
1
,
ContactName
:
ContactName
,
ContactMobile
:
ContactMobile
,
CustomerId
:
CustomerId
,
DepartureCityId
:
262
,
IsIntermodal
:
2
,
Unit_Price
:
this
.
currentPriceInfo
.
b2BMemberP
rice
,
TC_Price
:
this
.
currentPriceInfo
.
b2BMemberP
rice
,
Unit_Price
:
p
rice
,
TC_Price
:
p
rice
,
ManNum
:
this
.
orderMsg
.
ManNum
,
ChirdNum
:
this
.
orderMsg
.
ChirdNum
,
ChirdNeedBedNum
:
this
.
orderMsg
.
ChirdNeedBedNum
,
...
...
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