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
a291d29b
Commit
a291d29b
authored
May 16, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自营券增加过期天数
parent
784e4348
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
index.vue
src/views/system/consumer/index.vue
+3
-1
durationIndex.vue
src/views/system/coupon/durationIndex.vue
+7
-0
No files found.
src/views/system/consumer/index.vue
View file @
a291d29b
...
...
@@ -283,7 +283,7 @@
<
dict
-
tag
:
options
=
"dict.type.store_order_type"
:
value
=
"scope.row.orderType"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"适用套餐"
align
=
"center"
prop
=
"packIds
"
>
<
el
-
table
-
column
align
=
"center"
label
=
"适用套餐"
prop
=
"packIds"
width
=
"150px
"
>
<
template
slot
-
scope
=
"scope"
>
<
div
v
-
if
=
"scope.row.packIds"
>
<
dict
-
tag
:
options
=
"packList"
:
value
=
"scope.row.packIds.split(',')"
/>
...
...
@@ -317,6 +317,8 @@
<
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
align
=
"center"
label
=
"过期天数"
prop
=
"expirationNumber"
/>
<
el
-
table
-
column
label
=
"备注"
align
=
"center"
prop
=
"remark"
/>
<
el
-
table
-
column
align
=
"center"
class
-
name
=
"small-padding fixed-width"
fixed
=
"right"
label
=
"操作"
>
<
template
slot
-
scope
=
"scope"
>
...
...
src/views/system/coupon/durationIndex.vue
View file @
a291d29b
...
...
@@ -164,6 +164,7 @@
<
el
-
table
-
column
align
=
"center"
label
=
"有效开始时段"
prop
=
"validStartTime"
width
=
"120px"
/>
<
el
-
table
-
column
align
=
"center"
label
=
"有效结束时段"
prop
=
"validEndTime"
width
=
"120px"
/>
<
el
-
table
-
column
label
=
"数量"
align
=
"center"
prop
=
"number"
/>
<
el
-
table
-
column
align
=
"center"
label
=
"过期天数"
prop
=
"expirationNumber"
/>
<
el
-
table
-
column
align
=
"center"
label
=
"已赠送数量"
prop
=
"givNumber"
width
=
"100px"
>
<
template
slot
-
scope
=
"scope"
>
<
div
style
=
"cursor: pointer;color: #00afff;"
@
click
=
"onNavToCouponRecord(scope.row)"
>
...
...
@@ -346,6 +347,9 @@
<
el
-
input
-
number
v
-
model
=
"form.number"
:
min
=
"1"
:
max
=
"9999"
label
=
"优惠卷数量"
/>
<!--
<
el
-
input
v
-
model
=
"form.number"
type
=
"textarea"
placeholder
=
"请输入数量"
/>-->
<
/el-form-item
>
<
el
-
form
-
item
label
=
"过期天数"
prop
=
"expirationNumber"
>
<
el
-
input
-
number
v
-
model
=
"form.expirationNumber"
:
max
=
"365"
:
min
=
"1"
:
step
=
"1"
label
=
"过期天数"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"说明"
prop
=
"remark"
>
<
el
-
input
v
-
model
=
"form.remark"
type
=
"textarea"
placeholder
=
"请输入内容"
/>
<
/el-form-item
>
...
...
@@ -424,6 +428,9 @@ export default {
number
:
[
{
required
:
true
,
message
:
"数量不能为空"
,
trigger
:
"blur"
}
],
expirationNumber
:
[
{
required
:
true
,
message
:
"过期天数不能为空"
,
trigger
:
"blur"
}
],
startDate
:
[
{
required
:
true
,
message
:
"有效期开始不能为空"
,
trigger
:
"change"
}
],
...
...
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