Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
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
1
Merge Requests
1
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
Giang Tran
InvestCustomer
Commits
eaffd5e5
Commit
eaffd5e5
authored
Jun 14, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update moment
parent
dee83df9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
FeePro.js
src/Screens/Account/PacrtCQG/FeePro.js
+2
-1
PacketCQG.js
src/Screens/Account/PacrtCQG/PacketCQG.js
+9
-5
No files found.
src/Screens/Account/PacrtCQG/FeePro.js
View file @
eaffd5e5
...
@@ -90,7 +90,8 @@ const FeePro = (props) => {
...
@@ -90,7 +90,8 @@ const FeePro = (props) => {
return
(
return
(
<
View
>
<
View
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
title
}
<
/Text
>
{
title
?
<
Text
style
=
{
styles
.
txtTitle
}
>
{
title
}
<
/Text> : null
}
<
View
style
=
{
styles
.
wrap
}
>
<
View
style
=
{
styles
.
wrap
}
>
{
listItem
.
map
((
e
)
=>
(
{
listItem
.
map
((
e
)
=>
(
<
View
key
=
{
e
.
id
+
'a'
}
style
=
{
styles
.
item
}
>
<
View
key
=
{
e
.
id
+
'a'
}
style
=
{
styles
.
item
}
>
...
...
src/Screens/Account/PacrtCQG/PacketCQG.js
View file @
eaffd5e5
...
@@ -129,11 +129,14 @@ const PacketCQG = (props) => {
...
@@ -129,11 +129,14 @@ const PacketCQG = (props) => {
};
};
const
getData
=
async
()
=>
{
const
getData
=
async
()
=>
{
const
res
=
await
getListPacketCQG
({});
const
res
=
await
getListPacketCQG
({});
console
.
log
(
res
);
if
((
res
.
data
.
code
=
200
&&
res
.
data
.
data
))
{
if
((
res
.
data
.
code
=
200
&&
res
.
data
.
data
))
{
setFee
(
res
.
data
.
data
.
fee
);
if
(
res
.
data
.
data
.
fee
)
setFee
(
res
.
data
.
data
.
fee
);
setFeeConnect
(
res
.
data
.
data
.
fee_connect
);
if
(
res
.
data
.
data
.
fee_connect
)
setFeeConnect
(
res
.
data
.
data
.
fee_connect
);
setFeeNonPro
(
res
.
data
.
data
.
fee_pro
);
if
(
res
.
data
.
data
.
fee_pro
)
setFeeNonPro
(
res
.
data
.
data
.
fee_pro
);
setFeePro
(
res
.
data
.
data
.
fee_non_pro
);
if
(
res
.
data
.
data
.
fee_non_pro
)
setFeePro
(
res
.
data
.
data
.
fee_non_pro
);
if
(
res
.
data
.
data
.
fee_operating
)
setOperrating
(
res
.
data
.
data
.
fee_operating
);
setOperrating
(
res
.
data
.
data
.
fee_operating
);
if
(
res
.
data
.
package_register
.
length
>
0
)
{
if
(
res
.
data
.
package_register
.
length
>
0
)
{
...
@@ -159,13 +162,14 @@ const PacketCQG = (props) => {
...
@@ -159,13 +162,14 @@ const PacketCQG = (props) => {
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
container
}
>
<
AppText
i18nKey
=
{
'Note_cqg'
}
/
>
<
AppText
i18nKey
=
{
'Note_cqg'
}
/
>
<
ContainerTop
fee
=
{
fee
}
/
>
<
ContainerTop
fee
=
{
fee
}
/
>
{
feeOperating
.
title
?
(
<
WrapNomarl
<
WrapNomarl
onRemovePacket
=
{
onRemovePacket
}
onRemovePacket
=
{
onRemovePacket
}
onChoosePacket
=
{
onChoosePacket
}
onChoosePacket
=
{
onChoosePacket
}
data
=
{
feeOperating
}
data
=
{
feeOperating
}
listRegister
=
{
listRegister
}
listRegister
=
{
listRegister
}
/
>
/
>
)
:
null
}
<
WrapNomarl
<
WrapNomarl
onRemovePacket
=
{
onRemovePacket
}
onRemovePacket
=
{
onRemovePacket
}
...
...
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