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 dce86376
authored
May 20, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'chenwq_dev_v2.3.0' into 'v2.3.0'
无限制期-永久有效 See merge request
!140
2 parents
8304a004
6ae940ba
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
15 deletions
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/couponManage/editMemberService.vue
src/views/couponManage/index.vue
src/views/couponManage/receiveDetail.vue
src/views/couponManage/writeOffDetail.vue
src/views/couponManage/editCashCoupon.vue
View file @
dce8637
...
...
@@ -75,7 +75,7 @@
</div>
</
template
>
<
template
slot=
"effectiveHtml"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear != 'couponAdd'"
>
无有效期
</el-radio>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear != 'couponAdd'"
>
永久有效
</el-radio>
<br
/>
<el-form-item
prop=
"effectiveTime"
ref=
"effectiveTime"
style=
"margin-top: 12px; display: block"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear != 'couponAdd'"
>
...
...
@@ -623,7 +623,7 @@ export default {
this
.
editForm
.
scopeApplication
=
this
.
editForm
.
scopeApplication
+
''
}
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
永久有效
if
(
this
.
editForm
.
effectiveType
==
2
)
{
this
.
editForm
.
effectiveTime
=
[
this
.
editForm
.
effectiveStartTime
,
this
.
editForm
.
effectiveEndTime
]
}
...
...
@@ -688,7 +688,7 @@ export default {
obj
.
useChannel
=
form
.
useChannel
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
永久有效
obj
.
effectiveType
=
form
.
effectiveType
if
(
form
.
effectiveType
==
1
)
{
//固定天数
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
dce8637
...
...
@@ -435,7 +435,7 @@ export default {
this
.
editForm
.
full
=
this
.
editForm
.
full
}
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
永久有效
if
(
this
.
editForm
.
effectiveType
==
2
)
{
this
.
editForm
.
effectiveTime
=
[
this
.
editForm
.
effectiveStartTime
,
this
.
editForm
.
effectiveEndTime
]
}
...
...
@@ -487,7 +487,7 @@ export default {
obj
.
discountType
=
'2'
obj
.
directionalFlag
=
'1'
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
永久有效
obj
.
effectiveType
=
form
.
effectiveType
if
(
form
.
effectiveType
==
1
)
{
//固定天数
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
dce8637
...
...
@@ -354,7 +354,7 @@ export default {
this
.
editForm
.
scopeApplication
=
this
.
editForm
.
scopeApplication
+
''
}
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
永久有效
if
(
this
.
editForm
.
effectiveType
==
2
)
{
this
.
editForm
.
effectiveTime
=
[
this
.
editForm
.
effectiveStartTime
,
this
.
editForm
.
effectiveEndTime
]
}
...
...
@@ -396,7 +396,7 @@ export default {
obj
.
discountType
=
'4'
obj
.
directionalFlag
=
'1'
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
永久有效
obj
.
effectiveType
=
form
.
effectiveType
if
(
form
.
effectiveType
==
1
)
{
//固定天数
...
...
src/views/couponManage/editMemberService.vue
View file @
dce8637
...
...
@@ -5,7 +5,7 @@
<p
class=
"edit-title"
>
{{
title
}}
服务券
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"effectiveHtml"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear != 'couponAdd'"
>
无有效期
</el-radio>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear != 'couponAdd'"
>
永久有效
</el-radio>
<br
/>
<el-form-item
prop=
"effectiveTime"
style=
"margin-top: 12px; display: block"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear != 'couponAdd'"
>
...
...
@@ -303,7 +303,7 @@ export default {
}
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
永久有效
if
(
this
.
editForm
.
effectiveType
==
2
)
{
this
.
editForm
.
effectiveTime
=
[
this
.
editForm
.
effectiveStartTime
,
this
.
editForm
.
effectiveEndTime
]
}
...
...
@@ -362,7 +362,7 @@ export default {
obj
.
discountType
=
'7'
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:
永久有效
obj
.
effectiveType
=
form
.
effectiveType
if
(
form
.
effectiveType
==
1
)
{
//固定天数
...
...
src/views/couponManage/index.vue
View file @
dce8637
...
...
@@ -131,7 +131,7 @@ export default {
case
2
:
return
dayjs
(
cellValue
.
effectiveStartTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
+
'-'
+
dayjs
(
cellValue
.
effectiveEndTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
case
3
:
return
'
无有效期
'
return
'
永久有效
'
default
:
return
'-'
}
...
...
src/views/couponManage/receiveDetail.vue
View file @
dce8637
...
...
@@ -282,8 +282,8 @@ export default {
//时间段
this
.
coupon
.
effectiveTxt
=
coupon
.
effectiveStartTime
+
' - '
+
coupon
.
effectiveEndTime
}
else
if
(
coupon
.
effectiveType
==
3
)
{
//
无有效期
this
.
coupon
.
effectiveTxt
=
'
无有效期
'
//
永久有效
this
.
coupon
.
effectiveTxt
=
'
永久有效
'
}
if
(
coupon
.
discountType
==
3
)
{
...
...
src/views/couponManage/writeOffDetail.vue
View file @
dce8637
...
...
@@ -162,8 +162,8 @@ export default {
//时间段
this
.
effective
=
coupon
.
effectiveStartTime
+
' ~ '
+
coupon
.
effectiveEndTime
}
else
if
(
coupon
.
effectiveType
==
3
)
{
//
无有效期
this
.
effective
=
'
无有效期
'
//
永久有效
this
.
effective
=
'
永久有效
'
}
if
(
coupon
.
discountType
==
3
)
{
...
...
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