From d2f590cfed0e874daa758d5e5548d17de8b3c772 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期四, 19 六月 2025 17:58:50 +0800
Subject: [PATCH] 添加巡检任务上传功能及优化文件组件
---
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