Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
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
Dida Adams Arizona
Tia-dev
Commits
73e61de7
Commit
73e61de7
authored
Jan 04, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tp bug
parent
398d15f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
TaxPlanningMR.js
src/container/MonthlyReport/TaxPlanningMR.js
+1
-6
No files found.
src/container/MonthlyReport/TaxPlanningMR.js
View file @
73e61de7
...
@@ -67,7 +67,6 @@ export default class TaxPlanningMR extends Component {
...
@@ -67,7 +67,6 @@ export default class TaxPlanningMR extends Component {
}
}
handleGetFor
(
type
)
{
handleGetFor
(
type
)
{
console
.
log
(
type
)
this
.
setState
({
get_for
:
type
},
()
=>
{
this
.
setState
({
get_for
:
type
},
()
=>
{
this
.
getSettingControl
()
this
.
getSettingControl
()
this
.
getLatestUpdate
()
this
.
getLatestUpdate
()
...
@@ -82,8 +81,6 @@ export default class TaxPlanningMR extends Component {
...
@@ -82,8 +81,6 @@ export default class TaxPlanningMR extends Component {
}
}
api
.
create
().
getAllSettingByType
(
body
).
then
(
response
=>
{
api
.
create
().
getAllSettingByType
(
body
).
then
(
response
=>
{
console
.
log
(
body
);
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
'success'
)
{
if
(
response
.
data
.
status
===
'success'
)
{
this
.
setState
({
this
.
setState
({
...
@@ -132,8 +129,6 @@ export default class TaxPlanningMR extends Component {
...
@@ -132,8 +129,6 @@ export default class TaxPlanningMR extends Component {
}
}
getItemHierarki
()
{
getItemHierarki
()
{
console
.
log
(
"masuk hierarki"
)
console
.
log
(
this
.
state
.
get_for
)
this
.
setState
({
loading
:
true
,
judulColumn
:
null
})
this
.
setState
({
loading
:
true
,
judulColumn
:
null
})
let
payload
=
{
let
payload
=
{
"report_id"
:
this
.
props
.
report_id
,
"report_id"
:
this
.
props
.
report_id
,
...
@@ -608,7 +603,7 @@ export default class TaxPlanningMR extends Component {
...
@@ -608,7 +603,7 @@ export default class TaxPlanningMR extends Component {
anjay
.
push
(
valuezz
==
""
?
0
:
valuezz
)
anjay
.
push
(
valuezz
==
""
?
0
:
valuezz
)
}
}
}
else
{
}
else
{
let
data
=
tableMeta
.
rowData
[
12
]
let
data
=
tableMeta
.
rowData
[
12
]
===
null
?
[]
:
tableMeta
.
rowData
[
12
]
let
indexID
=
data
.
findIndex
((
val
)
=>
val
.
item_formula
==
String
(
`@
${
item
}
`
)
&&
val
.
periode
==
Number
(
this
.
props
.
periode
))
let
indexID
=
data
.
findIndex
((
val
)
=>
val
.
item_formula
==
String
(
`@
${
item
}
`
)
&&
val
.
periode
==
Number
(
this
.
props
.
periode
))
if
(
indexID
!==
-
1
)
{
if
(
indexID
!==
-
1
)
{
let
valuezz
=
data
[
indexID
].
value
let
valuezz
=
data
[
indexID
].
value
...
...
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