Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 29c46baf
authored
Jun 16, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
核销记录
1 parent
3bbab550
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
src/views/couponManage/index.vue
src/views/couponManage/recordList.vue
src/views/couponManage/index.vue
View file @
29c46ba
...
...
@@ -166,6 +166,7 @@ export default {
{
label
:
'使用途径'
,
name
:
'useChannel'
,
width
:
160
,
formatter
:
cellValue
=>
{
var
useChannel
=
'-'
if
(
cellValue
.
useChannel
)
{
...
...
src/views/couponManage/recordList.vue
View file @
29c46ba
...
...
@@ -26,6 +26,12 @@
<template
slot=
"discountType"
slot-scope=
"scope"
>
<img
:src=
"require(`@/assets/coupon/icon-$
{attrToIcon[scope.scope.discountType]}.png`)" />
</
template
>
<
template
slot=
"packageName"
slot-scope=
"scope"
>
<span
v-if=
"$isGroupUp"
>
{{
scope
.
scope
.
packageId
?
scope
.
scope
.
packageName
:
scope
.
scope
.
directionalGiftId
?
scope
.
scope
.
directionalGiftName
:
'-'
}}
</span>
<div
v-else
>
<p>
{{
packageNameTxtObj
[
scope
.
scope
.
receiveWay
]
}}
</p>
</div>
</
template
>
<span
slot=
"orderCodeHtml"
slot-scope=
"scope"
>
<span
class=
"cursor-pointer"
@
click=
"couponNameHandleDetail(scope.scope)"
v-if=
"scope.scope.directionalGiftId"
>
{{ scope.scope.directionalGiftName }}
</span>
<span
class=
"cursor-pointer"
@
click=
"orderCodeHandleDetail(scope.scope)"
v-else
>
{{ scope.scope.orderCode }}
</span>
...
...
@@ -167,6 +173,7 @@ export default {
{
label
:
'用户信息'
,
prop
:
'userName'
,
width
:
220
,
formatter
:
cellValue
=>
{
return
cellValue
.
userName
+
' '
+
cellValue
.
phone
}
...
...
@@ -186,6 +193,7 @@ export default {
{
label
:
'剩余核销次数'
,
prop
:
'residueAmount'
,
width
:
120
,
formatter
:
cellValue
=>
{
return
cellValue
.
residueAmount
||
cellValue
.
residueAmount
==
0
?
cellValue
.
residueAmount
:
'不限制次数'
}
...
...
@@ -201,6 +209,8 @@ export default {
{
label
:
'券来源'
,
prop
:
'packageName'
,
addHtml
:
'packageName'
,
width
:
200
,
formatter
:
cellValue
=>
{
let
txt
=
''
if
(
this
.
$isGroupUp
)
{
...
...
@@ -223,6 +233,7 @@ export default {
{
label
:
'核销日期'
,
prop
:
'verificationTime'
,
width
:
200
,
formatter
:
cellValue
=>
{
return
dateFormat
(
cellValue
.
verificationTime
)
}
...
...
@@ -235,6 +246,16 @@ export default {
4
:
'exchange'
,
7
:
'service'
},
packageNameTxtObj
:
{
''
:
'-'
,
1
:
'营销活动'
,
2
:
'营销活动'
,
3
:
'会员服务套餐'
,
4
:
'营销活动'
,
5
:
'关联商品购买'
,
6
:
'通过集团套餐赠送'
,
7
:
'通过定向礼包赠送'
},
baseData
:
{
discountTypeList
:
[
{
...
...
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