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
b0a1e37f
Commit
b0a1e37f
authored
Jun 02, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
feae3a32
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
11 deletions
+23
-11
hotel-good.vue
pages/hotel/components/hotel-good.vue
+1
-1
recommed-hotel.vue
pages/hotel/components/recommed-hotel.vue
+1
-1
room-good.vue
pages/hotel/components/room-good.vue
+1
-1
order.vue
pages/hotel/order.vue
+6
-2
jz_Line.vue
pages/jiuzhai/jz_Line.vue
+3
-3
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+11
-3
No files found.
pages/hotel/components/hotel-good.vue
View file @
b0a1e37f
...
...
@@ -28,7 +28,7 @@
</view>
<view
class=
"price"
>
<text>
¥
</text>
<text
class=
"money"
>
{{
item
.
B2B
Price
}}
</text>
<text
class=
"money"
>
{{
$utils
.
getretailer
()
==
true
?
item
.
B2BPrice
:
item
.
Sales
Price
}}
</text>
<text>
起
</text>
</view>
</view>
...
...
pages/hotel/components/recommed-hotel.vue
View file @
b0a1e37f
...
...
@@ -27,7 +27,7 @@
</view>
<view
class=
"price"
>
<text>
¥
</text>
<text
class=
"money"
>
{{
item
.
B2B
Price
}}
</text>
<text
class=
"money"
>
{{
$utils
.
getretailer
()
==
true
?
item
.
B2BPrice
:
item
.
Sales
Price
}}
</text>
<text>
起
</text>
</view>
</view>
...
...
pages/hotel/components/room-good.vue
View file @
b0a1e37f
...
...
@@ -24,7 +24,7 @@
<view
class=
"f11 king"
style=
"margin-top:15rpx;"
>
{{item.IsCancelStr}}
</view>
<view
class=
"price"
>
<text
class=
"f11"
style=
"margin-right: 10rpx;"
>
¥
</text>
<text>
{{
item.B2B
Price}}
</text>
<text>
{{
$utils.getretailer()==true? item.B2BPrice:item.Sales
Price}}
</text>
</view>
</view>
<view
class=
"rm-opera"
v-if=
"item.Inventory>0&&item.Inventory<5"
>
...
...
pages/hotel/order.vue
View file @
b0a1e37f
...
...
@@ -75,7 +75,7 @@
<text
style=
"margin-right: 30rpx;"
>
{{item.DateStr}}
</text>
<text
v-if=
"index!=0"
>
{{item.BreakfastTypeStr}}
</text>
</view>
<view
style=
"text-align: right;"
v-if=
"index!=priceList.length-1"
>
{{orderMsg.RoomNumber}}间 × ¥{{
item.B2B
Price}}
</view>
<view
style=
"text-align: right;"
v-if=
"index!=priceList.length-1"
>
{{orderMsg.RoomNumber}}间 × ¥{{
$utils.getretailer()==true? item.B2BPrice:item.Sales
Price}}
</view>
</view>
</view>
...
...
@@ -230,7 +230,11 @@
CalTotalPrice
(){
this
.
orderMsg
.
Final_Price
=
0
;
this
.
priceList
.
forEach
(
x
=>
{
this
.
orderMsg
.
Final_Price
+=
parseInt
(
this
.
orderMsg
.
RoomNumber
)
*
x
.
B2BPrice
;
if
(
this
.
$utils
.
getretailer
){
this
.
orderMsg
.
Final_Price
+=
parseInt
(
this
.
orderMsg
.
RoomNumber
)
*
x
.
B2BPrice
;
}
else
{
this
.
orderMsg
.
Final_Price
+=
parseInt
(
this
.
orderMsg
.
RoomNumber
)
*
x
.
SalesPrice
;
}
})
console
.
log
(
this
.
orderMsg
.
Final_Price
,
'this.orderMsg.Final_Price'
);
},
...
...
pages/jiuzhai/jz_Line.vue
View file @
b0a1e37f
...
...
@@ -382,16 +382,16 @@
{{
item
.
productRecommend
}}
</view>
<view
style=
"margin:10px 0;display: flex;align-items: center;"
>
<view
class=
"start-city"
>
<view
class=
"start-city"
style=
"margin-right: 20rpx;"
v-if=
"item.startCityName"
>
<text>
{{
item
.
startCityName
}}
出发
</text>
</view>
<view
style=
"margin-left: 20rpx;"
>
<view>
<u-tag
mode=
"plain"
border-color=
"#DFBE6E"
color=
"#DFBE6E"
:text=
"`$
{item.dayNum}天`" size="mini">
</u-tag>
</view>
</view>
<view
class=
"price"
>
<text>
¥
</text>
<text
class=
"money"
>
{{
item
.
b2B
Price
}}
</text>
<text
class=
"money"
>
{{
$utils
.
getretailer
()
==
true
?
item
.
b2BPrice
:
item
.
b2C
Price
}}
</text>
<text>
起
</text>
</view>
</view>
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
b0a1e37f
...
...
@@ -199,14 +199,22 @@
//去支付
goPay
()
{
this
.
userInfo
=
uni
.
getStorageSync
(
'mall_UserInfo'
);
this
.
basedataObj
=
uni
.
getStorageSync
(
'basedata'
).
mall
;
var
CustomerId
=
0
;
if
(
this
.
$utils
.
getretailer
()){
CustomerId
=
this
.
basedataObj
.
virtualB2BCustomerId
}
else
{
CustomerId
=
this
.
basedataObj
.
virtualB2CCustomerId
}
return
;
let
msg
=
{
OrderId
:
0
,
TCID
:
this
.
currentPriceInfo
.
tcid
,
CustomerType
:
1
,
GroupType
:
1
,
ContactName
:
'
陕西中旅南二环分公司
'
,
ContactMobile
:
'
18602977416
'
,
CustomerId
:
'49'
,
ContactName
:
''
,
ContactMobile
:
''
,
CustomerId
:
CustomerId
,
DepartureCityId
:
262
,
IsIntermodal
:
2
,
Unit_Price
:
this
.
currentPriceInfo
.
b2BMemberPrice
,
...
...
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