Commit 73069e3b authored by qipeng's avatar qipeng

动态码 增加visitorIndex 判定

parent 7a33b060
......@@ -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'){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment