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 3136c29d
authored
Jun 06, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修复BUG
1 parent
ad78142e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
components/FinishStep.vue
pages/boutique/components/Reception.vue
components/FinishStep.vue
View file @
3136c29
...
@@ -279,7 +279,10 @@ export default {
...
@@ -279,7 +279,10 @@ export default {
if
(
this
.
check
())
{
if
(
this
.
check
())
{
const
{
sceneType
}
=
this
const
{
sceneType
}
=
this
if
(
sceneType
==
0
)
this
.
step
=
2
if
(
sceneType
==
0
)
this
.
step
=
2
else
this
.
success
(
receptionStatus
)
else
{
receptionStatus
=
1
this
.
success
(
receptionStatus
)
}
}
}
}
else
{
}
else
{
let
{
receptionStatus
}
=
this
let
{
receptionStatus
}
=
this
...
@@ -310,11 +313,9 @@ export default {
...
@@ -310,11 +313,9 @@ export default {
this
.
$store
.
dispatch
(
'getCustomerInfo'
).
then
((
customerInfo
)
=>
{
this
.
$store
.
dispatch
(
'getCustomerInfo'
).
then
((
customerInfo
)
=>
{
this
.
formData
=
customerInfo
this
.
formData
=
customerInfo
let
{
sceneType
,
customerType
}
=
this
,
let
{
sceneType
,
customerType
}
=
this
,
receptionStatus
=
-
1
,
step
=
Object
.
values
(
customerInfo
).
every
((
value
)
=>
!!
value
)
?
2
:
1
step
=
Object
.
values
(
customerInfo
).
every
((
value
)
=>
!!
value
)
?
2
:
1
this
.
errorTip
=
false
this
.
errorTip
=
false
if
(
sceneType
==
1
)
{
if
(
sceneType
==
1
)
{
receptionStatus
=
1
//精品默认1
step
=
1
step
=
1
this
.
formObject
=
formObject_boutique
this
.
formObject
=
formObject_boutique
if
(
customerType
==
0
&&
!
this
.
check
())
return
uni
.
showToast
({
if
(
customerType
==
0
&&
!
this
.
check
())
return
uni
.
showToast
({
...
@@ -327,7 +328,6 @@ export default {
...
@@ -327,7 +328,6 @@ export default {
step
=
1
step
=
1
}
}
this
.
step
=
step
this
.
step
=
step
this
.
receptionStatus
=
receptionStatus
this
.
$refs
.
formRef
.
open
()
this
.
$refs
.
formRef
.
open
()
})
})
},
},
...
...
pages/boutique/components/Reception.vue
View file @
3136c29
...
@@ -266,8 +266,7 @@ export default {
...
@@ -266,8 +266,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
.
resetFocusIndex
()
this
.
closeAllPopup
()
this
.
$refs
.
qrbox
.
close
()
this
.
refreshKey
=
Date
.
now
()
this
.
refreshKey
=
Date
.
now
()
}
}
}
}
...
@@ -307,7 +306,7 @@ export default {
...
@@ -307,7 +306,7 @@ export default {
item2
=
arr
.
find
(
e
=>
e
.
couponType
==
18
)
item2
=
arr
.
find
(
e
=>
e
.
couponType
==
18
)
if
(
!
this
.
pageParams
.
couponId
)
{
if
(
!
this
.
pageParams
.
couponId
)
{
if
(
item
)
this
.
chooseCoupon
(
item
)
//默认填入类型为「太阳膜」类型
if
(
item
)
this
.
chooseCoupon
(
item
)
//默认填入类型为「太阳膜」类型
else
if
(
item2
)
this
.
chooseCoupon
(
item
)
//次选填入「精品」类型
else
if
(
item2
)
this
.
chooseCoupon
(
item
2
)
//次选填入「精品」类型
else
this
.
chooseCoupon
(
arr
[
0
])
// 无此两种类型情况默认带入任意类型礼券
else
this
.
chooseCoupon
(
arr
[
0
])
// 无此两种类型情况默认带入任意类型礼券
}
}
}
}
...
@@ -337,6 +336,7 @@ export default {
...
@@ -337,6 +336,7 @@ export default {
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
$refs
.
employeeBoxVisible
.
close
()
this
.
$refs
.
employeeBoxVisible
.
close
()
this
.
$refs
.
couponBoxVisible
.
close
()
this
.
$refs
.
couponBoxVisible
.
close
()
this
.
$refs
.
qrbox
.
close
()
this
.
resetFocusIndex
()
this
.
resetFocusIndex
()
this
.
closeQr
()
this
.
closeQr
()
},
},
...
@@ -490,7 +490,7 @@ export default {
...
@@ -490,7 +490,7 @@ export default {
gap
:
0
28
rpx
;
gap
:
0
28
rpx
;
height
:
100%
;
height
:
100%
;
&-item
{
&-item
{
width
:
3
68
rpx
;
width
:
3
36
rpx
;
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
...
...
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