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 2c27b5f3
authored
Aug 14, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v4.25.1' into 'develop'
Dev v4.25.1 See merge request
!156
2 parents
4e7fb6f9
0f775cff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
packageCrowdFunding/components/activityDetail/activityDetail.js
pages/accountItems/accountItems.js
packageCrowdFunding/components/activityDetail/activityDetail.js
View file @
2c27b5f
...
...
@@ -222,9 +222,10 @@ Component({
list
.
forEach
(
val
=>
{
val
.
payedDateStr
=
val
.
payedDate
?
wx
.
$util
.
tsFormatTime
(
val
.
payedDate
,
'Y年M月D日 h:m:s'
)
:
''
val
.
tailPayedDateStr
=
val
.
tailPayedDate
?
wx
.
$util
.
tsFormatTime
(
val
.
tailPayedDate
,
'Y年M月D日 h:m:s'
)
:
''
if
(
val
?.
depositStatus
==
1
&&
val
.
tailOrderStatus
==
1
)
{
// 已支付状态的 退定金
// depositStatus 0未退定金 1退定金 2退订单
if
([
1
,
2
].
includes
(
val
?.
depositStatus
)
&&
val
.
tailOrderStatus
==
1
)
{
// 已支付状态的 退定金
val
.
tailOrderStatus
=
4
// 可操作退款
}
else
if
((
val
?.
depositStatus
==
1
&&
val
.
tailOrderStatus
==
0
)
||
(
val
?.
depositStatus
==
1
&&
val
?.
tailOrderStatus
==
3
))
{
// 待支付或预支付 退定金
}
else
if
((
[
1
,
2
].
includes
(
val
?.
depositStatus
)
&&
val
.
tailOrderStatus
==
0
)
||
([
1
,
2
].
includes
(
val
?.
depositStatus
)
&&
val
?.
tailOrderStatus
==
3
))
{
// 待支付或预支付 退定金
val
.
tailOrderStatus
=
5
// 不可操作
}
else
{
val
.
tailOrderStatus
=
val
.
tailOrderStatus
...
...
pages/accountItems/accountItems.js
View file @
2c27b5f
...
...
@@ -286,7 +286,7 @@ Page({
wx
.
$util
.
setUserInfo
({
...
wx
.
$util
.
getUserInfo
(),
openSceneArr
})
// 只开通一个场景直接跳转页面
if
(
openSceneArr
.
length
===
1
)
{
wx
.
$util
.
setUserInfo
({
...
wx
.
$util
.
getUserInfo
(),
selectedSceneType
:
openSceneArr
.
includes
(
1
)
?
1
:
0
})
wx
.
$util
.
setUserInfo
({
...
wx
.
$util
.
getUserInfo
(),
selectedSceneType
:
openSceneArr
[
0
]
})
let
pageUrl
=
[
'packageEquity.equityPage'
,
'tabIndex.index'
,
'subvehicleConversion.index'
,
'packageCrowdFunding.paidOrder'
]
wx
.
$router
.
reLaunch
(
pageUrl
[
openSceneArr
[
0
]])
// wx.$router.reLaunch(openSceneArr.includes(1) ? 'tabIndex.index' : 'packageEquity.equityPage')
...
...
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