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
d6314e92
Commit
d6314e92
authored
Jun 03, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cat weight
parent
b1adecfb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CorporateAnnualTarget.js
src/container/BudgetTahunan/CorporateAnnualTarget.js
+2
-2
No files found.
src/container/BudgetTahunan/CorporateAnnualTarget.js
View file @
d6314e92
...
...
@@ -358,7 +358,7 @@ export default class CorporateAnnualTarget extends Component {
payload
.
push
({
item_report_id
:
i
[
0
]
===
undefined
?
0
:
reg
.
test
(
String
(
i
[
0
]))
===
false
?
0
:
String
(
i
[
0
]).
trim
(),
item_report
:
i
[
1
]
===
undefined
?
""
:
String
(
i
[
1
]).
trim
(),
weight
:
i
[
2
]
===
undefined
?
""
:
String
(
Number
(
i
[
2
]
*
100
).
toFixed
(
1
))
+
'%'
,
weight
:
i
[
2
]
===
undefined
?
""
:
(
String
(
i
[
2
]).
includes
(
'%'
)
?
Number
(
String
(
i
[
2
]).
substr
(
0
,
String
(
i
[
2
]).
length
-
1
))
:
String
(
Number
(
i
[
2
]
*
100
).
toFixed
(
1
))
+
'%'
)
,
uom
:
i
[
3
]
===
undefined
?
""
:
String
(
i
[
3
]).
trim
(),
kpi_type
:
i
[
4
]
===
undefined
?
""
:
String
(
i
[
4
]).
trim
(),
max_ach
:
i
[
5
]
===
undefined
?
""
:
String
(
i
[
5
]).
toLocaleLowerCase
()
!==
'unlimited'
?
(
String
(
i
[
5
]).
includes
(
'%'
)
?
String
(
i
[
5
].
trim
())
:
String
(
Number
(
i
[
5
]
*
100
)
+
'%'
))
:
String
(
i
[
5
]).
trim
(),
...
...
@@ -387,7 +387,7 @@ export default class CorporateAnnualTarget extends Component {
payload
.
push
({
item_report_id
:
i
[
0
]
===
undefined
?
0
:
reg
.
test
(
String
(
i
[
0
]))
===
false
?
0
:
String
(
i
[
0
]).
trim
(),
item_report
:
i
[
1
]
===
undefined
?
""
:
String
(
i
[
1
]).
trim
(),
weight
:
i
[
2
]
===
undefined
?
""
:
String
(
Number
(
i
[
2
]
*
100
).
toFixed
(
1
))
+
'%'
,
weight
:
i
[
2
]
===
undefined
?
""
:
(
String
(
i
[
2
]).
includes
(
'%'
)
?
Number
(
String
(
i
[
2
]).
substr
(
0
,
String
(
i
[
2
]).
length
-
1
))
:
String
(
Number
(
i
[
2
]
*
100
).
toFixed
(
1
))
+
'%'
)
,
uom
:
i
[
3
]
===
undefined
?
""
:
String
(
i
[
3
]).
trim
(),
kpi_type
:
i
[
4
]
===
undefined
?
""
:
String
(
i
[
4
]).
trim
(),
max_ach
:
i
[
5
]
===
undefined
?
""
:
String
(
i
[
5
]).
toLocaleLowerCase
()
!==
'unlimited'
?
(
String
(
i
[
5
]).
includes
(
'%'
)
?
String
(
i
[
5
].
trim
())
:
String
(
Number
(
i
[
5
]
*
100
)
+
'%'
))
:
String
(
i
[
5
]).
trim
(),
...
...
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