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: "",