src/views/demo/fakePage/index.vue
@@ -147,7 +147,7 @@ } function formatPrice(val) { return Number(val || 0).toFixed(2) return Number(val || 0).toFixed(5) } // 新增/编辑 @@ -214,7 +214,7 @@ name: `物料-${i.toString().padStart(3, '0')}`, category: categories[i % categories.length], stock: Math.floor(Math.random() * 1000), price: (Math.random() * 500 + 10).toFixed(2), price: (Math.random() * 500 + 10).toFixed(5), status: statusOptions[i % 2], updatedAt: nowString() })