Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bfef3bf4
authored
Jun 11, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修复
1 parent
9132599b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
pages/boutique/components/Reception.vue
pages/boutique/invitation.vue
pages/boutique/components/Reception.vue
View file @
bfef3bf
...
...
@@ -267,6 +267,7 @@ export default {
immediate
:
true
,
handler
(
newval
)
{
this
.
pageParams
=
this
.
$options
.
data
.
call
(
this
).
pageParams
this
.
couponTypeName
=
''
this
.
closeAllPopup
()
this
.
refreshKey
=
Date
.
now
()
}
...
...
@@ -359,9 +360,9 @@ export default {
shopMerchantId
}
=
uni
.
$storage
.
get
(
"userInfo"
),
validateStatus
=
await
this
.
validate
(),
checkCouponAmount
=
await
this
.
checkCouponAmount
(
couponId
,
[
shopMerchantId
])
if
(
!
checkCouponAmount
.
length
)
throw
'该门店礼券已使用完,请联系管理员配置。'
if
(
!
validateStatus
)
return
if
(
clickFlag
)
return
if
(
!
checkCouponAmount
.
length
)
throw
'该门店礼券已使用完,请联系管理员配置。'
this
.
pageParams
.
clickFlag
=
true
uni
.
showLoading
()
let
{
staffName
,
salesUuid
}
=
customerInfo
,
...
...
@@ -419,7 +420,7 @@ export default {
return
flag
},
checkCustomerReceivedStatus
(
receiveCouponStartTime
)
{
if
(
this
.
pageParams
.
qrTimer
)
return
if
(
this
.
pageParams
.
qrTimer
)
return
try
{
this
.
pageParams
.
received
=
false
this
.
pageParams
.
qrTimer
=
setInterval
(
async
()
=>
{
...
...
pages/boutique/invitation.vue
View file @
bfef3bf
...
...
@@ -112,7 +112,7 @@ export default {
show
:{
handler
()
{
this
.
init
()
this
.
s
refs
.
receptionTips
?.
close
()
this
.
$
refs
.
receptionTips
?.
close
()
},
immediate
:
true
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment