1
This commit is contained in:
parent
fe7b34615a
commit
8cf50b9cb9
@ -84,8 +84,9 @@ const dataSerie = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default (data) => {
|
export default (data) => {
|
||||||
title.text =
|
// title.text =
|
||||||
(100 * (+data.nowProduction / +data.targetProduction)).toFixed(0) + "%";
|
// (100 * (+data.nowProduction / +data.targetProduction)).toFixed(0) + "%";
|
||||||
|
title.text = (data.nowProduction || 0) + '片';
|
||||||
dataSerie.data[0].value = data.nowProduction;
|
dataSerie.data[0].value = data.nowProduction;
|
||||||
dataSerie.data[1].value = data.targetProduction - data.nowProduction;
|
dataSerie.data[1].value = data.targetProduction - data.nowProduction;
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user