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 b0ac67fc
authored
Jul 20, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
异常流水审批修改
1 parent
8887103c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
packageWorkspace/pages/cashFlowReview/pages/cashFlowDetail/cashFlowDetail.js
packageWorkspace/pages/cashFlowReview/pages/cashFlowDetail/cashFlowDetail.js
View file @
b0ac67f
...
@@ -41,7 +41,7 @@ Page({
...
@@ -41,7 +41,7 @@ Page({
key
:
'posTrmNo'
key
:
'posTrmNo'
},
{
},
{
label
:
'支付时间'
,
label
:
'支付时间'
,
key
:
'payDate'
key
:
'payDate
Str
'
},
{
},
{
label
:
'所属园区店'
,
label
:
'所属园区店'
,
key
:
'yqMerchantName'
key
:
'yqMerchantName'
...
@@ -165,9 +165,11 @@ Page({
...
@@ -165,9 +165,11 @@ Page({
data
.
tradeInfo
.
refundStatusText
=
constantData
.
refundStatusMap
?.
find
(
v
=>
v
.
value
==
data
.
tradeInfo
.
refundStatus
)?.
name
data
.
tradeInfo
.
refundStatusText
=
constantData
.
refundStatusMap
?.
find
(
v
=>
v
.
value
==
data
.
tradeInfo
.
refundStatus
)?.
name
// 处理审批日志时间字段
// 处理审批日志时间字段
data
?.
approvalLogs
?.
forEach
(
val
=>
{
data
?.
approvalLogs
?.
forEach
(
val
=>
{
console
.
log
(
val
)
val
.
createdDateStr
=
val
.
createdDate
?
dayjs
(
val
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
val
.
createdDateStr
=
val
.
createdDate
?
dayjs
(
val
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
})
})
if
(
data
.
tradeInfo
.
payDate
)
{
data
.
tradeInfo
.
payDateStr
=
dayjs
(
data
.
tradeInfo
.
payDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
this
.
setData
({
this
.
setData
({
detailInfo
:
data
||
{
tradeInfo
:
{},
declarationInfo
:
{},
approvalLogs
:
[]}
detailInfo
:
data
||
{
tradeInfo
:
{},
declarationInfo
:
{},
approvalLogs
:
[]}
})
})
...
@@ -227,7 +229,7 @@ Page({
...
@@ -227,7 +229,7 @@ Page({
if
(
pages
?.[
pages
.
length
-
2
])
{
// 从列表进入,审批后返回列表页
if
(
pages
?.[
pages
.
length
-
2
])
{
// 从列表进入,审批后返回列表页
wx
.
navigateBack
()
wx
.
navigateBack
()
}
else
{
// 企微消息直接进入页面 审批后关闭页面跳转到列表页
}
else
{
// 企微消息直接进入页面 审批后关闭页面跳转到列表页
wx
.
reLaunch
({
url
:
'/packageWorkspace/pages/cashFlowReview/pages/cashFlow
Detail/cashFlowDetail
'
})
wx
.
reLaunch
({
url
:
'/packageWorkspace/pages/cashFlowReview/pages/cashFlow
List/cashFlowList
'
})
}
}
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
...
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