gaoluyang
2025-10-23 47add25f6e7edf1b20d2fddb4919c1d97e4da294
src/utils/production.js
@@ -10,9 +10,7 @@
 */
export function parseCoalArray(coalString) {
  if (!coalString) return [];
  if (Array.isArray(coalString)) return coalString;
  return String(coalString)
    .replace(/^\[|\]$/g, '')
    .split(',')
@@ -128,7 +126,7 @@
 */
export function createDefaultProductionRow(userData = {}, extraData = {}) {
  return {
    coal: "",
    coalId: "",
    productionQuantity: "",
    laborCost: "",
    energyConsumptionCost: "",