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 aa258161
authored
Jun 11, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.5' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.5
2 parents
65de1345
bfef3bf4
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 @
aa25816
...
@@ -267,6 +267,7 @@ export default {
...
@@ -267,6 +267,7 @@ export default {
immediate
:
true
,
immediate
:
true
,
handler
(
newval
)
{
handler
(
newval
)
{
this
.
pageParams
=
this
.
$options
.
data
.
call
(
this
).
pageParams
this
.
pageParams
=
this
.
$options
.
data
.
call
(
this
).
pageParams
this
.
couponTypeName
=
''
this
.
closeAllPopup
()
this
.
closeAllPopup
()
this
.
refreshKey
=
Date
.
now
()
this
.
refreshKey
=
Date
.
now
()
}
}
...
@@ -359,9 +360,9 @@ export default {
...
@@ -359,9 +360,9 @@ export default {
shopMerchantId
}
=
uni
.
$storage
.
get
(
"userInfo"
),
shopMerchantId
}
=
uni
.
$storage
.
get
(
"userInfo"
),
validateStatus
=
await
this
.
validate
(),
validateStatus
=
await
this
.
validate
(),
checkCouponAmount
=
await
this
.
checkCouponAmount
(
couponId
,
[
shopMerchantId
])
checkCouponAmount
=
await
this
.
checkCouponAmount
(
couponId
,
[
shopMerchantId
])
if
(
!
checkCouponAmount
.
length
)
throw
'该门店礼券已使用完,请联系管理员配置。'
if
(
!
validateStatus
)
return
if
(
!
validateStatus
)
return
if
(
clickFlag
)
return
if
(
clickFlag
)
return
if
(
!
checkCouponAmount
.
length
)
throw
'该门店礼券已使用完,请联系管理员配置。'
this
.
pageParams
.
clickFlag
=
true
this
.
pageParams
.
clickFlag
=
true
uni
.
showLoading
()
uni
.
showLoading
()
let
{
staffName
,
salesUuid
}
=
customerInfo
,
let
{
staffName
,
salesUuid
}
=
customerInfo
,
...
@@ -419,7 +420,7 @@ export default {
...
@@ -419,7 +420,7 @@ export default {
return
flag
return
flag
},
},
checkCustomerReceivedStatus
(
receiveCouponStartTime
)
{
checkCustomerReceivedStatus
(
receiveCouponStartTime
)
{
if
(
this
.
pageParams
.
qrTimer
)
return
if
(
this
.
pageParams
.
qrTimer
)
return
try
{
try
{
this
.
pageParams
.
received
=
false
this
.
pageParams
.
received
=
false
this
.
pageParams
.
qrTimer
=
setInterval
(
async
()
=>
{
this
.
pageParams
.
qrTimer
=
setInterval
(
async
()
=>
{
...
...
pages/boutique/invitation.vue
View file @
aa25816
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
show
:{
show
:{
handler
()
{
handler
()
{
this
.
init
()
this
.
init
()
this
.
s
refs
.
receptionTips
?.
close
()
this
.
$
refs
.
receptionTips
?.
close
()
},
},
immediate
:
true
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