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
ceff2b75
Commit
ceff2b75
authored
Jun 03, 2021
by
ZJG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
再来一单处理
parent
1ac5d4f0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
9 deletions
+40
-9
list.vue
pages/hotel/list.vue
+6
-0
allorderList.vue
pages/jiuzhai/allorderList.vue
+10
-4
allorderdetails.vue
pages/jiuzhai/allorderdetails.vue
+9
-3
list.vue
pages/restaurant/list.vue
+8
-1
list.vue
pages/ticketCoupons/list.vue
+7
-1
No files found.
pages/hotel/list.vue
View file @
ceff2b75
...
@@ -171,6 +171,12 @@
...
@@ -171,6 +171,12 @@
canlendar
,
canlendar
,
hotelGood
hotelGood
},
},
onLoad
(
options
)
{
if
(
options
&&
options
.
Name
){
this
.
searchObj
.
Name
=
options
.
Name
}
},
created
()
{
created
()
{
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
title
:
"酒店"
,
title
:
"酒店"
,
...
...
pages/jiuzhai/allorderList.vue
View file @
ceff2b75
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
</view>
</view>
<view
style=
"font-size: 14px;color: #111111;margin-top: 10px;text-align: right;"
>
<view
style=
"font-size: 14px;color: #111111;margin-top: 10px;text-align: right;"
>
应付
:¥
{{
item
.
PreferPrice
}}
元
金额
:¥
{{
item
.
PreferPrice
}}
元
</view>
</view>
<view
style=
"display: flex;justify-content: flex-end;margin-top: 5px;"
>
<view
style=
"display: flex;justify-content: flex-end;margin-top: 5px;"
>
<view
class=
"zailaiyidan"
v-if=
"item.OrderStatus == 3 || item.OrderStatus == 4 || item.OrderStatus == 5"
@
click
.
stop=
"onemoreorder(item)"
>
<view
class=
"zailaiyidan"
v-if=
"item.OrderStatus == 3 || item.OrderStatus == 4 || item.OrderStatus == 5"
@
click
.
stop=
"onemoreorder(item)"
>
...
@@ -529,11 +529,17 @@
...
@@ -529,11 +529,17 @@
onemoreorder
(
data
){
//再来一单的处理
onemoreorder
(
data
){
//再来一单的处理
if
(
data
.
OrderType
==
1
){
//酒店
if
(
data
.
OrderType
==
1
){
//酒店
uni
.
navigateTo
({
url
:
'/pages/hotel/list?Name='
+
data
.
HotelList
[
0
].
HotelName
,
})
}
else
if
(
data
.
OrderType
==
2
){
//餐厅
}
else
if
(
data
.
OrderType
==
2
){
//餐厅
uni
.
navigateTo
({
url
:
'/pages/restaurant/list?Name='
+
data
.
DiningList
[
0
].
MealName
,
})
}
else
if
(
data
.
OrderType
==
3
){
//门票
}
else
if
(
data
.
OrderType
==
3
){
//门票
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/list?Name='
+
data
.
TicketList
[
0
].
TicketName
,
})
}
else
if
(
data
.
OrderType
==
4
){
//车
}
else
if
(
data
.
OrderType
==
4
){
//车
let
obj
=
{
let
obj
=
{
StartCityId
:
data
.
CarList
[
0
].
StartCityId
,
StartCityId
:
data
.
CarList
[
0
].
StartCityId
,
...
...
pages/jiuzhai/allorderdetails.vue
View file @
ceff2b75
...
@@ -563,11 +563,17 @@
...
@@ -563,11 +563,17 @@
onemoreorder
(
data
){
//再来一单的处理
onemoreorder
(
data
){
//再来一单的处理
if
(
data
.
OrderType
==
1
){
//酒店
if
(
data
.
OrderType
==
1
){
//酒店
uni
.
navigateTo
({
url
:
'/pages/hotel/list?Name='
+
data
.
HotelList
[
0
].
HotelName
,
})
}
else
if
(
data
.
OrderType
==
2
){
//餐厅
}
else
if
(
data
.
OrderType
==
2
){
//餐厅
uni
.
navigateTo
({
url
:
'/pages/restaurant/list?Name='
+
data
.
DiningList
[
0
].
MealName
,
})
}
else
if
(
data
.
OrderType
==
3
){
//门票
}
else
if
(
data
.
OrderType
==
3
){
//门票
uni
.
navigateTo
({
url
:
'/pages/ticketCoupons/list?Name='
+
data
.
TicketList
[
0
].
TicketName
,
})
}
else
if
(
data
.
OrderType
==
4
){
//车
}
else
if
(
data
.
OrderType
==
4
){
//车
let
obj
=
{
let
obj
=
{
StartCityId
:
data
.
CarList
[
0
].
StartCityId
,
StartCityId
:
data
.
CarList
[
0
].
StartCityId
,
...
...
pages/restaurant/list.vue
View file @
ceff2b75
...
@@ -183,7 +183,10 @@
...
@@ -183,7 +183,10 @@
restaurantGood
,
restaurantGood
,
restaurantType
restaurantType
},
},
created
()
{
onLoad
(
options
)
{
if
(
options
&&
options
.
Name
){
this
.
msg
.
Name
=
options
.
Name
}
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
title
:
"美食"
,
title
:
"美食"
,
});
});
...
@@ -205,6 +208,10 @@
...
@@ -205,6 +208,10 @@
this
.
getFoodType
();
this
.
getFoodType
();
this
.
getPriceEnum
();
this
.
getPriceEnum
();
this
.
getFoodList
();
this
.
getFoodList
();
},
created
()
{
},
},
methods
:
{
methods
:
{
searchList
()
{
searchList
()
{
...
...
pages/ticketCoupons/list.vue
View file @
ceff2b75
...
@@ -154,12 +154,18 @@
...
@@ -154,12 +154,18 @@
}
}
}
}
},
},
created
()
{
onLoad
(
options
)
{
if
(
options
&&
options
.
Name
){
this
.
msg
.
Name
=
options
.
Name
}
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
title
:
"门票"
,
title
:
"门票"
,
});
});
this
.
getScenicType
();
// 获取景点类型
this
.
getScenicType
();
// 获取景点类型
this
.
getList
();
// 获取景点门票类型
this
.
getList
();
// 获取景点门票类型
},
created
()
{
},
},
methods
:
{
methods
:
{
searchList
(){
searchList
(){
...
...
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