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
4fcf6f31
Commit
4fcf6f31
authored
Mar 02, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
645fe747
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
20 deletions
+55
-20
orderPreview.vue
src/components/car/orderPreview.vue
+15
-9
details.vue
src/pages/details.vue
+1
-0
detailsCar.vue
src/pages/detailsCar.vue
+34
-9
detailsNew.vue
src/pages/detailsNew.vue
+1
-0
newTrip.vue
src/pages/newTrip.vue
+2
-1
tripMobile.vue
src/pages/tripMobile.vue
+2
-1
No files found.
src/components/car/orderPreview.vue
View file @
4fcf6f31
...
...
@@ -160,18 +160,24 @@ export default {
},
(
r
)
=>
{
if
(
r
.
data
.
resultCode
==
1
)
{
let
arr
=
[]
r
.
data
.
data
.
forEach
(
x
=>
{
x
.
startDate
=
x
.
Date
x
.
originalB2CPrice
=
x
.
Price
x
.
remainNum
=
1
x
.
Count
=
1
x
.
isSupportChildren
=
1
x
.
safeMoney
=
0
if
(
this
.
chosenObj
.
startDate
==
x
.
startDate
){
this
.
p
.
originalB2CPrice
=
x
.
Price
if
(
x
.
Price
){
if
(
this
.
chosenObj
.
startDate
==
x
.
startDate
){
this
.
p
.
originalB2CPrice
=
x
.
Price
}
let
dataObj
=
{
startDate
:
x
.
Date
,
originalB2CPrice
:
x
.
Price
,
remainNum
:
1
,
Count
:
1
,
isSupportChildren
:
1
,
safeMoney
:
0
,
}
arr
.
push
(
dataObj
)
}
})
this
.
$emit
(
'getPriceList'
,
JSON
.
stringify
(
r
.
data
.
data
),
this
.
selectedCar
)
this
.
$emit
(
'getPriceList'
,
JSON
.
stringify
(
arr
),
this
.
selectedCar
)
}
},
null
)
...
...
src/pages/details.vue
View file @
4fcf6f31
...
...
@@ -190,6 +190,7 @@
tcid
:
0
,
teamType
:
0
,
isGetPriceFlight
:
true
,
pType
:
1
,
//类型 1 来源B2C
},
isShow
:
false
,
dataList
:
{},
...
...
src/pages/detailsCar.vue
View file @
4fcf6f31
...
...
@@ -439,6 +439,25 @@
'q-px-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
></div>
<div
id=
"boardingAddress"
class=
"text-h5 text-weight-bold text-left q-mt-xl"
ref=
"boardingAddress"
:class=
"{
'q-px-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
上車地址
</div>
<div
class=
"q-mt-lg trip-text bg-orange-1 q-pa-md rounded-borders q-mb-xl"
style=
"border: 1px dashed var(--q-color-warning)"
:class=
"{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
4541545654
</div>
<div
id=
"warning"
class=
"text-h5 text-weight-bold text-left q-mt-xl"
...
...
@@ -631,13 +650,13 @@ export default {
id
:
"#boardingAddress"
,
top
:
0
,
isActive
:
false
,
display
:
"上
车
地址"
,
display
:
"上
車
地址"
,
},
{
id
:
"#dropoffaddress"
,
top
:
0
,
isActive
:
false
,
display
:
"下
车
地址"
,
display
:
"下
車
地址"
,
},
{
id
:
"#tips"
,
...
...
@@ -862,15 +881,21 @@ export default {
},
(
r
)
=>
{
if
(
r
.
data
.
resultCode
==
1
)
{
let
arr
=
[]
r
.
data
.
data
.
forEach
(
x
=>
{
x
.
startDate
=
x
.
Date
x
.
originalB2CPrice
=
x
.
Price
x
.
remainNum
=
1
x
.
Count
=
1
x
.
isSupportChildren
=
1
x
.
safeMoney
=
0
if
(
x
.
Price
){
let
dataObj
=
{
startDate
:
x
.
Date
,
originalB2CPrice
:
x
.
Price
,
remainNum
:
1
,
Count
:
1
,
isSupportChildren
:
1
,
safeMoney
:
0
,
}
arr
.
push
(
dataObj
)
}
})
this
.
priceList
=
JSON
.
parse
(
JSON
.
stringify
(
r
.
data
.
data
))
this
.
priceList
=
JSON
.
parse
(
JSON
.
stringify
(
arr
))
}
},
null
)
...
...
src/pages/detailsNew.vue
View file @
4fcf6f31
...
...
@@ -621,6 +621,7 @@ export default {
tcid
:
0
,
teamType
:
0
,
isGetPriceFlight
:
true
,
pType
:
1
,
//类型 1 来源B2C
},
currentPrice
:
{},
isShow
:
false
,
...
...
src/pages/newTrip.vue
View file @
4fcf6f31
...
...
@@ -1275,7 +1275,8 @@
//请求参数
msg
:
{
ID
:
0
,
tcid
:
0
tcid
:
0
,
pType
:
1
,
//类型 1 来源B2C
},
dataList
:
{},
scrollobj
:
null
,
...
...
src/pages/tripMobile.vue
View file @
4fcf6f31
...
...
@@ -1010,7 +1010,8 @@
ID
:
0
,
tcid
:
0
,
isDes
:
0
,
NewId
:
''
NewId
:
''
,
pType
:
1
,
//类型 1 来源B2C
},
showMapType
:
0
,
dataList
:
{},
...
...
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