|
@@ -151,9 +151,7 @@ export default {
|
|
|
show_qr: false,
|
|
|
qr_code: '',
|
|
|
check_finish: false,
|
|
|
- current_gift: {
|
|
|
-
|
|
|
- },
|
|
|
+ current_gift: {},
|
|
|
timer: null,
|
|
|
rule: '',
|
|
|
rule_title: '',
|
|
@@ -269,7 +267,8 @@ export default {
|
|
|
}).then(res => {
|
|
|
if (res.code === 0) {
|
|
|
this.qr_code = res.data.qrcode_url
|
|
|
- if(res.data.verify_note) {
|
|
|
+ this.is_receipts = 1
|
|
|
+ if (res.data.verify_note) {
|
|
|
this.verify_note.company_name = res.data.verify_note.company_name
|
|
|
this.verify_note.verify_name = res.data.verify_note.verify_name
|
|
|
this.verify_note.verify_phone = res.data.verify_note.verify_phone
|
|
@@ -279,6 +278,12 @@ export default {
|
|
|
if (this.current_gift.route_count === 9) {
|
|
|
//轮询确认核销后,展示抽奖环节
|
|
|
this.pop_up = true
|
|
|
+ } else {
|
|
|
+ this.show_qr = true
|
|
|
+ this.checkGiftState(() => {
|
|
|
+ this.getGiftListEvent()
|
|
|
+ this.getCheckinCount()
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -618,6 +623,7 @@ export default {
|
|
|
border-radius: 50rpx;
|
|
|
font-size: 24rpx;
|
|
|
color: #ffffff;
|
|
|
+
|
|
|
&.disabled {
|
|
|
background: #94A3B8;
|
|
|
}
|