Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
4b93f91d
Commit
4b93f91d
authored
Aug 23, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 卡券列表调整
parent
f753474f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
list.vue
src/views/card/list.vue
+7
-1
card-item.vue
src/views/card/partials/card-item.vue
+8
-2
No files found.
src/views/card/list.vue
View file @
4b93f91d
...
...
@@ -56,7 +56,13 @@ export default {
total
:
0
,
loading
:
false
,
tableList
:
[],
cardTypeOptions
:
[{
value
:
''
,
label
:
'全部卡券类型'
},
{
value
:
0
,
label
:
'抵金券'
},
{
value
:
1
,
label
:
'折扣券'
},
{
value
:
2
,
label
:
'兑换券'
}],
// eslint-disable-line
cardTypeOptions
:
[
{
value
:
''
,
label
:
'全部卡券类型'
},
{
value
:
0
,
label
:
'抵金券'
},
{
value
:
1
,
label
:
'折扣券'
},
{
value
:
2
,
label
:
'兑换券'
},
{
value
:
3
,
label
:
'商场抵金券'
}
],
sortFlag
:
false
,
adjustStock
:
false
,
currentCard
:
{}
...
...
src/views/card/partials/card-item.vue
View file @
4b93f91d
...
...
@@ -24,8 +24,14 @@
<p>
核销率
</p>
</div>
<div>
<h5>
{{
item
.
saleAmount
}}
</h5>
<p>
销售额
</p>
<template
v-if=
"item.cardType == 3"
>
<h5>
{{
item
.
wirteOffPrice
||
0
}}
</h5>
<p>
核销额
</p>
</
template
>
<
template
v-else
>
<h5>
{{
item
.
saleAmount
}}
</h5>
<p>
销售额
</p>
</
template
>
</div>
<el-tooltip
class=
"item"
effect=
"dark"
open-delay=
"300"
>
<div
slot=
"content"
>
...
...
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