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 597b9896
authored
Jun 22, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
UI走查
1 parent
229f2785
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
7 deletions
src/views/giftBag/editGift.vue
src/views/giftBag/giftDetail.vue
src/views/giftBag/giftList.vue
src/views/giftBag/receivedGiftList.vue
src/views/giftBag/editGift.vue
View file @
597b989
...
...
@@ -140,7 +140,7 @@ export default {
name
:
''
,
remarkName
:
''
,
// receiveWay: '1',
staffList
:
[
{
staffUUID
:
'e7cfc19a67ce4fb5ac89117de246dabe'
,
staffName
:
'李崇源'
}
],
staffList
:
[],
// 优惠券类型(discountType) 1:满减券,2:折扣券,3:代金券,4:兑换券,5:购车代金券,6:商品折扣券,7:会员服务
// 优惠券状态(status):1:未生效,2:生效中,3:已失效
couponList
:
[],
...
...
src/views/giftBag/giftDetail.vue
View file @
597b989
...
...
@@ -26,7 +26,8 @@
</div>
<div
v-for=
"(item, index) in orderShow"
:key=
"index"
>
<div
class=
"gift-box"
v-show=
"couponObj[item].list.length"
>
<div
class=
"gift-label"
>
{{
couponObj
[
item
].
label
}}
:
</div>
<!--
<div
class=
"gift-label"
>
{{
couponObj
[
item
].
label
}}
:
</div>
-->
<img
class=
"server-type"
:src=
"require(`@/assets/coupon/icon-$
{item}.png`)" />
<div
class=
"gift-content"
>
<div
class=
"gift-item"
v-for=
"(subItem, subIndex) in couponObj[item].list"
:key=
"subIndex"
>
<span
:class=
"['circle', subItem.status == '3' ? ' grey' : '']"
></span>
...
...
@@ -37,7 +38,12 @@
</div>
</div>
</div>
<div
slot=
"receiveDetails"
>
{{
editForm
.
receiveWay
==
'1'
?
'指定手机号'
:
'指定车架号后6位'
}}
:
{{
editForm
.
receiveDetails
}}
</div>
<div
slot=
"receiveDetails"
>
<span
style=
"border: 1px dashed #333;"
>
{{
editForm
.
receiveWay
==
'1'
?
'指定手机号'
:
'指定车架号后6位'
}}
:
</span>
<div
class=
"phone-wrap"
>
<span
class=
"phone"
v-for=
"(item,id) in receiveDetailList"
:key=
"id"
>
{{
item
}}
</span>
</div>
</div>
<div
slot=
"staffListBlock"
class=
"sale-select"
v-show=
"editForm.staffList && editForm.staffList.length != 0"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper-detail"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in editForm.staffList"
:key=
"idx"
:disable-transitions=
"false"
@
close=
"handleStaffRemove(tag, idx)"
>
...
...
@@ -80,6 +86,7 @@ export default {
footerWidth
:
'0'
,
loading
:
false
,
editChildRef
:
'editChildRef'
,
receiveDetailList
:[],
routeInfo
:
{
// add-新增;edit-编辑;detail-详情
addOrEdit
:
'add'
,
...
...
@@ -194,6 +201,9 @@ export default {
res
.
data
.
createdDate
=
dayjs
(
res
.
data
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
res
.
data
.
updatedDate
=
dayjs
(
res
.
data
.
updatedDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
this
.
editForm
=
res
.
data
let
arr
=
[]
res
.
data
.
receiveDetails
&&
(
arr
=
res
.
data
.
receiveDetails
.
split
(
','
))
this
.
receiveDetailList
=
[...
arr
]
this
.
approvalStatus
=
res
.
data
.
approveStatus
-
1
this
.
recoveryCoupon
()
this
.
recoveryTotalPrice
()
...
...
@@ -268,6 +278,11 @@ export default {
.gift-box
{
display
:
flex
;
padding
:
10px
0
10px
10px
;
.server-type
{
margin
:
4px
12px
0
0
;
height
:
23px
;
width
:
58px
;
}
.gift-label
{
width
:
70px
;
color
:
#999999
;
...
...
@@ -299,6 +314,20 @@ export default {
}
}
}
.phone-wrap
{
width
:
878px
;
background-color
:
#F9F9F9
;
padding
:
5px
10px
;
line-height
:
14px
;
font-size
:
14px
;
box-sizing
:
border-box
;
margin-top
:
5px
;
.phone{
display
:
inline-block
;
margin
:
5px
16px
5px
0
;
border
:
1px
dashed
#333
;
}
}
//
发放员工
.sale-select
{
display
:
flex
;
...
...
src/views/giftBag/giftList.vue
View file @
597b989
...
...
@@ -12,7 +12,7 @@
<div
class=
"container"
>
<div>
<GLCombiForm
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
></GLCombiForm>
<GLButton
style=
"float:right;margin-bottom:
2
0px;"
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"导出"
@
click=
"handleExport"
>
导出
</GLButton>
<GLButton
style=
"float:right;margin-bottom:
1
0px;"
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"导出"
@
click=
"handleExport"
>
导出
</GLButton>
</div>
<!-- 表格区域 开始 -->
...
...
@@ -132,7 +132,10 @@ export default {
getListApi
:
this
.
$apis
.
giftBag
.
getListApi
,
tableParams
:
{
listName
:
'list'
,
tableOption
:
true
,
tableOption
:
{
width
:
120
,
align
:
'center'
},
tableColumns
:
[
{
label
:
''
,
...
...
src/views/giftBag/receivedGiftList.vue
View file @
597b989
...
...
@@ -16,7 +16,7 @@
<!--
<GLButton
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"已领取导出"
@
click=
"handleExport"
>
导出
</GLButton>
</span>
</glsx-combi-form>
-->
<GLButton
style=
"float:right;margin-bottom:
2
0px;"
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"已领取导出"
@
click=
"handleExport"
>
导出
</GLButton>
<GLButton
style=
"float:right;margin-bottom:
1
0px;"
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"已领取导出"
@
click=
"handleExport"
>
导出
</GLButton>
</div>
<!-- 表格区域 开始 -->
...
...
@@ -210,7 +210,10 @@ export default {
getListApi
:
this
.
$apis
.
giftBag
.
getReceivedGiftInfoApi
,
tableParams
:
{
listName
:
'list'
,
tableOption
:
true
,
tableOption
:
{
width
:
100
,
align
:
'center'
},
tableColumns
:
[
{
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