This commit is contained in:
DESKTOP-FUDKNA8\znjsz 2024-03-21 10:47:49 +08:00
父節點 fe7b34615a
當前提交 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 {