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
501bef9d
Commit
501bef9d
authored
Mar 04, 2024
by
YG8999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改退款操作:是否使用优惠券不可修改
parent
6d790157
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
index.vue
src/views/system/order/index.vue
+3
-9
No files found.
src/views/system/order/index.vue
View file @
501bef9d
...
...
@@ -505,14 +505,7 @@
<
el
-
row
:
gutter
=
"20"
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"是否使用优惠券"
prop
=
"isUseCoupon"
>
<
el
-
radio
-
group
v
-
model
=
"refundForm.isUseCoupon"
:
readonly
=
"true"
>
<
el
-
radio
v
-
for
=
"dict in dict.type.store_is_use_coupon"
:
key
=
"dict.value"
:
label
=
"dict.value"
>
{{
dict
.
label
}}
<
/el-radio
>
<
/el-radio-group
>
<
el
-
input
v
-
model
=
"refundForm.isUseCoupon"
:
readonly
=
"true"
/>
<
/el-form-item
>
<
/el-col
>
<
/el-row
>
...
...
@@ -917,7 +910,8 @@ export default {
this
.
refundForm
.
orderNo
=
row
.
orderNo
;
this
.
refundForm
.
orderStatus
=
this
.
orderStatusFormat
(
row
.
status
);
this
.
refundForm
.
isUseCoupon
=
row
.
couponId
?
'1'
:
'0'
;
let
isUseCoupon
=
row
.
couponId
?
'1'
:
'0'
;
this
.
refundForm
.
isUseCoupon
=
this
.
selectDictLabel
(
this
.
dict
.
type
.
store_is_use_coupon
,
isUseCoupon
);
if
(
row
.
couponId
)
{
let
coupon
=
this
.
couponList
.
find
(
item
=>
item
.
id
===
row
.
couponId
);
this
.
refundForm
.
couponName
=
coupon
.
name
;
...
...
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