张诺
2 天以前 c7afec3ad75b22bc8b96d8129956913c2b473d9b
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: "",