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
a8180a64
Commit
a8180a64
authored
Jan 05, 2022
by
syadziy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue weight budget CAT
parent
aaff5b64
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 @
a8180a64
...
...
@@ -172,7 +172,7 @@ export default class CorporateAnnualTarget extends Component {
item.level,
"",
item.description,
item
.
type_report_id
==
1
?
`
${
Number
(
item
.
weight
)
*
100
}
%`
:
(
String
(
Number
(
String
(
item
.
cat
.
weight
).
substr
(
0
,
String
(
item
.
cat
.
weight
).
length
-
1
)).
toFixed
(
1
))
+
'%'
),
item.type_report_id == 1 ? `${Number(item.weight) * 100}%` : (String(
item.cat.weight).includes('%') ? (String(Number(String(item.cat.weight).substr(0, String(item.cat.weight).length - 1)).toFixed(1)) + '%') : ((String(Number(item.cat.weight).toFixed(1)) + '%') + '%')
),
parentTrue ? item.cat.uom : item.uom,
parentTrue ? item.cat.kpi_type == "" ? null : { value: item.cat.kpi_type } : item.kpi_type == "" ? null : { value: item.kpi_type },
parentTrue ? item.cat.max_ach == "" ? null : { value: titleCase(item.cat.max_ach) } : item.max_ach == "" ? null : { value: titleCase(item.max_ach) },
...
...
@@ -876,7 +876,7 @@ export default class CorporateAnnualTarget extends Component {
"cat": data
}
console.log(JSON.stringify(payload));
this
.
deleteReport
(
payload
)
//
this.deleteReport(payload)
}
deleteReport(payloadBro) {
...
...
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