Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
clique-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clique
clique-web
Commits
a455fc3a
Commit
a455fc3a
authored
Aug 18, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix; 积分有效期
parent
214184bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
addPointSystem.vue
src/view/companyGroup/membershipSystem/addPointSystem.vue
+9
-1
editPointSystem.vue
src/view/companyGroup/membershipSystem/editPointSystem.vue
+2
-0
No files found.
src/view/companyGroup/membershipSystem/addPointSystem.vue
View file @
a455fc3a
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
<el-input
v-model=
"ruleForm.integralGetFreezeDays"
@
keyup
.
native=
"formatInputNum($event)"
style=
"width: 115px"
></el-input><label>
天
</label>
<el-input
v-model=
"ruleForm.integralGetFreezeDays"
@
keyup
.
native=
"formatInputNum($event)"
style=
"width: 115px"
></el-input><label>
天
</label>
<span
class=
"setting-tips"
>
仅对通过订单获取的积分生效,活动类获取的积分没有冻结期
</span>
<span
class=
"setting-tips"
>
仅对通过订单获取的积分生效,活动类获取的积分没有冻结期
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"积分有效期:"
prop=
"userGeneralIntegralExpireRule"
>
<el-form-item
label=
"积分有效期:"
prop=
"userGeneralIntegralExpireRule"
class=
"eff"
>
<el-radio
v-model=
"ruleForm.userGeneralIntegralExpireRule"
:label=
"1"
>
通用积分策略有效期
</el-radio>
<el-radio
v-model=
"ruleForm.userGeneralIntegralExpireRule"
:label=
"1"
>
通用积分策略有效期
</el-radio>
<el-radio
v-model=
"ruleForm.userGeneralIntegralExpireRule"
:label=
"0"
>
自定义有效期
<el-radio
v-model=
"ruleForm.userGeneralIntegralExpireRule"
:label=
"0"
>
自定义有效期
<el-tooltip
placement=
"right"
effect=
"light"
>
<el-tooltip
placement=
"right"
effect=
"light"
>
...
@@ -1010,6 +1010,14 @@ export default {
...
@@ -1010,6 +1010,14 @@ export default {
showMsg
.
showmsg
(
'请完善积分有效期信息'
,
'error'
)
showMsg
.
showmsg
(
'请完善积分有效期信息'
,
'error'
)
return
;
return
;
}
}
}
else
if
(
data
.
userGeneralIntegralExpireRule
==
1
)
{
console
.
log
(
11111
,
data
.
integralExpireType
);
if
(
this
.
timeType
==
-
1
)
{
console
.
log
(
222
);
this
.
scrollToError
(
this
,
'eff'
);
showMsg
.
showmsg
(
'请设置积分有效期'
,
'error'
)
return
;
}
}
}
that
.
checkListValue
(
data
).
then
(
res
=>
{
that
.
checkListValue
(
data
).
then
(
res
=>
{
if
(
!
res
.
flag
)
{
if
(
!
res
.
flag
)
{
...
...
src/view/companyGroup/membershipSystem/editPointSystem.vue
View file @
a455fc3a
...
@@ -1073,6 +1073,7 @@ export default {
...
@@ -1073,6 +1073,7 @@ export default {
showMsg
.
showmsg
(
'请设置积分有效期'
,
'error'
);
showMsg
.
showmsg
(
'请设置积分有效期'
,
'error'
);
return
;
return
;
}
}
if
(
data
.
userGeneralIntegralExpireRule
==
0
)
{
if
(
data
.
userGeneralIntegralExpireRule
==
0
)
{
if
(
data
.
integralExpireType
==
3
&&
(
this
.
mouthM
==
''
||
this
.
mouthD
==
''
))
{
if
(
data
.
integralExpireType
==
3
&&
(
this
.
mouthM
==
''
||
this
.
mouthD
==
''
))
{
this
.
scrollToError
(
this
,
'mouthM'
);
this
.
scrollToError
(
this
,
'mouthM'
);
...
@@ -1529,6 +1530,7 @@ export default {
...
@@ -1529,6 +1530,7 @@ export default {
// 当有效期类型为null时判断有效期天数是否为null 不为null 有效期类型为0 为null 无选中状态
// 当有效期类型为null时判断有效期天数是否为null 不为null 有效期类型为0 为null 无选中状态
if
(
that
.
ruleForm
.
integralExpireType
==
null
)
{
if
(
that
.
ruleForm
.
integralExpireType
==
null
)
{
this
.
ruleForm
.
integralExpireType
=
0
;
this
.
ruleForm
.
integralExpireType
=
0
;
this
.
ruleForm
.
userGeneralIntegralExpireRule
=
0
;
}
}
// 积分有效期
// 积分有效期
that
.
ruleForm
.
integralExpireRule
=
that
.
ruleForm
.
integralExpireRule
?
that
.
ruleForm
.
integralExpireRule
.
split
(
','
)
:
''
;
that
.
ruleForm
.
integralExpireRule
=
that
.
ruleForm
.
integralExpireRule
?
that
.
ruleForm
.
integralExpireRule
.
split
(
','
)
:
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment