From 8db0c69163959824c904cb5865b41124b1a04f2d Mon Sep 17 00:00:00 2001
From: zhang_12370 <z2864490065@outlook.com>
Date: 星期二, 24 六月 2025 16:04:39 +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