From c8025c2f6d5ba52649ebe043fa44ff8d8768f411 Mon Sep 17 00:00:00 2001 From: zhang_12370 <z2864490065@outlook.com> Date: 星期三, 25 六月 2025 11:37:31 +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