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
9ae9157c
Commit
9ae9157c
authored
Jan 09, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取号往返票bug处理
parent
e58c1a46
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
16 deletions
+22
-16
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+9
-12
numberChoose.vue
pages/my/takeNumber/numberChoose/numberChoose.vue
+9
-1
numberIndex.vue
pages/my/takeNumber/numberIndex/numberIndex.vue
+1
-1
scenicCombiOrder.vue
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
+3
-2
No files found.
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
9ae9157c
...
@@ -608,19 +608,16 @@ export default {
...
@@ -608,19 +608,16 @@ export default {
return
item
.
id
return
item
.
id
})
})
let
query
=
'?productIdList='
+
JSON
.
stringify
(
productIdList
)
+
'&groupId='
+
this
.
groupId
+
'&groupChannelId='
+
this
.
groupChannelId
+
'&orderSource=3'
let
query
=
'?productIdList='
+
JSON
.
stringify
(
productIdList
)
+
'&groupId='
+
this
.
groupId
+
'&groupChannelId='
+
this
.
groupChannelId
+
'&orderSource=3'
//如果有联票
if
(
this
.
chooseProduct
.
find
(
item
=>
item
.
ticketType
==
2
)){
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/combination/combiOrder/combiOrder'
+
query
url
:
'/pages/combination/combiOrder/combiOrder'
+
query
})
})
//如果有联票
}
else
{
// if(this.chooseProduct.find(item=>item.ticketType==2)){
uni
.
navigateTo
({
// uni.navigateTo({
url
:
'/pages/scenic/scenicCombiOrder/scenicCombiOrder'
+
query
// url: '/pages/combination/combiOrder/combiOrder' + query
})
// })
}
// }else{
// uni.navigateTo({
// url: '/pages/scenic/scenicCombiOrder/scenicCombiOrder' + query
// })
// }
}
}
},
},
//---跳转影集页面
//---跳转影集页面
...
...
pages/my/takeNumber/numberChoose/numberChoose.vue
View file @
9ae9157c
...
@@ -45,11 +45,19 @@ export default {
...
@@ -45,11 +45,19 @@ export default {
active
:
100
,
//下标
active
:
100
,
//下标
chooseArea
:
''
,
//选中的站点
chooseArea
:
''
,
//选中的站点
orderId
:
''
,
//订单Id
orderId
:
''
,
//订单Id
merchantCode
:
''
,
//商户码
thirdOrderId
:
''
,
//三方Id
channelName
:
''
,
//渠道名称
productName
:
''
,
//产品名称
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
list
=
option
.
list
?
JSON
.
parse
(
option
.
list
):
''
this
.
list
=
option
.
list
?
JSON
.
parse
(
option
.
list
):
''
this
.
orderId
=
option
.
orderId
||
''
this
.
orderId
=
option
.
orderId
||
''
this
.
merchantCode
=
option
.
merchantCode
||
''
this
.
channelName
=
option
.
channelName
||
''
this
.
productName
=
option
.
productName
||
''
this
.
thirdOrderId
=
option
.
thirdOrderId
||
''
},
},
methods
:
{
methods
:
{
//---站点选择
//---站点选择
...
@@ -67,7 +75,7 @@ export default {
...
@@ -67,7 +75,7 @@ export default {
return
return
}
}
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/my/takeNumber/rowNumber/rowNumber?chooseArea=
${
this
.
chooseArea
}
&orderId=
${
this
.
orderId
}
`
url
:
`/pages/my/takeNumber/rowNumber/rowNumber?chooseArea=
${
this
.
chooseArea
}
&orderId=
${
this
.
orderId
}
&thirdOrderId=
${
this
.
thirdOrderId
}
&merchantCode=
${
this
.
merchantCode
}
&channelName=
${
this
.
channelName
}
&productName=
${
this
.
productName
}
`
})
})
},
},
//---取消站点
//---取消站点
...
...
pages/my/takeNumber/numberIndex/numberIndex.vue
View file @
9ae9157c
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
if
(
this
.
noNumberList
.
length
>
1
){
if
(
this
.
noNumberList
.
length
>
1
){
let
list
=
JSON
.
stringify
(
this
.
noNumberList
)
let
list
=
JSON
.
stringify
(
this
.
noNumberList
)
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/my/takeNumber/numberChoose/numberChoose?list=
${
list
}
&orderId=
${
this
.
orderId
}
`
url
:
`/pages/my/takeNumber/numberChoose/numberChoose?list=
${
list
}
&orderId=
${
this
.
orderId
}
&thirdOrderId=
${
this
.
thirdOrderId
}
&merchantCode=
${
this
.
merchantCode
}
&channelName=
${
this
.
channelName
}
&productName=
${
this
.
productName
}
`
})
})
}
}
}
else
{
}
else
{
...
...
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
View file @
9ae9157c
...
@@ -200,7 +200,7 @@
...
@@ -200,7 +200,7 @@
<view
<view
class=
"plus-list"
class=
"plus-list"
:class=
"
{on:item2.ifChoose}"
:class=
"
{on:item2.ifChoose}"
v-for="(item2, index2) of item.contactTotal.slice(0,
3)"
v-for="(item2, index2) of item.contactTotal.slice(0,3)"
@click="visitorChoose(index,index2)"
@click="visitorChoose(index,index2)"
:key="index2"
:key="index2"
>
>
...
@@ -647,7 +647,8 @@ export default {
...
@@ -647,7 +647,8 @@ export default {
item
.
contactTotal
.
forEach
(
item2
=>
{
item
.
contactTotal
.
forEach
(
item2
=>
{
item
.
chooseContact
.
forEach
(
item3
=>
{
item
.
chooseContact
.
forEach
(
item3
=>
{
if
(
item2
.
id
==
item3
.
id
)
{
if
(
item2
.
id
==
item3
.
id
)
{
item
.
ifChoose
=
true
item2
.
ifChoose
=
true
item3
=
JSON
.
parse
(
JSON
.
stringify
(
item2
))
}
}
})
})
})
})
...
...
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