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
858a3bd4
Commit
858a3bd4
authored
Dec 28, 2021
by
syadziy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
parents
c8fafa86
53dc72f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
BudgetTahunan.js
src/container/BudgetTahunan.js
+2
-2
BalanceSheetOLPA.js
src/container/OutlookPA/BalanceSheetOLPA.js
+1
-1
No files found.
src/container/BudgetTahunan.js
View file @
858a3bd4
...
@@ -229,7 +229,7 @@ export default class BudgetTahunan extends Component {
...
@@ -229,7 +229,7 @@ export default class BudgetTahunan extends Component {
indexID
=
companyData
.
findIndex
((
val
)
=>
val
.
company_id
==
this
.
state
.
rawData
.
company_id
)
indexID
=
companyData
.
findIndex
((
val
)
=>
val
.
company_id
==
this
.
state
.
rawData
.
company_id
)
}
}
this
.
setState
({
listCompany
:
defaultProps
,
company
:
indexID
==
null
?
companyData
[
0
]
:
companyData
[
indexID
]
},
()
=>
{
this
.
setState
({
listCompany
:
defaultProps
,
company
:
indexID
==
null
?
(
this
.
state
.
company
!==
null
?
this
.
state
.
company
:
companyData
[
0
])
:
companyData
[
indexID
]
},
()
=>
{
// // // console.log(response.data.data);
// // // console.log(response.data.data);
if
(
response
.
data
.
data
.
length
>
0
)
{
if
(
response
.
data
.
data
.
length
>
0
)
{
this
.
getRevision
()
this
.
getRevision
()
...
@@ -480,7 +480,7 @@ export default class BudgetTahunan extends Component {
...
@@ -480,7 +480,7 @@ export default class BudgetTahunan extends Component {
// console.log(periodeData)
// console.log(periodeData)
// // // console.log(index)
// // // console.log(index)
this
.
setState
({
listPeriode
:
defaultProps
,
periode
:
index
===
-
1
?
periodeData
[
0
]
:
periodeData
[
index
]
},
()
=>
{
this
.
setState
({
listPeriode
:
defaultProps
,
periode
:
index
===
-
1
?
periodeData
[
0
]
:
periodeData
[
index
]
},
()
=>
{
if
(
this
.
state
.
isApprover
===
true
&&
this
.
state
.
checkApprover
==
true
)
{
if
(
this
.
state
.
isApprover
===
true
)
{
this
.
getCompanySubmitted
()
this
.
getCompanySubmitted
()
}
else
{
}
else
{
this
.
getRevision
()
this
.
getRevision
()
...
...
src/container/OutlookPA/BalanceSheetOLPA.js
View file @
858a3bd4
...
@@ -564,7 +564,7 @@ export default class BalanceSheetOLPA extends Component {
...
@@ -564,7 +564,7 @@ export default class BalanceSheetOLPA extends Component {
err
=
true
err
=
true
}
else
if
(
Number
(
i
[
18
].
value
)
<
this
.
state
.
minValue
||
Number
(
i
[
18
].
value
)
>
this
.
state
.
maxValue
)
{
}
else
if
(
Number
(
i
[
18
].
value
)
<
this
.
state
.
minValue
||
Number
(
i
[
18
].
value
)
>
this
.
state
.
maxValue
)
{
err
=
true
err
=
true
}
else
if
(
Number
(
i
[
19
])
<
this
.
state
.
minValue
||
Number
(
i
[
19
]
)
>
this
.
state
.
maxValue
)
{
}
else
if
(
Number
(
i
[
19
])
.
toFixed
(
1
)
<
this
.
state
.
minValue
||
Number
(
i
[
19
]).
toFixed
(
1
)
>
this
.
state
.
maxValue
)
{
err
=
true
err
=
true
}
}
}
}
...
...
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