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 52e15c49
authored
Feb 24, 2022
by
周子尧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
c3ec6733
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
18 deletions
src/views/giftBag/giftList.vue
src/views/giftBag/receivedGiftList.vue
src/views/giftBag/giftList.vue
View file @
52e15c4
...
@@ -2,13 +2,12 @@
...
@@ -2,13 +2,12 @@
<
template
>
<
template
>
<div
class=
"marketing"
>
<div
class=
"marketing"
>
<div
class=
"m-b-10"
>
<div
class=
"m-b-10"
>
<!--
<el-button
:size=
"size"
type=
"primary"
fn=
"新增礼包"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</el-button>
-->
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增礼包"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</GLButton>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增礼包"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</GLButton>
</div>
</div>
<div
class=
"list-tips m-b-10"
>
<div
class=
"list-tips m-b-10"
>
<img
class=
"tips-img"
src=
"@/assets/icon-info.png"
/>
<img
class=
"tips-img"
src=
"@/assets/icon-info.png"
/>
<span>
<span>
定向礼包:将多种券和服务组合成定向礼包,由指定的员工向指定的客户发放,客户需准确输入设定内容才能成功领取。
</span>
定向礼包:将多种券和服务组合成定向礼包,由指定的员工向指定的客户发放,客户需准确输入设定内容才能成功领取。
</span>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
...
@@ -147,7 +146,7 @@ export default {
...
@@ -147,7 +146,7 @@ export default {
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
dayjs
(
cellValue
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
return
dayjs
(
cellValue
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
}
}
,
}
]
]
},
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
...
...
src/views/giftBag/receivedGiftList.vue
View file @
52e15c4
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
</glsx-combi-form>
</glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
>
<glsx-combi-form
ref=
"showSearch"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<
el-button
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button
>
<
!--
<el-button
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
--
>
<
!--
<GLButton
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"已领取导出"
@
click=
"handleExport"
>
导出
</GLButton>
--
>
<
GLButton
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"已领取导出"
@
click=
"handleExport"
>
导出
</GLButton
>
</span>
</span>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -43,16 +43,9 @@ export default {
...
@@ -43,16 +43,9 @@ export default {
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
.
delet
=
0
arr2
.
map
(
ele
=>
{
arr2
.
map
(
ele
=>
{
// if (item.couponId == ele.couponId) {
item
.
delet
=
ele
.
couponAmount
// item.numBer = item.couponAmount - ele.couponAmount
// item.delet = ele.couponAmount
// }
if
(
arr2
.
length
<
1
)
{
item
.
delet
=
0
}
else
{
item
.
delet
=
ele
.
couponAmount
}
})
})
return
item
return
item
})
})
...
@@ -143,9 +136,7 @@ export default {
...
@@ -143,9 +136,7 @@ export default {
label
:
'已核销/次'
,
label
:
'已核销/次'
,
prop
:
'anticipatedCost '
,
prop
:
'anticipatedCost '
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
if
(
cellValue
.
delet
)
{
return
'X'
+
cellValue
.
delet
return
'X'
+
cellValue
.
delet
}
}
}
},
},
{
{
...
...
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