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
a06d686c
Commit
a06d686c
authored
Aug 02, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改优惠券
parent
eb0f9e5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/views/coupon/coupon/index.vue
+7
-7
No files found.
src/views/coupon/coupon/index.vue
View file @
a06d686c
...
...
@@ -162,7 +162,7 @@
<el-cascader
:options=
"shopRangeList"
v-model=
"shopRange"
clearable
placeholder=
"请选择使用商品范围"
class=
"width"
:props=
"{ multiple: true}"
collapse-tags
:show-all-levels=
"false"
/>
<el-cascader
ref=
"area"
:options=
"shopAreaTreeList"
v-model=
"storesRange"
:props=
"{ multiple: true }"
clearable
collapse-tags
placeholder=
"请选择地区门店"
:show-all-levels=
"false"
style=
"margin-left:55px;width:300px;"
/>
<el-select
v-model=
"form.week
Limit
"
placeholder=
"请选择可用日期"
multiple
collapse-tags
style=
"margin-left: 130px;width: 328px;"
clearable
>
<el-select
v-model=
"form.week"
placeholder=
"请选择可用日期"
multiple
collapse-tags
style=
"margin-left: 130px;width: 328px;"
clearable
>
<el-option
v-for=
"item in weekList"
:key=
"item.value"
...
...
@@ -252,7 +252,8 @@ export default {
city
:[],
province
:[],
userLimit
:
null
,
daysLimit
:
null
daysLimit
:
null
,
week
:[]
},
// 表单校验
rules
:
{
...
...
@@ -483,7 +484,6 @@ export default {
this
.
getShopAreaTree
();
this
.
getMessageMoudle
();
getCouponDetail
(
row
.
id
).
then
((
response
)
=>
{
console
.
log
(
"response"
,
response
.
data
);
if
(
response
.
code
==
200
){
this
.
form
.
id
=
response
.
data
.
id
;
this
.
form
.
name
=
response
.
data
.
name
;
...
...
@@ -524,9 +524,9 @@ export default {
this
.
form
.
relativeTime
=
response
.
data
.
relativeTime
;
this
.
form
.
receivableTime
=
response
.
data
.
receivableTime
;
if
(
response
.
data
.
weekLimit
[
0
]
==
0
){
this
.
form
.
week
Limit
=
[];
this
.
form
.
week
=
[];
}
else
{
this
.
form
.
week
Limit
=
response
.
data
.
weekLimit
;
this
.
form
.
week
=
response
.
data
.
weekLimit
;
}
//短信通知
if
(
response
.
data
.
sendMsg
){
...
...
@@ -756,8 +756,8 @@ export default {
}
else
if
(
this
.
form
.
sendMsgTag
==
2
){
this
.
form
.
sendMsg
=
false
;
}
if
(
this
.
form
.
week
Limit
.
length
==
0
){
this
.
form
.
weekLimit
=
[
0
]
if
(
this
.
form
.
week
.
length
==
0
){
this
.
form
.
weekLimit
=
[
0
]
}
console
.
log
(
"this.form"
,
this
.
form
);
if
(
this
.
form
.
id
!=
null
)
{
...
...
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