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
0f0ccc58
Commit
0f0ccc58
authored
Apr 30, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f0bc32ea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
index.vue
pages/bus/index.vue
+30
-6
No files found.
pages/bus/index.vue
View file @
0f0ccc58
...
@@ -357,10 +357,22 @@
...
@@ -357,10 +357,22 @@
},
},
setType
(
type
){
setType
(
type
){
if
(
type
)
{
if
(
type
)
{
if
(
this
.
busInfor
.
CarType
!=
type
){
this
.
busInfor
.
CarType
=
type
this
.
busInfor
.
CarType
=
type
this
.
busInfor
.
startaddress
=
''
this
.
busInfor
.
destination
=
''
this
.
busInfor
.
AirportId
=
null
this
.
busInfor
.
AirportName
=
''
}
this
.
getPlaceList
()
this
.
getPlaceList
()
}
else
{
}
else
{
if
(
this
.
busInfor
.
CarType
!=
this
.
current
){
this
.
busInfor
.
CarType
=
this
.
current
this
.
busInfor
.
CarType
=
this
.
current
this
.
busInfor
.
startaddress
=
''
this
.
busInfor
.
destination
=
''
this
.
busInfor
.
AirportId
=
null
this
.
busInfor
.
AirportName
=
''
}
this
.
getAirportList
()
this
.
getAirportList
()
}
}
},
},
...
@@ -409,8 +421,15 @@
...
@@ -409,8 +421,15 @@
})
})
},
},
radioChange
(
e
){
radioChange
(
e
){
if
(
this
.
current
!=
e
){
this
.
busInfor
.
CarType
=
e
this
.
busInfor
.
CarType
=
e
this
.
current
=
e
this
.
current
=
e
this
.
busInfor
.
startaddress
=
''
this
.
busInfor
.
destination
=
''
this
.
busInfor
.
AirportId
=
null
this
.
busInfor
.
AirportName
=
''
}
},
},
searchHandle
(){
searchHandle
(){
if
(
this
.
busInfor
.
CarType
<
3
){
if
(
this
.
busInfor
.
CarType
<
3
){
...
@@ -428,9 +447,14 @@
...
@@ -428,9 +447,14 @@
}
}
}
}
if
(
this
.
busInfor
.
CarType
==
3
){
if
(
this
.
busInfor
.
CarType
==
3
){
if
(
!
this
.
busInfor
.
CountryId
){
if
(
this
.
busInfor
.
startaddress
==
''
){
return
uni
.
showToast
({
title
:
'请选择出发地'
,
icon
:
'none'
})
}
else
if
(
this
.
busInfor
.
destination
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
'请选择
需要包车的国家
'
,
title
:
'请选择
目的地
'
,
icon
:
'none'
icon
:
'none'
})
})
}
}
...
...
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