Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panyongping
uni-pdtravel
Commits
34f9a7ca
Commit
34f9a7ca
authored
Sep 28, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误修改
parent
2f343d5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
myPhotoAlbum.vue
pages/album/myPhotoAlbum/myPhotoAlbum.vue
+10
-7
No files found.
pages/album/myPhotoAlbum/myPhotoAlbum.vue
View file @
34f9a7ca
...
...
@@ -341,14 +341,17 @@ export default {
}
this
.
$request
(
'wechatUser/myPage/usableCouponList'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
if
(
res
.
data
.
masterSlaveCouponList
.
length
>
0
){
res
.
data
.
masterSlaveCouponList
.
forEach
(
item
=>
{
item
[
'couponPrice'
]
=
item
.
savedMoney
})
this
.
masterSlaveCouponList
=
res
.
data
.
masterSlaveCouponList
this
.
favorablePrice
=
this
.
masterSlaveCouponList
[
0
].
savedMoney
this
.
sellingPrices
=
this
.
sellingPrices
-
this
.
masterSlaveCouponList
[
0
].
savedMoney
if
(
res
.
data
.
masterSlaveCouponList
!=
undefined
){
if
(
res
.
data
.
masterSlaveCouponList
.
length
>
0
){
res
.
data
.
masterSlaveCouponList
.
forEach
(
item
=>
{
item
[
'couponPrice'
]
=
item
.
savedMoney
})
this
.
masterSlaveCouponList
=
res
.
data
.
masterSlaveCouponList
this
.
favorablePrice
=
this
.
masterSlaveCouponList
[
0
].
savedMoney
this
.
sellingPrices
=
this
.
sellingPrices
-
this
.
masterSlaveCouponList
[
0
].
savedMoney
}
}
if
(
this
.
sellingPrices
<
0
){
this
.
sellingPrices
=
0
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment