Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7bf071d2
authored
May 19, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优惠券发放记录优化修改
1 parent
22d3714f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
aus-front/admin/src/views/discount/coupon/DiscountCouponPage.vue
aus-front/admin/src/views/discount/record/DiscountRecordPage.vue
aus-front/admin/src/views/discount/coupon/DiscountCouponPage.vue
View file @
7bf071d
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<
/a-tag
>
<
/a-tag
>
<
/template
>
<
/template
>
<
template
v
-
if
=
"column.key === 'totalQuantity'"
>
<
template
v
-
if
=
"column.key === 'totalQuantity'"
>
{{
(
record
.
totalQuantity
??
''
)
===
''
?
'不限制'
:
record
.
totalQuantity
}}
{{
(
record
.
totalQuantity
??
''
)
===
''
?
'不限制'
:
`${record.totalQuantity - (record.remainingQuantity || 0)
}
/${record.totalQuantity
}
`
}}
<
/template
>
<
/template
>
<
template
v
-
if
=
"column.key === 'remark'"
>
<
template
v
-
if
=
"column.key === 'remark'"
>
<
a
-
tooltip
:
title
=
"record.remark"
>
<
a
-
tooltip
:
title
=
"record.remark"
>
...
@@ -152,7 +152,7 @@ export default class DiscountCouponPage extends PaginationComponent<Vehicle> {
...
@@ -152,7 +152,7 @@ export default class DiscountCouponPage extends PaginationComponent<Vehicle> {
{
title
:
'抵扣类型'
,
dataIndex
:
'deductionType'
,
key
:
'deductionType'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'抵扣类型'
,
dataIndex
:
'deductionType'
,
key
:
'deductionType'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'面额/最高抵扣(元)'
,
dataIndex
:
'faceAmount'
,
key
:
'faceAmount'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'面额/最高抵扣(元)'
,
dataIndex
:
'faceAmount'
,
key
:
'faceAmount'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'关联活动数'
,
dataIndex
:
'relatedActivities'
,
key
:
'relatedActivities'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'关联活动数'
,
dataIndex
:
'relatedActivities'
,
key
:
'relatedActivities'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'发放总量'
,
dataIndex
:
'totalQuantity'
,
key
:
'totalQuantity'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'
已发放/
发放总量'
,
dataIndex
:
'totalQuantity'
,
key
:
'totalQuantity'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'备注'
,
dataIndex
:
'remark'
,
key
:
'remark'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'备注'
,
dataIndex
:
'remark'
,
key
:
'remark'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'创建/更新时间'
,
dataIndex
:
'updateTime'
,
key
:
'updateTime'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
{
title
:
'创建/更新时间'
,
dataIndex
:
'updateTime'
,
key
:
'updateTime'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
}
,
...
...
aus-front/admin/src/views/discount/record/DiscountRecordPage.vue
View file @
7bf071d
...
@@ -251,6 +251,8 @@ export default class DiscountActivityPage extends PaginationComponent<Vehicle> {
...
@@ -251,6 +251,8 @@ export default class DiscountActivityPage extends PaginationComponent<Vehicle> {
distributionType
:
[
null
,
{
label
:
'发放类型'
,
type
:
'select'
,
optionItems
:
this
.
distributionTypeList
,
allowClear
:
true
,
field
:
'distributionType'
,
operator
:
Operator
.
eq
}
],
distributionType
:
[
null
,
{
label
:
'发放类型'
,
type
:
'select'
,
optionItems
:
this
.
distributionTypeList
,
allowClear
:
true
,
field
:
'distributionType'
,
operator
:
Operator
.
eq
}
],
orderCode
:
[
null
,
{
label
:
'关联订单号'
,
field
:
'orderCode'
,
placeholder
:
'输入订单号'
,
operator
:
Operator
.
like
}
],
orderCode
:
[
null
,
{
label
:
'关联订单号'
,
field
:
'orderCode'
,
placeholder
:
'输入订单号'
,
operator
:
Operator
.
like
}
],
distributionTime
:
[
null
,
{
label
:
'发放时间'
,
field
:
'distributionTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
}
],
distributionTime
:
[
null
,
{
label
:
'发放时间'
,
field
:
'distributionTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
}
],
templateName
:
[
null
,
{
label
:
'优惠券名称'
,
field
:
'templateName'
,
placeholder
:
'输入优惠券名称'
,
operator
:
Operator
.
like
}
],
couponTemplateId
:
[
null
,
{
label
:
'优惠券ID'
,
field
:
'couponTemplateId'
,
type
:
'number'
,
placeholder
:
'输入优惠券ID'
,
operator
:
Operator
.
like
}
]
}
);
}
);
const
pageQuery
=
this
.
$route
.
query
const
pageQuery
=
this
.
$route
.
query
// 从优惠券管理列表跳转 直接打开活动详情
// 从优惠券管理列表跳转 直接打开活动详情
...
...
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