From 13faa8d66c90dcecf165ed2ad076657f6f2610ca Mon Sep 17 00:00:00 2001 From: houjunxiang Date: Fri, 30 Jan 2026 20:03:15 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E8=AE=A1=E7=AE=97=E5=80=BC?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nx/helper/calcAnalysisValue.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nx/helper/calcAnalysisValue.js b/nx/helper/calcAnalysisValue.js index f0341d2..8648a3a 100644 --- a/nx/helper/calcAnalysisValue.js +++ b/nx/helper/calcAnalysisValue.js @@ -75,7 +75,7 @@ export function evaluateGetFromFormula(formula, parse, externalFormData, current console.log(relFormulaVal) try { - let v = math.evaluate(relFormulaVal) + let v = math.evaluate(relFormulaVal).toString() v = isFinite(v) ? v : 0 if (parse) { return handleRoundFiveNumber(v, currentColumn.decimalPosition) @@ -207,12 +207,9 @@ function Get_C_KNO3(sValue, weight, operator) { if (W === 0) return '' const V = ((W * S) / 100) * 22 - 75 if (operator === '<' && V < 0) { - console.log(math.abs(V / 12)) - return math.abs(V / 12) } if (operator === '>=' && V >= 0) { - console.log(V / 4) return V / 4 } return ''