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
47b5abb5
Commit
47b5abb5
authored
Sep 07, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deductPrice 修改为 savedMoney
parent
0428354a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
myPhotoAlbum.vue
pages/album/myPhotoAlbum/myPhotoAlbum.vue
+4
-4
No files found.
pages/album/myPhotoAlbum/myPhotoAlbum.vue
View file @
47b5abb5
...
@@ -339,11 +339,11 @@ export default {
...
@@ -339,11 +339,11 @@ export default {
if
(
res
.
code
==
'00'
){
if
(
res
.
code
==
'00'
){
if
(
res
.
data
.
masterSlaveCouponList
.
length
>
0
){
if
(
res
.
data
.
masterSlaveCouponList
.
length
>
0
){
res
.
data
.
masterSlaveCouponList
.
forEach
(
item
=>
{
res
.
data
.
masterSlaveCouponList
.
forEach
(
item
=>
{
item
[
'couponPrice'
]
=
item
.
deductPrice
item
[
'couponPrice'
]
=
item
.
savedMoney
})
})
this
.
masterSlaveCouponList
=
res
.
data
.
masterSlaveCouponList
this
.
masterSlaveCouponList
=
res
.
data
.
masterSlaveCouponList
this
.
favorablePrice
=
this
.
masterSlaveCouponList
[
0
].
deductPrice
this
.
favorablePrice
=
this
.
masterSlaveCouponList
[
0
].
savedMoney
this
.
sellingPrices
=
this
.
sellingPrices
-
this
.
masterSlaveCouponList
[
0
].
deductPrice
this
.
sellingPrices
=
this
.
sellingPrices
-
this
.
masterSlaveCouponList
[
0
].
savedMoney
}
}
if
(
this
.
sellingPrices
<
0
){
if
(
this
.
sellingPrices
<
0
){
this
.
sellingPrices
=
0
this
.
sellingPrices
=
0
...
@@ -397,7 +397,7 @@ export default {
...
@@ -397,7 +397,7 @@ export default {
if
(
this
.
masterSlaveCouponList
.
length
>
0
){
if
(
this
.
masterSlaveCouponList
.
length
>
0
){
this
.
masterSlaveCouponList
[
0
][
'isMerchant'
]
=
1
this
.
masterSlaveCouponList
[
0
][
'isMerchant'
]
=
1
this
.
masterSlaveCouponList
[
0
][
'myCouponId'
]
=
this
.
masterSlaveCouponList
[
0
].
id
this
.
masterSlaveCouponList
[
0
][
'myCouponId'
]
=
this
.
masterSlaveCouponList
[
0
].
id
orderProductListData
.
couponList
.
push
(
this
.
masterSlaveCouponList
[
0
])
orderProductListData
.
couponList
.
push
(
this
.
masterSlaveCouponList
[
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