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
26cbadf8
Commit
26cbadf8
authored
Mar 21, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
efa69c6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.vue
components/coupon/index.vue
+4
-4
No files found.
components/coupon/index.vue
View file @
26cbadf8
...
...
@@ -83,8 +83,8 @@
console
.
log
(
!
x
.
err
||
x
.
err
==
'订单金额不满足'
)
if
(
!
x
.
err
||
x
.
err
==
'订单金额不满足'
){
x
.
err
=
x
.
useCondition
>
this
.
price
?
'订单金额不满足'
:
null
}
else
if
(
!
x
.
err
||
x
.
err
==
'订单人数不满足'
){
x
.
err
=
x
.
orderGuestNum
>
this
.
numberPeople
?
'订单金额不满足'
:
null
}
else
if
(
!
x
.
err
||
x
.
err
==
`订单人数不满足,至少
${
x
.
orderGuestNum
}
人`
){
x
.
err
=
x
.
orderGuestNum
>
this
.
numberPeople
?
`订单人数不满足,至少
${
x
.
orderGuestNum
}
人`
:
null
}
})
this
.
OverlayCalculation
()
...
...
@@ -142,7 +142,7 @@
if
(
!
x
.
err
&&
x
.
useCondition
>
this
.
price
){
x
.
err
=
'订单金额不满足'
}
else
if
(
!
x
.
err
&&
x
.
orderGuestNum
>
this
.
numberPeople
){
x
.
err
=
'订单人数不满足'
x
.
err
=
`订单人数不满足,至少
${
x
.
orderGuestNum
}
人`
}
})
},
...
...
@@ -214,7 +214,7 @@
if
(
!
x
.
check
&&
x
.
denomination
>
this
.
money
){
x
.
err
=
'订单金额不满足'
}
else
if
(
!
x
.
check
&&
x
.
orderGuestNum
>
this
.
numberPeople
){
x
.
err
=
'订单人数不满足'
x
.
err
=
`订单人数不满足,至少
${
x
.
orderGuestNum
}
人`
}
else
{
x
.
err
=
null
}
...
...
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