Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
40512afb
authored
Oct 01, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【错别字修改】优惠卷 => 优惠劵
parent
53d1cb8f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/views/mall/promotion/coupon/components/CouponSelect.vue
+1
-1
src/views/mall/promotion/coupon/template/CouponTemplateForm.vue
+1
-1
src/views/mall/promotion/rewardActivity/components/RewardRuleCouponSelect.vue
+2
-2
No files found.
src/views/mall/promotion/coupon/components/CouponSelect.vue
View file @
40512afb
...
...
@@ -129,7 +129,7 @@ const emit = defineEmits<{
(
e
:
'change'
,
v
:
CouponTemplateApi
.
CouponTemplateVO
[]):
void
}
>
()
const
dialogVisible
=
ref
(
false
)
// 弹窗的是否展示
const
dialogTitle
=
ref
(
'选择优惠
卷
'
)
// 弹窗的标题
const
dialogTitle
=
ref
(
'选择优惠
劵
'
)
// 弹窗的标题
const
formLoading
=
ref
(
false
)
// 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const
loading
=
ref
(
true
)
// 列表的加载中
const
total
=
ref
(
0
)
// 列表的总页数
...
...
src/views/mall/promotion/coupon/template/CouponTemplateForm.vue
View file @
40512afb
...
...
@@ -115,7 +115,7 @@
<el-radio-group
v-model=
"formData.takeType"
>
<el-radio
:key=
"1"
:value=
"1"
>
直接领取
</el-radio>
<el-radio
:key=
"2"
:value=
"2"
>
指定发放
</el-radio>
<el-radio
:key=
"2"
:value=
"3"
>
新人
卷
</el-radio>
<el-radio
:key=
"2"
:value=
"3"
>
新人
劵
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
v-if=
"formData.takeType === 1"
label=
"发放数量"
prop=
"totalCount"
>
...
...
src/views/mall/promotion/rewardActivity/components/RewardRuleCouponSelect.vue
View file @
40512afb
<
template
>
<el-button
class=
"ml-10px"
type=
"text"
@
click=
"selectCoupon"
>
添加优惠
卷
</el-button>
<el-button
class=
"ml-10px"
type=
"text"
@
click=
"selectCoupon"
>
添加优惠
劵
</el-button>
<div
v-for=
"(item, index) in list"
...
...
@@ -57,7 +57,7 @@ const emits = defineEmits<{
const
rewardRule
=
useVModel
(
props
,
'modelValue'
,
emits
)
// 赠送规则
const
list
=
ref
<
GiveCouponVO
[]
>
([])
// 选择的优惠券列表
/** 选择赠送的优惠
卷
类型拓展 */
/** 选择赠送的优惠类型拓展 */
interface
GiveCouponVO
extends
CouponTemplateApi
.
CouponTemplateVO
{
giveCount
?:
number
}
...
...
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