src/views/productionManagement/productionReporting/components/formDia.vue
@@ -27,7 +27,7 @@ placeholder="请输入" :min="0" :step="0.1" :precision="2" :precision="4" clearable style="width: 100%" @change="changeNum" @@ -144,7 +144,7 @@ const unitPrice = Number(form.value.unitPrice ?? 0); if (quantity > 0 && unitPrice > 0) { form.value.totalPrice = (quantity * unitPrice).toFixed(2); form.value.totalPrice = (quantity * unitPrice).toFixed(4); } else { form.value.totalPrice = '0.00'; }