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
7b1d948a
Commit
7b1d948a
authored
Mar 06, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
0c41724d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
140 additions
and
73 deletions
+140
-73
orderPreview.vue
src/components/car/orderPreview.vue
+8
-17
orderForm.vue
src/pages/Pickuporder/orderForm.vue
+127
-55
detailsCar.vue
src/pages/detailsCar.vue
+5
-1
No files found.
src/components/car/orderPreview.vue
View file @
7b1d948a
...
...
@@ -144,7 +144,7 @@
||(dataList.CarType!=3&&!selectedAirportObj)
||(dataList.CarType==1&&!unCarObj)||(dataList.CarType==2&&!onCarObj)
||(dataList.CarType==3&&(!onCarObj||!unCarObj))"
@
click=
"go
Url
"
/>
@
click=
"go
OrderHandler
"
/>
</div>
</div>
</div>
...
...
@@ -199,8 +199,9 @@ export default {
},
methods
:
{
goUrl
(){
let
OrderDate
=
{
goOrderHandler
(){
let
order
=
{
key
:
null
,
CarObj
:
this
.
selectedCarObj
,
AirportObj
:
{
Address
:
this
.
selectedAirportObj
?
this
.
selectedAirportObj
.
Address
:
''
,
...
...
@@ -235,20 +236,10 @@ export default {
Range
:
this
.
unCarObj
?
this
.
unCarObj
.
Range
:
''
},
}
// console.log(OrderDate,'========')
// return
this
.
CommonJump
(
"/PickuporderForm"
,
{
OrderDate
:
encodeURIComponent
(
JSON
.
stringify
(
OrderDate
)),
// CarObj: JSON.stringify(this.selectedCarObj),
// AirportObj: JSON.stringify(this.selectedAirportObj),
// calculationAmount: JSON.stringify(this.p),
// calculationNum: JSON.stringify(this.chosenObj),
// sumPrice: JSON.stringify(this.sumPrice),
// details: JSON.stringify(this.dataList)
}
);
let
key
=
this
.
$md5
(
JSON
.
stringify
(
order
))
order
.
key
=
key
localStorage
.
setItem
(
"lineCars"
,
JSON
.
stringify
(
order
))
this
.
CommonJump
(
'/PickuporderForm/'
+
key
,
{});
},
// 获取车的详情
getCarPriceData2
()
{
...
...
src/pages/Pickuporder/orderForm.vue
View file @
7b1d948a
This diff is collapsed.
Click to expand it.
src/pages/detailsCar.vue
View file @
7b1d948a
<
template
>
<div
style=
"min-height: 80vh"
>
<div
style=
"
position: fixed;
...
...
@@ -597,10 +598,12 @@
</div>
</
template
>
</div>
<!-- <auth></auth> -->
</div>
</template>
<
script
>
import
auth
from
"src/components/common/auth.vue"
;
import
{
slider
,
slideritem
}
from
"vue-concise-slider"
;
import
calendar
from
"../components/trip/calendar.vue"
;
import
OrderPreview
from
"src/components/car/orderPreview.vue"
;
...
...
@@ -729,7 +732,8 @@ export default {
smaple
,
Trip
,
block
,
componentsMap
componentsMap
,
auth
,
},
watch
:
{
days
:
{
...
...
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