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
73069e3b
Commit
73069e3b
authored
Apr 19, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态码 增加visitorIndex 判定
parent
7a33b060
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
electronicTicket.vue
pages/my/order/electronicTicket/electronicTicket.vue
+7
-7
No files found.
pages/my/order/electronicTicket/electronicTicket.vue
View file @
73069e3b
...
...
@@ -709,16 +709,10 @@
// height: 180,
// text:this.codeNo
// })
let
verifyCode
=
""
if
(
this
.
visitorIndex
!==
""
){
verifyCode
=
this
.
codeNo
+
":"
+
this
.
visitorIndex
}
else
{
verifyCode
=
this
.
codeNo
}
uQRCode
.
make
({
canvasId
:
'qrcode'
,
componentInstance
:
this
,
text
:
verifyCode
,
text
:
this
.
codeNo
,
size
:
180
,
margin
:
10
,
backgroundColor
:
'#ffffff'
,
...
...
@@ -738,6 +732,12 @@
orderId
:
this
.
id
,
//订单号
userId
:
this
.
openId
//openid
}
let
verifyCode
=
""
if
(
this
.
visitorIndex
!==
""
){
data
.
codeNo
=
this
.
ticketCode
+
":"
+
this
.
visitorIndex
}
else
{
data
.
codeNo
=
this
.
ticketCode
}
clearInterval
(
this
.
codeFlag
)
this
.
$request
(
'distribution/distribution/getAutoCode'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
...
...
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