Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
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 44f10de9
authored
Aug 12, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
退款审核添加重复审批拦截
1 parent
8d6f9791
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
packageWorkspace/pages/refundApply/refundApply.js
packageWorkspace/pages/refundApply/refundApply.js
View file @
44f10de
...
@@ -501,11 +501,15 @@ Page({
...
@@ -501,11 +501,15 @@ Page({
let
{
infoData
}
=
this
.
data
let
{
infoData
}
=
this
.
data
if
(
type
==
1
)
{
if
(
type
==
1
)
{
// 审核通过
// 审核通过
if
(
this
.
data
.
auditFlag
||
infoData
.
beforeStatus
!=
6
||
infoData
.
afterStatus
!=
7
)
return
this
.
setData
({
auditFlag
:
true
})
wx
.
$util
.
showLoading
()
auditRefundAllpyAPI
({
auditRefundAllpyAPI
({
applyCode
:
infoData
.
applyCode
,
applyCode
:
infoData
.
applyCode
,
auditStatus
:
1
,
auditStatus
:
1
,
id
:
infoData
.
id
id
:
infoData
.
id
}).
then
(
res
=>
{
}).
then
(
res
=>
{
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
showToast
({
wx
.
showToast
({
...
@@ -524,9 +528,12 @@ Page({
...
@@ -524,9 +528,12 @@ Page({
}
}
},
300
)
},
300
)
}
else
{
}
else
{
this
.
setData
({
auditFlag
:
false
})
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
}
}
})
}).
ctach
(()
=>
{
wx
.
$util
.
hideLoading
()
})
}
else
{
}
else
{
// 审核不通过
// 审核不通过
this
.
setData
({
this
.
setData
({
...
@@ -549,15 +556,17 @@ Page({
...
@@ -549,15 +556,17 @@ Page({
confirmRepeal
()
{
confirmRepeal
()
{
let
{
disapprovalReason
,
repealStatus
,
infoData
}
=
this
.
data
let
{
disapprovalReason
,
repealStatus
,
infoData
}
=
this
.
data
if
(
repealStatus
)
return
if
(
repealStatus
||
infoData
.
beforeStatus
!=
6
||
infoData
.
afterStatus
!=
7
)
return
if
(
!
disapprovalReason
)
return
wx
.
$util
.
showToast
(
'审核不通过原因不能为空'
)
if
(
!
disapprovalReason
)
return
wx
.
$util
.
showToast
(
'审核不通过原因不能为空'
)
this
.
setData
({
repealStatus
:
true
})
this
.
setData
({
repealStatus
:
true
})
wx
.
$util
.
showLoading
()
auditRefundAllpyAPI
({
auditRefundAllpyAPI
({
applyCode
:
infoData
.
applyCode
,
applyCode
:
infoData
.
applyCode
,
auditStatus
:
2
,
auditStatus
:
2
,
remark
:
disapprovalReason
,
remark
:
disapprovalReason
,
id
:
infoData
.
id
id
:
infoData
.
id
}).
then
(
res
=>
{
}).
then
(
res
=>
{
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
showToast
({
wx
.
showToast
({
...
@@ -580,7 +589,9 @@ Page({
...
@@ -580,7 +589,9 @@ Page({
this
.
setData
({
repealStatus
:
false
})
this
.
setData
({
repealStatus
:
false
})
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
}
}
})
}).
catch
(()
=>
{
wx
.
$util
.
hideLoading
()
})
},
},
cancelRepeal
()
{
cancelRepeal
()
{
...
...
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