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
9492baca
Commit
9492baca
authored
Mar 07, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9e98d44b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
orderPreview.vue
src/components/car/orderPreview.vue
+2
-2
orderForm.vue
src/pages/Pickuporder/orderForm.vue
+3
-10
No files found.
src/components/car/orderPreview.vue
View file @
9492baca
...
...
@@ -208,8 +208,8 @@ export default {
orderInfo
:
this
.
chosenObj
,
sumPrice
:
this
.
sumPrice
,
Id
:
this
.
dataList
.
Id
,
onCarId
:
this
.
onCarObj
.
Id
,
unCarId
:
this
.
unCarObj
.
Id
,
onCarId
:
this
.
onCarObj
?
this
.
onCarObj
.
Id
:
''
,
unCarId
:
this
.
unCarObj
?
this
.
unCarObj
.
Id
:
''
,
}
let
key
=
this
.
$md5
(
JSON
.
stringify
(
order
))
let
pickuporderCars
=
localStorage
.
getItem
(
'pickuporderCars'
)
...
...
src/pages/Pickuporder/orderForm.vue
View file @
9492baca
...
...
@@ -556,13 +556,8 @@ export default {
AddressObj
:
null
,
onCarObj
:
null
,
//上车范围
unCarObj
:
null
,
//下车范围
onCarId
:
null
,
//上车范围
unCarId
:
null
,
//下车范围
CarObj
:
null
,
//车型
AirportObj
:
null
,
//机场
CarId
:
null
,
//车型
AirportId
:
null
,
//机场
startDate
:
null
,
details
:
null
,
//产品详情
options
:
{
//音频控件
currentPage
:
0
,
...
...
@@ -659,8 +654,8 @@ export default {
if
(
r
.
data
.
resultCode
==
1
)
{
this
.
details
=
r
.
data
.
data
;
this
.
CarObj
=
this
.
details
.
CarTypeList
.
find
((
x
)
=>
this
.
OrderDate
.
CarId
==
x
.
Id
);
this
.
onCarObj
=
this
.
details
.
PlaceList
.
find
((
x
)
=>
this
.
onCarId
==
x
.
Id
)
//上车范围
this
.
unCarObj
=
this
.
details
.
PlaceList
.
find
((
x
)
=>
this
.
unCarId
==
x
.
Id
)
//下车范围
this
.
onCarObj
=
this
.
details
.
PlaceList
.
find
((
x
)
=>
this
.
OrderDate
.
onCarId
==
x
.
Id
)
//上车范围
this
.
unCarObj
=
this
.
details
.
PlaceList
.
find
((
x
)
=>
this
.
OrderDate
.
unCarId
==
x
.
Id
)
//下车范围
if
(
this
.
details
.
CarType
!=
3
){
this
.
AirportObj
=
this
.
details
.
AirportList
.
find
((
x
)
=>
this
.
OrderDate
.
AirportId
==
x
.
Id
);
this
.
parameters
.
AirportId
=
this
.
OrderDate
.
AirportId
...
...
@@ -691,15 +686,13 @@ export default {
this
.
order
=
pickuporderCars
.
find
((
x
)
=>
x
.
key
==
key
);
if
(
this
.
order
)
{
this
.
orderKey
=
key
;
this
.
chosenObj
=
this
.
order
.
order
.
orderInfo
;
this
.
OrderDate
=
this
.
order
.
order
this
.
chosenObj
=
this
.
OrderDate
.
orderInfo
;
this
.
parameters
.
ProductId
=
this
.
order
.
order
.
Id
this
.
parameters
.
OrderDate
=
this
.
OrderDate
.
startDate
this
.
parameters
.
Unit_Price
=
this
.
OrderDate
.
originalB2CPrice
this
.
parameters
.
Num
=
this
.
chosenObj
.
Count
this
.
parameters
.
Money
=
this
.
OrderDate
.
sumPrice
this
.
onCarId
=
this
.
OrderDate
.
onCarId
//上车范围
this
.
unCarId
=
this
.
OrderDate
.
unCarId
//下车范围
}
}
}
...
...
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