From b0d4df5f39525ae7fe252e8ee65d85fd71dca721 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 07 五月 2026 14:53:32 +0800
Subject: [PATCH] 手动下单:检验中订单撤销报错问题修复
---
src/utils/excelFountion.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/utils/excelFountion.js b/src/utils/excelFountion.js
index eced05c..4a2c516 100644
--- a/src/utils/excelFountion.js
+++ b/src/utils/excelFountion.js
@@ -46,7 +46,6 @@
let min = null;
if (val && val.length > 0) {
val = val.filter((item) => item != null && item !== "");
- // console.log(val)
if (val.length > 0) {
min = Math.min(...val);
}
@@ -247,7 +246,7 @@
function getABCList(f) {
try {
let regex = /[=\+\-\*\%\(\)\/\^\s]/g;
- let fouList = ["SUM", "MAX", "MIN", "AVERAGE", "ABS"];
+ let fouList = ["SUM", "MAX", "MIN", "AVERAGE", "ABS","SQRT"];
f = f
.replace(regex, ",")
.replace(new RegExp('"&', "g"), "")
@@ -255,7 +254,6 @@
fouList.forEach((item) => {
f = f.replace(new RegExp(item, "g"), "");
});
- // console.log('f',f)
let arr = f.split(",").filter((item) => {
return (
item && /[a-zA-Z]/.test(item) && item != "undefined" && item != "null"
--
Gitblit v1.9.3