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