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
8e057e3e
Commit
8e057e3e
authored
May 11, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自营券增加套餐券
parent
a499245e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
8 deletions
+24
-8
durationIndex.vue
src/views/system/coupon/durationIndex.vue
+23
-7
index.vue
src/views/system/order/index.vue
+1
-1
No files found.
src/views/system/coupon/durationIndex.vue
View file @
8e057e3e
...
@@ -209,14 +209,28 @@
...
@@ -209,14 +209,28 @@
<
el
-
form
-
item
label
=
"优惠券名称"
prop
=
"name"
>
<
el
-
form
-
item
label
=
"优惠券名称"
prop
=
"name"
>
<
el
-
input
v
-
model
=
"form.name"
placeholder
=
"请输入优惠券名称"
/>
<
el
-
input
v
-
model
=
"form.name"
placeholder
=
"请输入优惠券名称"
/>
<
/el-form-item
>
<
/el-form-item
>
<!--
<
el
-
form
-
item
label
=
"优惠券类型"
prop
=
"couponType"
>-->
<!--
<
el
-
select
v
-
model
=
"form.couponType"
placeholder
=
"请选择优惠券类型"
disabled
>-->
<!--
<
el
-
option
-->
<!--
v
-
for
=
"dict in dict.type.duration_coupon_type"
-->
<!--
:
key
=
"dict.value"
-->
<!--
:
label
=
"dict.label"
-->
<!--
:
value
=
"parseInt(dict.value)"
-->
<!--
><
/el-option>--
>
<!--
<
/el-select>--
>
<!--
<
/el-form-item>--
>
<
el
-
form
-
item
label
=
"优惠券类型"
prop
=
"couponType"
>
<
el
-
form
-
item
label
=
"优惠券类型"
prop
=
"couponType"
>
<
el
-
select
v
-
model
=
"form.couponType"
placeholder
=
"请选择优惠券类型"
disabled
>
<
el
-
select
v
-
model
=
"form.couponType"
clearable
placeholder
=
"请选择优惠券类型"
>
<
el
-
option
<
el
-
option
v
-
for
=
"dict in dict.type.duration_coupon_type"
key
=
"4"
:
key
=
"dict.value"
label
=
"时长券"
:
label
=
"dict.label"
value
=
"4"
:
value
=
"parseInt(dict.value)"
/>
><
/el-option
>
<
el
-
option
key
=
"5"
label
=
"套餐券"
value
=
"5"
/>
<
/el-select
>
<
/el-select
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"优惠券原始金额"
prop
=
"originalPrice"
>
<
el
-
form
-
item
label
=
"优惠券原始金额"
prop
=
"originalPrice"
>
...
@@ -553,7 +567,6 @@ export default {
...
@@ -553,7 +567,6 @@ export default {
handleAdd
()
{
handleAdd
()
{
this
.
reset
();
this
.
reset
();
this
.
form
.
platformType
=
1
;
this
.
form
.
platformType
=
1
;
this
.
form
.
couponType
=
4
;
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"添加优惠券"
;
this
.
title
=
"添加优惠券"
;
}
,
}
,
...
@@ -566,6 +579,9 @@ export default {
...
@@ -566,6 +579,9 @@ export default {
if
(
response
.
data
.
orderType
)
{
if
(
response
.
data
.
orderType
)
{
this
.
form
.
orderType
=
response
.
data
.
orderType
.
toString
();
this
.
form
.
orderType
=
response
.
data
.
orderType
.
toString
();
}
}
if
(
response
.
data
.
couponType
)
{
this
.
form
.
couponType
=
response
.
data
.
couponType
.
toString
();
}
if
(
response
.
data
.
packageId
)
{
if
(
response
.
data
.
packageId
)
{
this
.
form
.
packageId
=
response
.
data
.
packageId
.
toString
();
this
.
form
.
packageId
=
response
.
data
.
packageId
.
toString
();
}
}
...
...
src/views/system/order/index.vue
View file @
8e057e3e
...
@@ -298,7 +298,7 @@
...
@@ -298,7 +298,7 @@
<!--
<
dict
-
tag
:
options
=
"dict.type.order_pay_status"
:
value
=
"scope.row.payStatus"
/>-->
<!--
<
dict
-
tag
:
options
=
"dict.type.order_pay_status"
:
value
=
"scope.row.payStatus"
/>-->
<!--
<
/template>--
>
<!--
<
/template>--
>
<!--
<
/el-table-column>--
>
<!--
<
/el-table-column>--
>
<
el
-
table
-
column
align
=
"center"
class
-
name
=
"small-padding fixed-width"
fixed
=
"right"
label
=
"操作"
width
=
"1
00
"
>
<
el
-
table
-
column
align
=
"center"
class
-
name
=
"small-padding fixed-width"
fixed
=
"right"
label
=
"操作"
width
=
"1
20px
"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
v
-
if
=
"scope.row.payStatus == 1 && scope.row.status != 3"
<
el
-
button
v
-
if
=
"scope.row.payStatus == 1 && scope.row.status != 3"
size
=
"mini"
size
=
"mini"
...
...
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