Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
9c9a8453
Commit
9c9a8453
authored
Feb 21, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复优惠券bug
parent
21929922
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
index.vue
components/coupon/index.vue
+4
-4
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+1
-1
visa_Reserve.vue
pages/visa/visa_Reserve.vue
+1
-1
No files found.
components/coupon/index.vue
View file @
9c9a8453
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
this
.
currentChosen
=
[];
this
.
currentChosen
=
[];
this
.
value
=
0
this
.
value
=
0
}
}
this
.
OverlayCalculation
()
this
.
OverlayCalculation
(
1
)
},
},
// 叠加使用优惠券
// 叠加使用优惠券
multipleChoice
(
e
,
i
){
multipleChoice
(
e
,
i
){
...
@@ -171,12 +171,12 @@
...
@@ -171,12 +171,12 @@
}
}
this
.
OverlayCalculation
()
this
.
OverlayCalculation
()
},
},
OverlayCalculation
(){
OverlayCalculation
(
type
){
this
.
TotalDiscounts
=
0
this
.
TotalDiscounts
=
0
this
.
money
=
0
this
.
money
=
0
if
(
this
.
currentChosen
.
length
==
0
){
if
(
this
.
currentChosen
.
length
==
0
||
type
){
this
.
ts
.
forEach
(
x
=>
{
this
.
ts
.
forEach
(
x
=>
{
if
(
x
.
overlapUse
&&
x
.
err
){
if
(
x
.
overlapUse
&&
(
x
.
err
||
type
)
){
x
.
err
=
null
x
.
err
=
null
}
}
})
})
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
9c9a8453
...
@@ -648,7 +648,7 @@
...
@@ -648,7 +648,7 @@
},
},
usePzCouponHandler
(){
usePzCouponHandler
(){
this
.
showPz
=
false
this
.
showPz
=
false
this
.
closeCouponHandler
(
this
.
pzCoupon
.
id
)
this
.
closeCouponHandler
(
[
this
.
pzCoupon
.
id
]
)
this
.
pzCoupon
=
null
this
.
pzCoupon
=
null
},
},
calcPzCouponHandler
(){
calcPzCouponHandler
(){
...
...
pages/visa/visa_Reserve.vue
View file @
9c9a8453
...
@@ -1023,7 +1023,7 @@
...
@@ -1023,7 +1023,7 @@
},
},
usePzCouponHandler
(){
usePzCouponHandler
(){
this
.
showPz
=
false
this
.
showPz
=
false
this
.
closeCouponHandler
(
this
.
pzCoupon
.
id
)
this
.
closeCouponHandler
(
[
this
.
pzCoupon
.
id
]
)
this
.
pzCoupon
=
null
this
.
pzCoupon
=
null
},
},
calcPzCouponHandler
(){
calcPzCouponHandler
(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment