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
af98aba5
Commit
af98aba5
authored
May 06, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
包车
parent
30453489
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
busDetails.vue
pages/bus/busDetails.vue
+2
-1
busList.vue
pages/bus/busList.vue
+1
-1
order.vue
pages/bus/order.vue
+8
-5
No files found.
pages/bus/busDetails.vue
View file @
af98aba5
...
...
@@ -351,6 +351,7 @@
minute
:
true
,
},
startYear
:
2025
,
customer
:
{},
};
},
computed
:
{
...
...
@@ -385,7 +386,7 @@
}
this
.
U
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
b2bUser
=
uni
.
getStorageSync
(
"b2b_user"
);
this
.
customer
=
uni
.
getStorageSync
(
"b2b_user"
)
let
that
=
this
;
uni
.
getSystemInfo
({
success
(
res
)
{
...
...
pages/bus/busList.vue
View file @
af98aba5
...
...
@@ -40,7 +40,7 @@
{{
item
.
CurrencyCode
}}
</text>
<text>
<!-- #ifdef MP-DI -->
{{
parseFloat
(
item
.
B2c
).
toFixed
(
2
)
}}
{{
parseFloat
(
item
.
MinB2CPrice
).
toFixed
(
2
)
}}
<!-- #endif -->
<!-- #ifdef MP-AG -->
{{
parseFloat
(
item
.
MinPrice
).
toFixed
(
2
)
}}
...
...
pages/bus/order.vue
View file @
af98aba5
...
...
@@ -390,9 +390,9 @@
Name
:
'三'
,
// 名
Remark
:
''
,
// 下单备注
AirportId
:
''
,
//机场ID (包车机场相关的不用传,包括下方机场航班相关)
AirportTerminal
:
''
,
// 航厦
AirLine
:
''
,
// 航空公司名称
FlightNumber
:
''
,
// 航班号
AirportTerminal
:
'
1111航厦
'
,
// 航厦
AirLine
:
'
222航空公司
'
,
// 航空公司名称
FlightNumber
:
'
3333航班号
'
,
// 航班号
FlightTime
:
''
,
// 航班时间
GetonAddress
:
''
,
// 上车地点
GetoffAddress
:
''
,
// 下车地点
...
...
@@ -478,6 +478,9 @@
key
:
"busInfor"
,
success
:
(
res
)
=>
{
this
.
busInfor
=
JSON
.
parse
(
res
.
data
);
if
(
this
.
busInfor
.
CarType
<
3
)
{
this
.
orderMsg
.
FlightTime
=
this
.
busInfor
.
time
;
}
this
.
initData
()
}
,
}
);
...
...
@@ -620,7 +623,7 @@
}
,
//计算总价
CalTotalPrice
()
{
this
.
orderMsg
.
Money
=
this
.
orderMsg
.
Unit_Price
*
this
.
orderMsg
.
Num
this
.
orderMsg
.
Money
=
this
.
getPrice
((
this
.
orderMsg
.
Unit_Price
*
this
.
orderMsg
.
Num
)
-
this
.
currentCoupon
.
discountMoney
)
}
,
initData
()
{
uni
.
showLoading
({
...
...
@@ -710,6 +713,7 @@
}
)
if
(
maxCouponId
>
0
)
this
.
closeCouponHandler
([
maxCouponId
])
else
this
.
closeCouponHandler
(
-
1
)
this
.
CalTotalPrice
()
}
}
,
getUserCouponList
()
{
...
...
@@ -838,7 +842,6 @@
}
,
//去支付
goPay
()
{
const
error
=
this
.
validate
()
if
(
error
!=
''
){
uni
.
showToast
({
...
...
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