Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
4c67e3b8
Commit
4c67e3b8
authored
Apr 15, 2020
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
d1ab477a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
8 deletions
+29
-8
illegalModal.vue
src/views/order/rentVehicleInfo/illegalModal.vue
+29
-8
No files found.
src/views/order/rentVehicleInfo/illegalModal.vue
View file @
4c67e3b8
...
...
@@ -213,16 +213,37 @@ export default {
})
})
}
else
{
//当金额大于0先添加记录,再退款
that
.
okHandler
();
setTimeout
(
refund
(
orderNo
).
then
(()
=>
{
that
.
$notify
({
title
:
'成功'
,
message
:
'退款成功'
,
type
:
'success'
,
let
arr
=
[]
this
.
fileList2
.
map
(
function
(
item
)
{
arr
.
push
(
item
.
url
)
})
let
params
=
{
picture
:
arr
.
join
(
','
),
price
:
this
.
price
,
detailId
:
this
.
row
.
detailId
,
id
:
this
.
id
}
saveOrderViolation
(
params
).
then
(
response
=>
{
if
(
response
.
status
===
200
)
{
refund
(
orderNo
).
then
(()
=>
{
that
.
$notify
({
title
:
'成功'
,
message
:
'退款成功'
,
type
:
'success'
,
duration
:
2000
})
})
}
else
{
this
.
$notify
({
title
:
'创建失败'
,
message
:
'操作失败!'
,
type
:
'error'
,
duration
:
2000
})
}),
2000
)
}
})
}
})
...
...
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