This commit is contained in:
DESKTOP-FUDKNA8\znjsz 2024-03-21 10:47:49 +08:00
förälder fe7b34615a
incheckning 8cf50b9cb9

Visa fil

@ -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 {