Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
Overview
Overview
Details
Activity
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
integralMall
integral-mall
Commits
d078dc7c
Commit
d078dc7c
authored
Oct 27, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 新建优惠券-调整卡券上限
parent
7177adc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
info.vue
src/views/goods/coupon/info.vue
+4
-2
No files found.
src/views/goods/coupon/info.vue
View file @
d078dc7c
...
...
@@ -18,8 +18,8 @@
<div
class=
"section-content"
>
<h3>
选择卡券
</h3>
<el-form-item
label=
"选择卡券"
required
v-show=
"mallProId === '-1'"
>
<el-button
plain
@
click=
"showCard"
:disabled=
"cardList.length >=
10
"
>
添加卡券
</el-button>
<span
style=
"font-size: 12px;color: rgb(144, 147, 153);margin-left:10px;"
>
支持选择兑换券
</span>
<el-button
plain
@
click=
"showCard"
:disabled=
"cardList.length >=
addCardMax
"
>
添加卡券
</el-button>
<span
style=
"font-size: 12px;color: rgb(144, 147, 153);margin-left:10px;"
>
支持选择兑换券
,最多支持添加
{{
addCardMax
}}
张卡券
</span>
</el-form-item>
<div
class=
"alert-content"
v-if=
"couponStatus"
>
<el-alert
title=
"原卡券已被删除,请及时下线卡券,否则用户将无法兑换"
type=
"warning"
>
</el-alert>
...
...
@@ -344,6 +344,7 @@ export default {
}
};
return
{
addCardMax
:
20
,
// 添加卡券的上限数量
ladder
:
[],
isDifferentialPricing
:
''
,
ladderPriceList
:
[],
...
...
@@ -934,6 +935,7 @@ export default {
},
// 显示卡券弹窗
showCard
()
{
if
(
this
.
cardList
.
length
>=
this
.
addCardMax
)
return
;
this
.
showCardDialog
=
true
;
},
// 子组件触发方法
...
...
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