Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-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
memberTag
memberTag-web
Commits
8f680c5e
Commit
8f680c5e
authored
Aug 05, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 修改卡券过期天数
parent
9698f94e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
11 deletions
+22
-11
tag-config-options.vue
src/components/tag/tag-config-options.vue
+22
-11
No files found.
src/components/tag/tag-config-options.vue
View file @
8f680c5e
...
...
@@ -750,19 +750,18 @@
<!-- v-if="parent.templateCode == 'com024'" -->
<div
v-if=
"parent.templateCode == 'com024'"
>
<div
style=
"margin-bottom:20px"
>
<el-select
v-model=
"expiration"
style=
"width:90px;"
>
<el-option
label=
"1"
value=
"1"
></el-option>
<el-option
label=
"2"
value=
"2"
></el-option>
<el-option
label=
"3"
value=
"3"
></el-option>
<el-option
label=
"4"
value=
"4"
></el-option>
<el-option
label=
"5"
value=
"5"
></el-option>
<el-option
label=
"6"
value=
"6"
></el-option>
<el-option
label=
"7"
value=
"7"
></el-option>
</el-select>
<el-input
type=
"text"
v-model=
"expiration"
style=
"width:90px;"
@
change=
"onChangeTime"
/>
天后过期
<span
class=
"grey"
>
(仅支持输入1-30之间的正整数)
</span>
</div>
卡券类型:
<el-radio-group
v-model=
"cardRadioType"
>
<el-radio
:label=
"0"
>
全部卡券
</el-radio>
<el-radio
:label=
"1"
>
部分卡券
</el-radio>
</el-radio-group>
<vue-gic-card
v-show=
"cardRadioType"
ref=
"gicCard"
style=
"margin-top:20px"
@
reciver-card-list=
"reciverCardList"
:disabledList=
"disabledList"
:cardLimit=
"cardLimit"
...
...
@@ -770,6 +769,7 @@
:tag-list=
"tagList"
:type=
"1"
>
</vue-gic-card>
<p
v-show=
"!cardRadioType"
class=
"grey"
style=
"margin-top:15px"
>
说明:选择全部卡券后,后续创建的卡券也会进行统计。
</p>
</div>
</div>
</div>
...
...
@@ -1056,7 +1056,8 @@ export default {
cardParams
:
{
startTime
:
''
,
endTime
:
''
}
},
cardRadioType
:
1
};
},
watch
:
{
...
...
@@ -1925,6 +1926,14 @@ export default {
console
.
log
(
'saddssdsd'
,
`
${
v
}
`
.
replace
(
/
\s
/g
,
''
))
return
`
${
v
}
`
.
replace
(
/
\s
/g
,
''
);
},
onChangeTime
(
val
)
{
if
(
isNaN
(
val
))
{
this
.
expiration
=
1
;
return
;
}
if
(
val
<
1
)
this
.
expiration
=
'1'
;
else
if
(
val
>
30
)
this
.
expiration
=
'30'
;
}
},
created
()
{
...
...
@@ -2134,6 +2143,8 @@ export default {
padding
:
20px
10px
;
border-bottom
:
1px
solid
rgba
(
220
,
223
,
230
,
1
);
}
.grey
{
color
:
rgb
(
186
,
186
,
186
);
}
</
style
>
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