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
c4c4c4b0
Commit
c4c4c4b0
authored
May 07, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
包车订单修复
parent
63287d3c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
22 deletions
+30
-22
orders.vue
pages/AggregateOrders/components/orders.vue
+3
-1
busList.vue
pages/bus/busList.vue
+2
-0
alightingPoint.vue
pages/bus/components/address/alightingPoint.vue
+1
-0
index.vue
pages/bus/index.vue
+14
-13
order.vue
pages/bus/order.vue
+2
-1
orderdetails.vue
pages/bus/orderdetails.vue
+8
-7
No files found.
pages/AggregateOrders/components/orders.vue
View file @
c4c4c4b0
...
@@ -356,7 +356,9 @@
...
@@ -356,7 +356,9 @@
}
else
if
(
item
.
goodsType
==
7
)
{
//道旅酒店住宿
}
else
if
(
item
.
goodsType
==
7
)
{
//道旅酒店住宿
url
=
`hotel/orderdetails?`
;
url
=
`hotel/orderdetails?`
;
}
else
if
(
item
.
goodsType
==
5
)
{
//目的地用车
}
else
if
(
item
.
goodsType
==
5
)
{
//目的地用车
url
=
`bus/orderdetails?SalePhone=
${
item
.
SalePhone
}
&`
;
let
phone
=
`SalePhone=
${
item
.
SalePhone
}
&`
url
=
`bus/orderdetails?`
;
if
(
item
.
SalePhone
)
url
+=
phone
}
else
if
(
item
.
goodsType
==
6
)
url
=
`visa/visa_SureOrder?`
//签证
}
else
if
(
item
.
goodsType
==
6
)
url
=
`visa/visa_SureOrder?`
//签证
else
if
(
item
.
goodsType
==
1
)
{
//机票
else
if
(
item
.
goodsType
==
1
)
{
//机票
url
=
`airTicket/airTicketOrderDetail?`
url
=
`airTicket/airTicketOrderDetail?`
...
...
pages/bus/busList.vue
View file @
c4c4c4b0
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
{{
busInfor
.
CityName
}}
{{
busInfor
.
CityName
}}
{{
busInfor
.
time
}}
{{
busInfor
.
time
}}
{{
pageTitle
}}
{{
pageTitle
}}
共
{{
busInfor
.
peopleNum
}}
人
</view>
</view>
<u-icon
name=
"arrow"
:size=
"32"
color=
"#000"
style=
"position: relative;top: 2rpx;"
></u-icon>
<u-icon
name=
"arrow"
:size=
"32"
color=
"#000"
style=
"position: relative;top: 2rpx;"
></u-icon>
</view>
</view>
...
@@ -111,6 +112,7 @@ export default {
...
@@ -111,6 +112,7 @@ export default {
this
.
msg
.
Q_Date
=
obj
.
time
this
.
msg
.
Q_Date
=
obj
.
time
this
.
msg
.
Q_SPeopleNum
=
obj
.
peopleNum
this
.
msg
.
Q_SPeopleNum
=
obj
.
peopleNum
this
.
msg
.
Range
=
obj
.
Range
this
.
msg
.
Range
=
obj
.
Range
this
.
msg
.
Q_AirportId
=
obj
.
AirportId
if
(
obj
.
CarType
==
1
)
this
.
pageTitle
=
'接机'
if
(
obj
.
CarType
==
1
)
this
.
pageTitle
=
'接机'
else
if
(
obj
.
CarType
==
2
)
this
.
pageTitle
=
'送机'
else
if
(
obj
.
CarType
==
2
)
this
.
pageTitle
=
'送机'
else
if
(
obj
.
CarType
==
3
)
this
.
pageTitle
=
'包车'
else
if
(
obj
.
CarType
==
3
)
this
.
pageTitle
=
'包车'
...
...
pages/bus/components/address/alightingPoint.vue
View file @
c4c4c4b0
...
@@ -186,6 +186,7 @@
...
@@ -186,6 +186,7 @@
},
},
searchClose
()
{
searchClose
()
{
this
.
isShow
=
false
this
.
isShow
=
false
this
.
parameters
.
KeyWords
=
''
this
.
addressList
=
[]
this
.
addressList
=
[]
this
.
$emit
(
'close'
)
this
.
$emit
(
'close'
)
},
},
...
...
pages/bus/index.vue
View file @
c4c4c4b0
...
@@ -88,19 +88,7 @@
...
@@ -88,19 +88,7 @@
</view>
</view>
</template>
</template>
<
template
v-if=
"busInfor.CarType==3"
>
<
template
v-if=
"busInfor.CarType==3"
>
<view
class=
"bus-input row-sbas-n"
style=
"padding:36rpx 18rpx;"
@
click=
"showDateHandle"
>
<view
class=
"row"
>
<text
class=
"bus-inputText"
:style=
"
{color: busInfor.time?'#080A09':'#BCBCBC'}">
{{
busInfor
.
time
?
busInfor
.
time
:
'接载时间'
}}
</text>
</view>
<u-icon
name=
"arrow"
:size=
"32"
color=
"#000"
style=
"position: relative;top: 2rpx;"
></u-icon>
<!--
<view
class=
"row"
@
click=
"peopleVisible=true"
>
<text>
包车
{{
busInfor
.
days
}}
天
</text>
<u-icon
name=
"arrow"
:size=
"32"
color=
"#000"
style=
"position: relative;top: 2rpx;"
></u-icon>
</view>
-->
</view>
<!--
<!--
<scroll-view
scroll-y=
"true"
<scroll-view
scroll-y=
"true"
style=
"height: 346rpx;overflow: hidden;margin-bottom: 30rpx;"
>
style=
"height: 346rpx;overflow: hidden;margin-bottom: 30rpx;"
>
...
@@ -126,6 +114,19 @@
...
@@ -126,6 +114,19 @@
{{
busInfor
.
destination
?
busInfor
.
destination
:
'目的地:地址或酒店'
}}
{{
busInfor
.
destination
?
busInfor
.
destination
:
'目的地:地址或酒店'
}}
</text>
</text>
</view>
</view>
<view
class=
"bus-input row-sbas-n"
@
click=
"showDateHandle"
style=
"padding:36rpx 18rpx;"
>
<view
class=
"row"
>
<text
class=
"bus-inputText"
:style=
"
{color: busInfor.time?'#080A09':'#BCBCBC'}">
{{
busInfor
.
time
?
busInfor
.
time
:
'接载时间'
}}
</text>
</view>
<u-icon
name=
"arrow"
:size=
"32"
color=
"#000"
style=
"position: relative;top: 2rpx;"
></u-icon>
<!--
<view
class=
"row"
@
click=
"peopleVisible=true"
>
<text>
包车
{{
busInfor
.
days
}}
天
</text>
<u-icon
name=
"arrow"
:size=
"32"
color=
"#000"
style=
"position: relative;top: 2rpx;"
></u-icon>
</view>
-->
</view>
</
template
>
</
template
>
<view
@
click=
"searchHandle"
class=
"text-center cities-name"
style=
"background-color: #B99846;border-radius: 10rpx;height: 90rpx; line-height: 90rpx;color:#EEF1F4"
>
查 询
</view>
<view
@
click=
"searchHandle"
class=
"text-center cities-name"
style=
"background-color: #B99846;border-radius: 10rpx;height: 90rpx; line-height: 90rpx;color:#EEF1F4"
>
查 询
</view>
...
...
pages/bus/order.vue
View file @
c4c4c4b0
...
@@ -794,7 +794,8 @@
...
@@ -794,7 +794,8 @@
}
else
{
}
else
{
this
.
orderMsg
.
Num
++
;
this
.
orderMsg
.
Num
++
;
}
}
this
.
CalTotalPrice
();
this
.
getUserCouponList
()
// this.CalTotalPrice();
}
,
}
,
formatDate
(
str
)
{
formatDate
(
str
)
{
let
temp
=
str
.
split
(
"-"
);
let
temp
=
str
.
split
(
"-"
);
...
...
pages/bus/orderdetails.vue
View file @
c4c4c4b0
...
@@ -334,7 +334,7 @@
...
@@ -334,7 +334,7 @@
Remarks
:
''
,
//备注
Remarks
:
''
,
//备注
},
},
customer
:
{},
customer
:
{},
SalePhone
:
''
,
SalePhone
:
null
,
showModal
:
false
,
showModal
:
false
,
};
};
},
},
...
@@ -345,7 +345,7 @@
...
@@ -345,7 +345,7 @@
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
id
=
options
.
orderId
;
this
.
id
=
options
.
orderId
;
this
.
SalePhone
=
options
.
SalePhone
?
options
.
SalePhone
:
''
;
if
(
options
.
SalePhone
)
this
.
SalePhone
=
options
.
SalePhone
let
that
=
this
;
let
that
=
this
;
uni
.
getSystemInfo
({
uni
.
getSystemInfo
({
success
(
res
)
{
success
(
res
)
{
...
@@ -434,7 +434,7 @@
...
@@ -434,7 +434,7 @@
that
.
submitCancel
=
true
;
that
.
submitCancel
=
true
;
this
.
apipost
(
this
.
apipost
(
"GetCancelOrder_post"
,
{
"GetCancelOrder_post"
,
{
OrderNo
:
th
is
.
OrderNo
,
OrderNo
:
th
at
.
OrderNo
,
},
},
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
resultCode
==
1
)
{
...
@@ -460,15 +460,17 @@
...
@@ -460,15 +460,17 @@
},
},
goCancel
()
{
goCancel
()
{
let
that
=
this
console
.
log
(
"this.orderData----"
,
that
.
SalePhone
);
// #ifdef MP-AG
// #ifdef MP-AG
wx
.
showModal
({
wx
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
content
:
`
${
th
is
.
SalePhone
!=
''
?
'确定拨打服务电话取消订单吗?'
:
'请联系服务人员进行取消?'
}
`
,
content
:
`
${
th
at
.
SalePhone
?
'确定拨打服务电话取消订单吗?'
:
'请联系服务人员进行取消?'
}
`
,
success
:
(
tip
)
=>
{
success
:
(
tip
)
=>
{
if
(
tip
.
confirm
)
{
if
(
tip
.
confirm
)
{
if
(
th
is
.
SalePhone
!=
''
){
if
(
th
at
.
SalePhone
){
uni
.
makePhoneCall
({
uni
.
makePhoneCall
({
phoneNumber
:
th
is
.
SalePhone
,
phoneNumber
:
th
at
.
SalePhone
,
});
});
}
}
}
}
...
@@ -476,7 +478,6 @@
...
@@ -476,7 +478,6 @@
})
})
return
return
// #endif
// #endif
var
that
=
this
;
if
(
this
.
submitCancel
)
return
if
(
this
.
submitCancel
)
return
this
.
submitCancel
=
true
;
this
.
submitCancel
=
true
;
var
cancelMsg
=
{
var
cancelMsg
=
{
...
...
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