Compare commits
2 Commits
04e98ab1db
...
c2e901e4bc
Author | SHA1 | Date | |
---|---|---|---|
|
c2e901e4bc | ||
|
8cf50b9cb9 |
@ -84,8 +84,9 @@ const dataSerie = {
|
||||
};
|
||||
|
||||
export default (data) => {
|
||||
title.text =
|
||||
(100 * (+data.nowProduction / +data.targetProduction)).toFixed(0) + "%";
|
||||
// title.text =
|
||||
// (100 * (+data.nowProduction / +data.targetProduction)).toFixed(0) + "%";
|
||||
title.text = (data.nowProduction || 0) + '片';
|
||||
dataSerie.data[0].value = data.nowProduction;
|
||||
dataSerie.data[1].value = data.targetProduction - data.nowProduction;
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user