Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cauchy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
cauchy-ui
Commits
1280aee0
Commit
1280aee0
authored
Jul 23, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改实际支付金额
parent
d42997b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
index.vue
src/views/pay/index.vue
+5
-5
No files found.
src/views/pay/index.vue
View file @
1280aee0
...
@@ -606,14 +606,14 @@ export default {
...
@@ -606,14 +606,14 @@ export default {
return
Object
.
keys
(
obj
);
return
Object
.
keys
(
obj
);
},
},
setAmount
()
{
setAmount
()
{
const
faceValue
=
+
this
.
selectedCoupon
?.
faceValue
||
0
;
const
orderAmt
=
+
this
.
displayInfo
?.
orderAmt
||
0
;
const
finalAmt
=
const
finalAmt
=
IS_THIRD_PAY
(
this
.
payType
)
||
!
this
.
showCoupon
IS_THIRD_PAY
(
this
.
payType
)
||
!
this
.
showCoupon
?
this
.
displayInfo
?.
orderAmt
||
'
0.00
'
?
orderAmt
||
'
0.00
'
:
(
this
.
displayInfo
?.
orderAmt
-
this
.
selectedCoupon
?.
faceValue
||
0
).
toFixed
(
2
);
:
(
orderAmt
-
faceValue
||
0
).
toFixed
(
2
);
const
freeAmount
=
const
freeAmount
=
!
IS_THIRD_PAY
(
this
.
payType
)
&&
this
.
showCoupon
!
IS_THIRD_PAY
(
this
.
payType
)
&&
this
.
showCoupon
?
faceValue
||
'
0.00
'
:
'
0.00
'
;
?
this
.
selectedCoupon
?.
faceValue
||
'
0.00
'
:
'
0.00
'
;
cookies
.
set
(
'
amount
'
,
{
finalAmt
,
freeAmount
});
cookies
.
set
(
'
amount
'
,
{
finalAmt
,
freeAmount
});
},
},
async
reissueContract
()
{
async
reissueContract
()
{
...
...
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