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
e15bbb2c
Commit
e15bbb2c
authored
Oct 30, 2023
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改退款订单驳回状态
parent
fdf73390
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
index.vue
src/views/system/refund/index.vue
+6
-5
No files found.
src/views/system/refund/index.vue
View file @
e15bbb2c
...
@@ -179,6 +179,8 @@
...
@@ -179,6 +179,8 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"退款金额"
align
=
"center"
prop
=
"refundPrice"
/>
<
el
-
table
-
column
label
=
"退款金额"
align
=
"center"
prop
=
"refundPrice"
/>
<
el
-
table
-
column
label
=
"退款状态"
align
=
"center"
prop
=
"refundStatus"
/>
<!--
<
el
-
table
-
column
label
=
"消费描述"
align
=
"center"
prop
=
"description"
/>-->
<!--
<
el
-
table
-
column
label
=
"消费描述"
align
=
"center"
prop
=
"description"
/>-->
<!--
<
el
-
table
-
column
label
=
"应付金额"
align
=
"center"
prop
=
"originalPrice"
/>-->
<!--
<
el
-
table
-
column
label
=
"应付金额"
align
=
"center"
prop
=
"originalPrice"
/>-->
<!--
<
el
-
table
-
column
label
=
"实付金额"
align
=
"center"
prop
=
"realPrice"
/>-->
<!--
<
el
-
table
-
column
label
=
"实付金额"
align
=
"center"
prop
=
"realPrice"
/>-->
...
@@ -221,8 +223,7 @@
...
@@ -221,8 +223,7 @@
>
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
<
el
-
button
v
-
if
=
"scope.row.refundStatus == '1'"
v
-
if
=
"scope.row.refundStatus === 1"
size
=
"mini"
type
=
"text"
type
=
"text"
icon
=
"el-icon-s-check"
icon
=
"el-icon-s-check"
@
click
=
"onAudio(scope.row)"
@
click
=
"onAudio(scope.row)"
...
@@ -375,7 +376,7 @@
...
@@ -375,7 +376,7 @@
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
<
span
slot
=
"footer"
class
=
"dialog-footer"
>
<
span
slot
=
"footer"
class
=
"dialog-footer"
>
<
el
-
button
@
click
=
"onToAudio(
0
)"
>
驳
回
<
/el-button
>
<
el
-
button
@
click
=
"onToAudio(
4
)"
>
驳
回
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"onToAudio(2)"
>
通
过
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"onToAudio(2)"
>
通
过
<
/el-button
>
<
/span
>
<
/span
>
<
/el-dialog
>
<
/el-dialog
>
...
@@ -488,11 +489,11 @@ export default {
...
@@ -488,11 +489,11 @@ export default {
this
.
onAudioComfirm
()
this
.
onAudioComfirm
()
}
,
}
,
onAudioComfirm
(){
onAudioComfirm
(){
if
(
this
.
audioForm
.
refundStatus
==
0
&&
!
this
.
audioForm
.
refundReason
.
length
){
if
(
this
.
audioForm
.
refundStatus
==
=
4
&&
!
this
.
audioForm
.
refundReason
.
length
){
this
.
$modal
.
msgWarning
(
"请输入退款说明"
)
this
.
$modal
.
msgWarning
(
"请输入退款说明"
)
return
return
}
}
this
.
$modal
.
confirm
(
this
.
audioForm
.
refundStatus
==
"0"
?
"请确认驳回审核?"
:
"请确认通过审核?"
).
then
((
result
)
=>
{
this
.
$modal
.
confirm
(
this
.
audioForm
.
refundStatus
==
=
4
?
"请确认驳回审核?"
:
"请确认通过审核?"
).
then
((
result
)
=>
{
console
.
log
(
result
,
1111
)
console
.
log
(
result
,
1111
)
if
(
result
===
"confirm"
){
if
(
result
===
"confirm"
){
updateOrder
(
this
.
audioForm
).
then
(
res
=>
{
updateOrder
(
this
.
audioForm
).
then
(
res
=>
{
...
...
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