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 6cacf1d0
authored
Sep 12, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
fb561762
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
pages/boutique/components/CouponPop.vue
pages/boutique/components/CouponPop.vue
View file @
6cacf1d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-09-06 10:11:03
* @Date: 2024-09-06 10:11:03
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-12 1
5:52:17
* @LastEditTime: 2024-09-12 1
6:26:21
-->
-->
<
template
>
<
template
>
<view>
<view>
...
@@ -180,7 +180,7 @@ const formObject_boutique = [{
...
@@ -180,7 +180,7 @@ const formObject_boutique = [{
key
:
"customerName"
,
key
:
"customerName"
,
type
:
"input"
,
type
:
"input"
,
inputType
:
"text"
,
inputType
:
"text"
,
maxlength
:
2
0
,
maxlength
:
1
0
,
placeholder
:
'请输入姓名'
,
placeholder
:
'请输入姓名'
,
required
:
true
required
:
true
},
},
...
@@ -238,6 +238,7 @@ export default {
...
@@ -238,6 +238,7 @@ export default {
immediate
:
true
,
immediate
:
true
,
handler
(
newval
)
{
handler
(
newval
)
{
console
.
log
(
'重新进入'
,
this
.
pageParams
)
console
.
log
(
'重新进入'
,
this
.
pageParams
)
this
.
pageParams
.
QRURL
=
''
if
(
this
.
couponList
.
length
)
{
if
(
this
.
couponList
.
length
)
{
let
item
=
this
.
couponList
.
find
(
e
=>
e
.
couponType
==
1
),
let
item
=
this
.
couponList
.
find
(
e
=>
e
.
couponType
==
1
),
item2
=
this
.
couponList
.
find
(
e
=>
e
.
couponType
==
18
)
item2
=
this
.
couponList
.
find
(
e
=>
e
.
couponType
==
18
)
...
@@ -336,10 +337,13 @@ export default {
...
@@ -336,10 +337,13 @@ export default {
if
(
pageParams
.
received
)
return
if
(
pageParams
.
received
)
return
this
.
$refs
[
e
].
open
();
this
.
$refs
[
e
].
open
();
},
},
open
(
customerType
,
customerCouponId
)
{
open
(
customerType
,
customerCouponId
)
{
this
.
$refs
.
couponPopup
.
open
()
this
.
$refs
.
couponPopup
.
open
()
this
.
customerType
=
customerType
this
.
customerType
=
customerType
this
.
pageParams
.
customerCouponId
=
customerCouponId
if
(
customerCouponId
)
{
this
.
pageParams
.
customerCouponId
=
customerCouponId
this
.
pageParams
.
customerQr
=
qrcode
.
createQrCodeImg
(
`id=
${
customerCouponId
}
`
,
{
size
:
200
})
}
this
.
init
()
this
.
init
()
const
{
customerName
,
phoneNumber
,
staffName
}
=
this
.
customerInfo
const
{
customerName
,
phoneNumber
,
staffName
}
=
this
.
customerInfo
this
.
isCheck
=
customerName
&&
phoneNumber
&&
staffName
this
.
isCheck
=
customerName
&&
phoneNumber
&&
staffName
...
...
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