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
4d996a3c
Commit
4d996a3c
authored
Aug 09, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 积分校验提示信息修改
parent
2b9146dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
point-form.vue
src/components/memberShip/point-form.vue
+4
-4
addPointSystem.vue
src/view/companyGroup/membershipSystem/addPointSystem.vue
+4
-4
editPointSystem.vue
src/view/companyGroup/membershipSystem/editPointSystem.vue
+5
-5
No files found.
src/components/memberShip/point-form.vue
View file @
4d996a3c
...
...
@@ -400,7 +400,7 @@ export default {
this
.
scrollToError
(
this
,
'yearY'
);
that
.
$message
.
error
({
duration
:
1000
,
message
:
"请
选择积分有效期类型
"
message
:
"请
设置积分有效期
"
})
return
;
}
...
...
@@ -409,21 +409,21 @@ export default {
this
.
scrollToError
(
this
,
'yearY'
);
that
.
$message
.
error
({
duration
:
1000
,
message
:
"请
选择按月失效规则
"
message
:
"请
完善积分有效期信息
"
})
return
;
}
else
if
(
data
.
integralExpireType
==
2
&&
(
this
.
yearY
==
''
||
this
.
yearM
==
''
||
this
.
yearD
==
-
1
))
{
this
.
scrollToError
(
this
,
'yearY'
);
that
.
$message
.
error
({
duration
:
1000
,
message
:
"请
选择按年失效规则
"
message
:
"请
完善积分有效期信息
"
})
return
;
}
else
if
(
data
.
integralExpireType
==
0
&&
data
.
effectiveTime
==
''
)
{
this
.
scrollToError
(
this
,
'yearY'
);
that
.
$message
.
error
({
duration
:
1000
,
message
:
"请
填写积分有效期
"
message
:
"请
完善积分有效期信息
"
})
return
;
}
else
if
(
String
(
data
.
integralExpireType
)
==
0
&&
data
.
effectiveTime
==
''
&&
parseInt
(
data
.
effectiveTime
)
<
1
)
{
...
...
src/view/companyGroup/membershipSystem/addPointSystem.vue
View file @
4d996a3c
...
...
@@ -994,20 +994,20 @@ export default {
if
(
data
.
userGeneralIntegralExpireRule
==
0
)
{
if
(
data
.
integralExpireType
==
null
)
{
this
.
scrollToError
(
this
,
'mouthM'
);
showMsg
.
showmsg
(
'请
选择积分失效规则
'
,
'error'
)
showMsg
.
showmsg
(
'请
设置积分有效期
'
,
'error'
)
return
;
}
if
(
data
.
integralExpireType
==
3
&&
(
this
.
mouthM
==
''
||
this
.
mouthD
==
-
1
))
{
this
.
scrollToError
(
this
,
'mouthM'
);
showMsg
.
showmsg
(
'请
选择按月失效规则
'
,
'error'
)
showMsg
.
showmsg
(
'请
完善积分有效期信息
'
,
'error'
)
return
;
}
else
if
(
data
.
integralExpireType
==
2
&&
(
this
.
yearY
==
''
||
this
.
yearM
==
''
||
this
.
yearD
==
-
1
))
{
this
.
scrollToError
(
this
,
'yearY'
);
showMsg
.
showmsg
(
'请
选择按年失效规则
'
,
'error'
)
showMsg
.
showmsg
(
'请
完善积分有效期信息
'
,
'error'
)
return
;
}
else
if
(
data
.
integralExpireType
==
0
&&
!
Number
(
data
.
integralGetEffectiveDays
))
{
this
.
scrollToError
(
this
,
'integralGetEffectiveDays'
);
showMsg
.
showmsg
(
'请
填写积分有效期
'
,
'error'
)
showMsg
.
showmsg
(
'请
完善积分有效期信息
'
,
'error'
)
return
;
}
}
...
...
src/view/companyGroup/membershipSystem/editPointSystem.vue
View file @
4d996a3c
...
...
@@ -293,7 +293,7 @@
</el-form-item>
<el-form-item
label=
"选择店铺:"
class=
"margin-20"
>
<el-select
v-model=
"storeValue"
v-if=
"!isJinHua"
class=
"w215"
>
<el-option
label=
"所有门店
:
"
value=
""
></el-option>
<el-option
label=
"所有门店"
value=
""
></el-option>
</el-select>
<vue-gic-store-new
:disabled=
"opendisabled9"
v-else
:scenesVal=
"scencs"
:options=
"options"
:isAdd=
"isAdd"
:uuid
.
sync=
"wmuuid"
ref=
"wmstoreGroup"
></vue-gic-store-new>
</el-form-item>
...
...
@@ -1070,21 +1070,21 @@ export default {
}
}
if
(
data
.
integralGetStatus
==
1
&&
!
Number
(
data
.
integralGetFreezeDays
)
&&
data
.
integralGetFreezeDays
!=
'0'
)
{
showMsg
.
showmsg
(
'请
填写积分冻结
期'
,
'error'
);
showMsg
.
showmsg
(
'请
设置积分有效
期'
,
'error'
);
return
;
}
if
(
data
.
userGeneralIntegralExpireRule
==
0
)
{
if
(
data
.
integralExpireType
==
3
&&
(
this
.
mouthM
==
''
||
this
.
mouthD
==
-
1
))
{
this
.
scrollToError
(
this
,
'mouthM'
);
showMsg
.
showmsg
(
'请
选择按月失效规则
'
,
'error'
)
showMsg
.
showmsg
(
'请
完善积分有效期信息
'
,
'error'
)
return
;
}
else
if
(
data
.
integralExpireType
==
2
&&
(
this
.
yearY
==
''
||
this
.
yearM
==
''
||
this
.
yearD
==
-
1
))
{
this
.
scrollToError
(
this
,
'yearY'
);
showMsg
.
showmsg
(
'请
选择按年失效规则
'
,
'error'
)
showMsg
.
showmsg
(
'请
完善积分有效期信息
'
,
'error'
)
return
;
}
else
if
(
data
.
integralExpireType
==
0
&&
!
Number
(
data
.
integralGetEffectiveDays
))
{
this
.
scrollToError
(
this
,
'integralGetEffectiveDays'
);
showMsg
.
showmsg
(
'请
填写积分有效期
'
,
'error'
)
showMsg
.
showmsg
(
'请
完善积分有效期信息
'
,
'error'
)
return
;
}
}
...
...
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