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
3524ed1e
Commit
3524ed1e
authored
Jan 16, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
aa595a1f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
17 deletions
+21
-17
jz_Line.vue
pages/jiuzhai/jz_Line.vue
+7
-3
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+9
-9
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+5
-5
No files found.
pages/jiuzhai/jz_Line.vue
View file @
3524ed1e
...
...
@@ -490,7 +490,8 @@
searchKey
:
''
,
//搜索数据
priceOrderByField
:
2
,
PlaceIds
:
''
,
lineId
:
0
lineId
:
0
,
teamType
:
""
,
//团队类型 1-小包团
},
time
:
''
,
currentLineId
:
null
,
...
...
@@ -596,6 +597,9 @@
if
(
option
&&
option
.
PlaceIds
)
{
this
.
msg
.
PlaceIds
=
option
.
PlaceIds
;
}
if
(
option
&&
option
.
teamType
&&
option
.
teamType
==
"1"
)
{
this
.
msg
.
teamType
=
option
.
teamType
;
}
this
.
getLineQuery
();
},
methods
:
{
...
...
@@ -611,8 +615,8 @@
this
.
allTeams
=
false
;
this
.
currentLineId
=
item
;
this
.
msg
.
lineId
=
item
.
LineID
;
this
.
msg
.
PlaceIds
=
""
;
this
.
msg
.
team
=
[];
this
.
msg
.
PlaceIds
=
""
;
this
.
msg
.
team
=
[];
},
//获取查询条件
getLineQuery
()
{
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
3524ed1e
...
...
@@ -1468,6 +1468,7 @@
myObj.babyChargePrice = this.currentPrice.babyChargePrice;
myObj.b2BMemberPrice = this.currentPrice.b2BMemberPrice;
myObj.tcid = this.currentPrice.tcid;
myObj.teamType = this.currentPrice.teamType;
let imgCover = JSON.parse(this.dataList.imgCover);
if (imgCover.length > 0) {
myObj.CoverImg = imgCover[0].Url;
...
...
@@ -1479,19 +1480,18 @@
yeCount: this.yeCount, //婴儿
etbCount: this.etbCount, //儿童不占床
}
;
let tParams = "&tcid=" +
this.delMsg.tcid +
"&cityId=" +
this.delMsg.cityId +
"&lineId=" +
this.dataList.lineId;
console.log("tParams", tParams);
uni.navigateTo({
url: "/pages/jiuzhai/jz_Reserve?currentPriceInfo=" +
encodeURIComponent(myCurr) +
"&seat=" +
encodeURIComponent(JSON.stringify(ren)) +
"&tcid=" +
this.delMsg.tcid +
"&cityId=" +
this.delMsg.cityId +
"&lineId=" +
this.dataList.lineId +
"&teamType=" +
this.currentPrice.teamType,
encodeURIComponent(JSON.stringify(ren)) + tParams,
}
);
}
,
// #ifdef MP-WEIXIN
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
3524ed1e
...
...
@@ -502,7 +502,6 @@
};
},
created
()
{
uni
.
setNavigationBarTitle
({
title
:
"订单支付预览"
,
});
...
...
@@ -511,11 +510,12 @@
},
onLoad
(
option
)
{
this
.
customer
=
uni
.
getStorageSync
(
"b2b_user"
);
console
.
log
(
"option"
,
option
);
if
(
option
.
seat
)
{
if
(
option
.
currentPriceInfo
)
{
this
.
currentPriceInfo
=
JSON
.
parse
(
decodeURIComponent
(
option
.
currentPriceInfo
)
);
}
if
(
option
.
seat
)
{
let
t
=
JSON
.
parse
(
decodeURIComponent
(
option
.
seat
));
this
.
orderMsg
.
ManNum
=
t
.
crCount
;
this
.
orderMsg
.
ChirdNeedBedNum
=
t
.
etCount
;
...
...
@@ -527,11 +527,10 @@
if
(
option
.
tcid
)
{
this
.
getDetails
(
option
.
tcid
,
option
.
cityId
);
}
if
(
option
.
lineId
)
{
this
.
lineId
=
option
.
lineId
this
.
getUserCouponList
()
}
this
.
getUserCouponList
();
},
methods
:
{
showCouponHandler
()
{
...
...
@@ -560,6 +559,7 @@
"CustomerType"
:
0
,
//客户类型 0-同行,1-直客
"TCID"
:
this
.
currentPriceInfo
.
tcid
,
}
console
.
log
(
"this.currentPriceInfo"
,
this
.
currentPriceInfo
);
if
(
this
.
currentPriceInfo
.
teamType
==
"0"
)
{
//跟团游
couponParams
.
CouponsUseScope
=
2
;
...
...
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