Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
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 b4afa671
authored
Jan 31, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
eabe4c1c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
api/env/index.js
packageSaveMoney/pages/detail/detail.js
api/env/index.js
View file @
b4afa67
import
{
preReleaseAppId
}
from
'~/config'
import
{
preReleaseAppId
}
from
'~/config'
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
let
index
=
2
let
index
=
4
/**
/**
*
*
...
...
packageSaveMoney/pages/detail/detail.js
View file @
b4afa67
...
@@ -133,6 +133,7 @@ Page({
...
@@ -133,6 +133,7 @@ Page({
delete
tem
.
id
delete
tem
.
id
}
}
wx
.
p
.
api
.
equityApi
.
commodityMsg
(
tem
).
then
(
res
=>
{
wx
.
p
.
api
.
equityApi
.
commodityMsg
(
tem
).
then
(
res
=>
{
wx
.
hideLoading
()
res
.
goodsDetailList
=
res
.
goodsDetailList
||
[]
res
.
goodsDetailList
=
res
.
goodsDetailList
||
[]
let
tempList
=
res
.
goodsDetailList
.
map
((
item
,
index
)
=>
{
let
tempList
=
res
.
goodsDetailList
.
map
((
item
,
index
)
=>
{
item
.
warrantyDate
=
new
Date
(
item
.
warrantyDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
item
.
warrantyDate
=
new
Date
(
item
.
warrantyDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
...
@@ -187,7 +188,7 @@ Page({
...
@@ -187,7 +188,7 @@ Page({
// })
// })
setTimeout
(()
=>
{
setTimeout
(()
=>
{
wx
.
p
.
router
.
back
(
e
=>
{
wx
.
p
.
router
.
back
(
e
=>
{
e
.
onLoad
({
showToast
:
1
})
if
(
e
&&
e
.
onLoad
)
e
.
onLoad
({
showToast
:
1
})
})
})
},
500
)
},
500
)
return
return
...
...
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