Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 83771bdc
authored
Oct 03, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
a1949d1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
tabWorkOrder/pages/refundDetailList/refundDetailList.js
tabWorkOrder/pages/refundDetailList/refundDetailList.js
View file @
83771bd
...
@@ -104,9 +104,17 @@ Page({
...
@@ -104,9 +104,17 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
let
{
refundPayTypeObj
}
=
this
.
data
this
.
setData
({
pageOptions
:
options
},
()
=>
{
this
.
getDetailList
()
})
},
getDetailList
()
{
let
{
refundPayTypeObj
,
pageOptions
}
=
this
.
data
// 获取退款详情列表
// 获取退款详情列表
api
.
getRefundDetailListAPI
({
orderCode
:
o
ptions
.
orderCode
}).
then
(
res
=>
{
api
.
getRefundDetailListAPI
({
orderCode
:
pageO
ptions
.
orderCode
}).
then
(
res
=>
{
let
{
code
,
data
}
=
res
let
{
code
,
data
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
// 处理审批状态
// 处理审批状态
...
@@ -129,7 +137,7 @@ Page({
...
@@ -129,7 +137,7 @@ Page({
if
(
val
.
transferStatus
==
3
)
{
if
(
val
.
transferStatus
==
3
)
{
val
.
reviewStatus
=
5
// 已退款
val
.
reviewStatus
=
5
// 已退款
}
}
val
.
orderCode
=
o
ptions
.
orderCode
val
.
orderCode
=
pageO
ptions
.
orderCode
if
(
val
.
createdDate
)
val
.
createdDate
=
dayjs
(
val
.
createdDate
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
if
(
val
.
createdDate
)
val
.
createdDate
=
dayjs
(
val
.
createdDate
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
if
(
val
.
refundTime
)
val
.
refundTime
=
dayjs
(
val
.
refundTime
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
if
(
val
.
refundTime
)
val
.
refundTime
=
dayjs
(
val
.
refundTime
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
val
.
remark
=
val
.
remark
||
`你的申请被【
${
val
.
oaSpFailAuditorName
||
'总部'
}
】驳回,请联系驳回人员!`
val
.
remark
=
val
.
remark
||
`你的申请被【
${
val
.
oaSpFailAuditorName
||
'总部'
}
】驳回,请联系驳回人员!`
...
@@ -153,7 +161,7 @@ Page({
...
@@ -153,7 +161,7 @@ Page({
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
*/
*/
onShow
()
{
onShow
()
{
this
.
getDetailList
()
},
},
/**
/**
...
...
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