Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_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
pseer
gxpt_web
Commits
0b8a007b
Commit
0b8a007b
authored
Jan 25, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时长劵增加有效时段
parent
4dad6a8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
index.vue
src/views/system/consumer/index.vue
+2
-0
durationIndex.vue
src/views/system/coupon/durationIndex.vue
+24
-0
No files found.
src/views/system/consumer/index.vue
View file @
0b8a007b
...
@@ -299,6 +299,8 @@
...
@@ -299,6 +299,8 @@
<
span
>
{{
parseTime
(
scope
.
row
.
endDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
endDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"有效开始时段"
align
=
"center"
prop
=
"validStartTime"
width
=
"180"
/>
<
el
-
table
-
column
label
=
"有效结束时段"
align
=
"center"
prop
=
"validEndTime"
width
=
"180"
/>
<
el
-
table
-
column
label
=
"数量"
align
=
"center"
prop
=
"number"
/>
<
el
-
table
-
column
label
=
"数量"
align
=
"center"
prop
=
"number"
/>
<
el
-
table
-
column
label
=
"备注"
align
=
"center"
prop
=
"remark"
/>
<
el
-
table
-
column
label
=
"备注"
align
=
"center"
prop
=
"remark"
/>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
...
...
src/views/system/coupon/durationIndex.vue
View file @
0b8a007b
...
@@ -151,6 +151,8 @@
...
@@ -151,6 +151,8 @@
<
span
>
{{
parseTime
(
scope
.
row
.
endDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
endDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"有效开始时段"
align
=
"center"
prop
=
"validStartTime"
width
=
"180"
/>
<
el
-
table
-
column
label
=
"有效结束时段"
align
=
"center"
prop
=
"validEndTime"
width
=
"180"
/>
<
el
-
table
-
column
label
=
"数量"
align
=
"center"
prop
=
"number"
/>
<
el
-
table
-
column
label
=
"数量"
align
=
"center"
prop
=
"number"
/>
<
el
-
table
-
column
label
=
"已赠送数量"
align
=
"center"
prop
=
"givNumber"
>
<
el
-
table
-
column
label
=
"已赠送数量"
align
=
"center"
prop
=
"givNumber"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
...
@@ -275,6 +277,28 @@
...
@@ -275,6 +277,28 @@
placeholder
=
"请选择有效期结束"
>
placeholder
=
"请选择有效期结束"
>
<
/el-date-picker
>
<
/el-date-picker
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"有效开始时段"
prop
=
"validStartTime"
>
<
el
-
time
-
select
clearable
v
-
model
=
"form.validStartTime"
:
picker
-
options
=
"{
start: '00:00',
step: '01:00',
end: '23:00'
}
"
placeholder
=
"选择开始时段"
>
<
/el-time-select
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"有效结束时段"
prop
=
"validEndTime"
>
<
el
-
time
-
select
clearable
v
-
model
=
"form.validEndTime"
:
picker
-
options
=
"{
start: '00:00',
step: '01:00',
end: '23:00'
}
"
placeholder
=
"选择结束时段"
>
<
/el-time-select
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"数量"
prop
=
"number"
>
<
el
-
form
-
item
label
=
"数量"
prop
=
"number"
>
<
el
-
input
-
number
v
-
model
=
"form.number"
:
min
=
"1"
:
max
=
"9999"
label
=
"优惠卷数量"
/>
<
el
-
input
-
number
v
-
model
=
"form.number"
:
min
=
"1"
:
max
=
"9999"
label
=
"优惠卷数量"
/>
<!--
<
el
-
input
v
-
model
=
"form.number"
type
=
"textarea"
placeholder
=
"请输入数量"
/>-->
<!--
<
el
-
input
v
-
model
=
"form.number"
type
=
"textarea"
placeholder
=
"请输入数量"
/>-->
...
...
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