zhang_12370
6 天以前 6184b5e667e8f3088bdb129dd957af8e6049792b
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: "",