Compare commits

...

2 Commits

Author SHA1 Message Date
DESKTOP-FUDKNA8\znjsz
c2e901e4bc Merge branch 'master' of http://git.picaiba.com/g7hoo/chenzhou 2024-03-21 10:48:24 +08:00
DESKTOP-FUDKNA8\znjsz
8cf50b9cb9 1 2024-03-21 10:47:49 +08:00

View File

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