Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e565ec22
authored
Jan 22, 2026
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 添加错误提示信息以增强用户反馈
- 在操作成功后添加错误提示,确保用户能看到失败原因 - 更新了付款管理逻辑以处理不同类型的支付请求
1 parent
a72f71eb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/views/usedCarManagement/operateManagement/components/contract/edit.vue
src/views/usedCarManagement/operateManagement/components/contract/edit.vue
View file @
e565ec2
...
@@ -1046,12 +1046,16 @@ export default {
...
@@ -1046,12 +1046,16 @@ export default {
if
(
res1
.
data
.
code
==
0
)
{
if
(
res1
.
data
.
code
==
0
)
{
this
.
handleCancel
()
this
.
handleCancel
()
this
.
$message
.
success
(
"操作成功"
)
this
.
$message
.
success
(
"操作成功"
)
}
else
{
this
.
$message
.
error
(
res1
.
data
.
msg
)
}
}
}
else
if
(
type
==
2
)
{
}
else
if
(
type
==
2
)
{
const
res2
=
await
webPayFinalApplication
(
params
)
const
res2
=
await
webPayFinalApplication
(
params
)
if
(
res2
.
data
.
code
==
0
)
{
if
(
res2
.
data
.
code
==
0
)
{
this
.
handleCancel
()
this
.
handleCancel
()
this
.
$message
.
success
(
"操作成功"
)
this
.
$message
.
success
(
"操作成功"
)
}
else
{
this
.
$message
.
error
(
res2
.
data
.
msg
)
}
}
}
}
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment