Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
web-dj-site
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 bfde79d8
authored
May 20, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
权益订单新增退单拦截校验
1 parent
7d85d76c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
2 deletions
src/main/webapp/biz/business/controller/otherRightInterests.js
src/main/webapp/biz/business/services.js
src/main/webapp/biz/business/controller/otherRightInterests.js
View file @
bfde79d
...
@@ -80,7 +80,21 @@
...
@@ -80,7 +80,21 @@
}
}
}
}
$scope
.
cancelOvertime
=
function
(
obj
)
{
$scope
.
cancelOvertime
=
async
function
(
obj
)
{
// 添加理赔过订单退单拦截
let
result
=
await
rightInterestService
.
checkBackOrder
({
vin
:
obj
.
standNo
,
source
:
1
}).
$promise
if
(
result
.
returnCode
==
'0'
&&
!
result
.
data
.
allowChargeBack
)
{
swal
({
title
:
'提示'
,
type
:
'warning'
,
html
:
true
,
text
:
'由于您的车辆有理赔案件处理当中,请先联系权益服务官18938907441进行处理'
,
showCancelButton
:
true
,
showConfirmButton
:
false
,
cancelButtonText
:
'确定'
})
return
}
swal
({
swal
({
title
:
"服务订单已超过七日,确定退单吗?"
,
title
:
"服务订单已超过七日,确定退单吗?"
,
type
:
"warning"
,
type
:
"warning"
,
...
@@ -471,7 +485,20 @@
...
@@ -471,7 +485,20 @@
// 退单
// 退单
$scope
.
cancel
=
function
(
obj
)
{
$scope
.
cancel
=
async
function
(
obj
)
{
let
result
=
await
rightInterestService
.
checkBackOrder
({
vin
:
obj
.
standNo
,
source
:
1
}).
$promise
if
(
result
.
returnCode
==
'0'
&&
!
result
.
data
.
allowChargeBack
)
{
swal
({
title
:
'提示'
,
type
:
'warning'
,
html
:
true
,
text
:
'由于您的车辆有理赔案件处理当中,请先联系权益服务官18938907441进行处理'
,
showCancelButton
:
true
,
showConfirmButton
:
false
,
cancelButtonText
:
'确定'
})
return
}
if
(
obj
.
equityType
==
'9'
||
obj
.
eqIsGlAcceptance
==
'1'
||
obj
.
eqIsG
){
if
(
obj
.
equityType
==
'9'
||
obj
.
eqIsGlAcceptance
==
'1'
||
obj
.
eqIsG
){
swal
({
swal
({
title
:
"确定退保吗?"
,
title
:
"确定退保吗?"
,
...
...
src/main/webapp/biz/business/services.js
View file @
bfde79d
...
@@ -465,6 +465,12 @@ angular
...
@@ -465,6 +465,12 @@ angular
url
:
"equityManage/getLossFreeValueValid"
,
url
:
"equityManage/getLossFreeValueValid"
,
method
:
"GET"
,
method
:
"GET"
,
},
},
// 校验是否允许退单
checkBackOrder
:
{
url
:
"/equityManage/checkChargeBackAllowed"
,
method
:
"POST"
,
headers
:
{
"Content-type"
:
"application/json"
}
}
});
});
},
},
])
])
...
...
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