Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app
Project
Overview
Details
Activity
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
姜雷
wx-school-app
Commits
aca9ab0b
Commit
aca9ab0b
authored
Jul 04, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改充值后金额一致提示
parent
5a1722e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Account.tsx
src/pages/Account/Account.tsx
+5
-3
No files found.
src/pages/Account/Account.tsx
View file @
aca9ab0b
...
@@ -62,9 +62,11 @@ export const AccountComponent = () => {
...
@@ -62,9 +62,11 @@ export const AccountComponent = () => {
});
});
return
;
return
;
}
}
console
.
log
(
'in recharge'
);
let
preAimiItem
=
filterBeanList
.
find
(
let
preAimiItem
=
filterBeanList
.
find
(
item
=>
item
.
serviceId
===
'0'
);
item
=>
item
.
serviceId
===
BeanType
.
aimi
,
);
let
preAimi
=
preAimiItem
?
preAimiItem
.
money
:
0
;
let
preAimi
=
preAimiItem
?
preAimiItem
.
money
:
0
;
console
.
log
(
'in recharge: preAimi'
,
preAimiItem
,
preAimi
);
rechargeOrder
({
rechargeOrder
({
id
:
payConfigId
,
id
:
payConfigId
,
customerId
:
userinfo
.
customerId
,
customerId
:
userinfo
.
customerId
,
...
@@ -99,10 +101,10 @@ export const AccountComponent = () => {
...
@@ -99,10 +101,10 @@ export const AccountComponent = () => {
userinfo
.
customerPhone
,
userinfo
.
customerPhone
,
)
)
.
then
(
beanAccount
=>
{
.
then
(
beanAccount
=>
{
console
.
log
(
beanAccount
);
let
aimiItem
=
beanAccount
.
find
(
let
aimiItem
=
beanAccount
.
find
(
item
=>
item
.
serviceId
===
'0'
,
item
=>
item
.
serviceId
===
'0'
,
);
);
console
.
log
(
aimiItem
,
preAimi
);
if
(
aimiItem
&&
aimiItem
.
money
===
preAimi
)
{
if
(
aimiItem
&&
aimiItem
.
money
===
preAimi
)
{
Taro
.
showModal
({
Taro
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
...
...
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