Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
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
hooloo
web
soss
Commits
75b43306
Commit
75b43306
authored
Aug 19, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改优惠券商品范围显示
parent
8881f6b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/views/coupon/coupon/index.vue
+4
-4
No files found.
src/views/coupon/coupon/index.vue
View file @
75b43306
...
...
@@ -557,7 +557,7 @@ export default {
this
.
form
.
sendMsgTag
=
2
}
//适用范围分品类
if
(
response
.
data
.
categoryIds
.
length
>
0
){
if
(
response
.
data
.
categoryIds
!=
null
){
if
(
response
.
data
.
categoryIds
[
0
]
==
'0'
){
this
.
shopRange
=
[
0
];
}
else
{
...
...
@@ -569,10 +569,10 @@ export default {
}
}
//适用范围商品
if
(
response
.
data
.
shop
Ids
!=
null
){
if
(
response
.
data
.
goods
Ids
!=
null
){
let
sh_ary
=
new
Array
();
for
(
let
i
=
0
;
i
<
response
.
data
.
shop
Ids
.
length
;
i
++
){
sh_ary
.
push
([
1
,
response
.
data
.
shop
Ids
[
i
]])
for
(
let
i
=
0
;
i
<
response
.
data
.
goods
Ids
.
length
;
i
++
){
sh_ary
.
push
([
2
,
response
.
data
.
goods
Ids
[
i
]])
}
this
.
shopRange
=
sh_ary
;
}
...
...
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