Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
51611c38
Commit
51611c38
authored
Jan 22, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组合票跳转,单产品单个站点排号处理
parent
48a14b97
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
19 deletions
+22
-19
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+13
-10
scenicSingleOrder.vue
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
+9
-9
No files found.
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
51611c38
...
...
@@ -608,16 +608,19 @@ export default {
return
item
.
id
})
let
query
=
'?productIdList='
+
JSON
.
stringify
(
productIdList
)
+
'&groupId='
+
this
.
groupId
+
'&groupChannelId='
+
this
.
groupChannelId
+
'&orderSource=3'
//如果有联票
if
(
this
.
chooseProduct
.
find
(
item
=>
item
.
ticketType
==
2
)){
uni
.
navigateTo
({
url
:
'/pages/combination/combiOrder/combiOrder'
+
query
})
}
else
{
uni
.
navigateTo
({
url
:
'/pages/scenic/scenicCombiOrder/scenicCombiOrder'
+
query
})
}
// //如果有联票
// if(this.chooseProduct.find(item=>item.ticketType==2)){
// uni.navigateTo({
// url: '/pages/combination/combiOrder/combiOrder' + query
// })
// }else{
// uni.navigateTo({
// url: '/pages/scenic/scenicCombiOrder/scenicCombiOrder' + query
// })
// }
}
},
//---跳转影集页面
...
...
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
View file @
51611c38
...
...
@@ -40,7 +40,7 @@
</view>
</view>
<!--需要排队并且为一个站点-->
<
!--
<
view
class=
"middle-place"
v-if=
"productIfo.isFetch == 1 && productIfo.productAreaList.length == 1 && areaUp"
@
click=
"getSortInfo()"
>
<view
class=
"middle-place"
v-if=
"productIfo.isFetch == 1 && productIfo.productAreaList.length == 1 && areaUp"
@
click=
"getSortInfo()"
>
<view>
获取排队信息
</view>
<view>
...
...
@@ -50,7 +50,7 @@
<view>
<u-icon
name=
"arrow-right"
color=
"#3688FF"
></u-icon>
</view>
</view>
-->
</view>
<view
class=
"middle-Date"
>
<view
class=
"title-text"
>
游玩日期
</view>
...
...
@@ -353,7 +353,7 @@
></contactList>
<orderCoupon
:couponData=
"couponData"
ref=
"orderCoupon"
@
couponChoose=
"couponChoose"
:chooseCouponObj=
"chooseCouponObj"
></orderCoupon>
<!--一个站点时获取排队信息弹窗-->
<
!-- <
u-popup :show="sortInforPop" :round="10" closeable @close="sortInforPop = false">
<u-popup
:show=
"sortInforPop"
:round=
"10"
closeable
@
close=
"sortInforPop = false"
>
<view
style=
"padding: 40rpx 60rpx"
>
<view>
景区名称:
...
...
@@ -378,7 +378,7 @@
<text
class=
"middle-btn"
>
确定
</text>
</view>
</view>
</u-popup>
-->
</u-popup>
</view>
</template>
...
...
@@ -714,7 +714,7 @@ export default {
}
})
},
//---获取排号信息
//---获取排号信息
--单个站点
getSortInfo
()
{
let
data
=
{
areaCode
:
this
.
areaObj
.
areaCode
,
...
...
@@ -723,13 +723,13 @@ export default {
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
this
.
sortInforPop
=
true
res
.
data
.
forEach
(
item
=>
{
res
.
data
.
data
.
forEach
(
item
=>
{
item
.
peopleNumber
=
Math
.
max
(
item
.
sortTotalCapacity
-
item
.
showEnd
,
0
)
})
let
index
=
res
.
data
.
findIndex
(
item
=>
{
let
index
=
res
.
data
.
data
.
findIndex
(
item
=>
{
return
item
.
projectId
==
this
.
areaObj
.
areaCode
})
this
.
sortIfo
=
res
.
data
[
index
]
this
.
sortIfo
=
res
.
data
.
data
[
index
]
}
})
},
...
...
@@ -1739,6 +1739,6 @@ export default {
.sortPoptext
{
font-size
:
30rpx
;
font-weight
:
bolder
;
color
:
#f32048
;
color
:
$red
;
}
</
style
>
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