Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
wangshusheng
6 years ago
Commit
d0ced8eddabb6144df8e270b276b01a65087c1fd
2 parents
3f2254ea
eaf5465d
Merge branch 'test6.9.12' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
code/apps/marketing/views/CouponList/AddOrUpdate.html
code/static/js.jquery/module/marketing/CouponList/AddOrUpdate.js
code/apps/marketing/views/CouponList/AddOrUpdate.html
View file @
d0ced8e
...
...
@@ -427,7 +427,7 @@
<
input
type
=
"checkbox"
value
=
"2"
name
=
"showScope"
class
=
"showScope-2"
[[
if
couponType
==-
1
]]
disabled
[[
/if]]> 详情页展
示
<
/label
>
<
label
class
=
"checkbox-inline"
>
<
input
type
=
"checkbox"
value
=
"3"
name
=
"showScope"
class
=
"showScope-3"
[[
if
couponType
==
1
||
couponType
==
3
||
couponType
==
4
||
couponType
==
5
||
couponType
==
7
||
couponType
==
8
]]
disabled
[[
/if]] > 店铺展
示
<
input
type
=
"checkbox"
value
=
"3"
name
=
"showScope"
class
=
"showScope-3"
[[
if
couponType
==
3
||
couponType
==
4
||
couponType
==
5
||
couponType
==
7
||
couponType
==
8
]]
disabled
[[
/if]] > 店铺展
示
<
/label
>
<
/div
>
<
input
type
=
"hidden"
value
=
"[[showScope]]"
id
=
"showScope"
for
=
"checkbox"
placeholder
=
"展示范围"
>
...
...
code/static/js.jquery/module/marketing/CouponList/AddOrUpdate.js
View file @
d0ced8e
...
...
@@ -345,10 +345,8 @@ $(document).on("change", "#filter-couponType", function () {
couponBean
.
feeSharingType
=
2
;
}
if
(
couponTypeVal
==
1
){
couponBean
.
showScope
=
"1,2"
;
}
else
if
(
couponTypeVal
==
6
)
{
couponBean
.
showScope
=
"1,2,3"
;
if
(
couponTypeVal
==
1
||
couponTypeVal
==
8
){
couponBean
.
showScope
=
""
;
}
else
{
couponBean
.
showScope
=
"2"
;
}
...
...
Please
register
or
login
to post a comment