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 45b6a239
authored
Feb 23, 2022
by
周子尧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
f6c03d0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
src/views/giftBag/receivedGiftList.vue
src/views/giftBag/receivedGiftList.vue
View file @
45b6a23
...
@@ -20,9 +20,6 @@
...
@@ -20,9 +20,6 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"receivedGiftListRef"
:getListApi=
"getListApi"
:hasNum=
"false"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"receivedGiftListRef"
:getListApi=
"getListApi"
:hasNum=
"false"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<span
slot=
"nickName"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"customerDetail(scope.scope)"
>
{{
scope
.
scope
.
nickName
}}
</el-button>
</span>
<span
slot=
"directionalGiftName"
slot-scope=
"scope"
>
<span
slot=
"directionalGiftName"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
{{
scope
.
scope
.
directionalGiftName
}}
</el-button>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
{{
scope
.
scope
.
directionalGiftName
}}
</el-button>
</span>
</span>
...
@@ -43,17 +40,13 @@ export default {
...
@@ -43,17 +40,13 @@ export default {
name
:
'giftList'
,
name
:
'giftList'
,
filters
:
{
filters
:
{
filterTable
(
list
)
{
filterTable
(
list
)
{
// console.log(params)
// return
let
arr1
=
list
.
couponList
let
arr1
=
list
.
couponList
let
arr2
=
list
.
verificationCouponList
let
arr2
=
list
.
verificationCouponList
let
reduceArr
=
arr1
.
map
(
item
=>
{
let
reduceArr
=
arr1
.
map
(
item
=>
{
// item.numBer = ''
arr2
.
map
(
ele
=>
{
arr2
.
map
(
ele
=>
{
if
(
item
.
couponId
==
ele
.
couponId
)
{
if
(
item
.
couponId
==
ele
.
couponId
)
{
item
.
numBer
=
item
.
couponAmount
-
ele
.
couponAmount
item
.
numBer
=
item
.
couponAmount
-
ele
.
couponAmount
item
.
delet
=
ele
.
couponAmount
item
.
delet
=
ele
.
couponAmount
// item.couponAmount = ele.couponAmount
}
}
})
})
return
item
return
item
...
@@ -117,11 +110,11 @@ export default {
...
@@ -117,11 +110,11 @@ export default {
List
:
[
List
:
[
{
{
Id
:
'1'
,
Id
:
'1'
,
Name
:
'
是
'
Name
:
'
否
'
},
},
{
{
id
:
'2'
,
id
:
'2'
,
Name
:
'
否
'
Name
:
'
是
'
}
}
]
]
},
},
...
@@ -185,7 +178,11 @@ export default {
...
@@ -185,7 +178,11 @@ export default {
},
},
{
{
label
:
'领取客户'
,
label
:
'领取客户'
,
addHtml
:
'nickName'
prop
:
'nickName'
},
{
label
:
'客户手机号'
,
prop
:
'phone'
},
},
{
{
label
:
'是否为企微客户'
,
label
:
'是否为企微客户'
,
...
...
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