From b9b12297e183743af26828b3834aad71c481b7d8 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 29 Dec 2025 15:29:59 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=80=81=E5=AE=A2=E6=88=B7:=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9=E6=AF=94:=20=E6=AF=9B=E5=88=A9?= =?UTF-8?q?=E5=8D=A0=E6=AF=94(=E5=B8=82=E5=9C=BA);=20=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E6=95=B0=E5=8D=A0=E6=AF=94(=E5=B8=82=E5=9C=BA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/CustomerStore.js | 4 ++++ src/views/Orders_sub.jsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/stores/CustomerStore.js b/src/stores/CustomerStore.js index 6cacd82..e428826 100644 --- a/src/stores/CustomerStore.js +++ b/src/stores/CustomerStore.js @@ -243,12 +243,16 @@ class CustomerStore { item1.SUCOrderNum-item2.SUCOrderNum,item1.SUCOrderNum,item2.SUCOrderNum), OrderRate: show_vs_tag(formatPercent((item1.OrderRate-item2.OrderRate)/item2.OrderRate), formatPercentToFloat(item1.OrderRate-item2.OrderRate),formatPercentToFloat(item1.OrderRate),formatPercentToFloat(item2.OrderRate)), + OrderRate2: show_vs_tag(formatPercent((item1.OrderRate2-item2.OrderRate2)/item2.OrderRate2), + formatPercentToFloat(item1.OrderRate2-item2.OrderRate2),formatPercentToFloat(item1.OrderRate2),formatPercentToFloat(item2.OrderRate2)), SUCRate: show_vs_tag(formatPercent((item1.SUCRate-item2.SUCRate)/(item2.SUCRate===0?1:item2.SUCRate)), formatPercent(item1.SUCRate-item2.SUCRate),formatPercent(item1.SUCRate),formatPercent(item2.SUCRate)), ML: show_vs_tag(formatPercent((item1.ML-item2.ML)/(item2.ML===0?1:item2.ML)), (item1.ML-item2.ML).toFixed(2),item1.ML,item2.ML), OrderMLRate: show_vs_tag(formatPercent((item1.OrderMLRate-item2.OrderMLRate)/item2.OrderMLRate), formatPercentToFloat(item1.OrderMLRate-item2.OrderMLRate),formatPercentToFloat(item1.OrderMLRate),formatPercentToFloat(item2.OrderMLRate)), + OrderMLRate2: show_vs_tag(formatPercent((item1.OrderMLRate2-item2.OrderMLRate2)/item2.OrderMLRate2), + formatPercentToFloat(item1.OrderMLRate2-item2.OrderMLRate2),formatPercentToFloat(item1.OrderMLRate2),formatPercentToFloat(item2.OrderMLRate2)), PersonNum: show_vs_tag(formatPercent((item1.PersonNum-item2.PersonNum)/(item2.PersonNum===0?1:item2.PersonNum)), item1.PersonNum-item2.PersonNum,item1.PersonNum,item2.PersonNum), }); diff --git a/src/views/Orders_sub.jsx b/src/views/Orders_sub.jsx index 8be76d9..fc1e2db 100644 --- a/src/views/Orders_sub.jsx +++ b/src/views/Orders_sub.jsx @@ -75,7 +75,7 @@ const Orders_sub = () => { }, }, }, - smooth: true, + // smooth: true, }; const format_data = data => {