From ffc421d4676db1424d571d8b45dd9c86b84e3bda Mon Sep 17 00:00:00 2001
From: zhang_12370 <z2864490065@outlook.com>
Date: 星期二, 24 六月 2025 13:56:55 +0800
Subject: [PATCH] 在上传是 过滤掉pnpm配置文件
---
src/utils/production.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/utils/production.js b/src/utils/production.js
index ce5fbdc..35e00e5 100644
--- a/src/utils/production.js
+++ b/src/utils/production.js
@@ -61,6 +61,7 @@
}
for (let i = 0; i < data.length; i++) {
+ console.log(data[i])
const item = data[i];
for (const field of requiredFields) {
if (item[field] === '' || item[field] === null || item[field] === undefined) {
@@ -128,7 +129,7 @@
*/
export function createDefaultProductionRow(userData = {}, extraData = {}) {
return {
- coal: "",
+ coalId: "",
productionQuantity: "",
laborCost: "",
energyConsumptionCost: "",
--
Gitblit v1.9.3