This commit is contained in:
@@ -174,8 +174,7 @@ export default {
|
|||||||
},
|
},
|
||||||
calcArea(item) {
|
calcArea(item) {
|
||||||
if (item.length && item.width && item.quantity) {
|
if (item.length && item.width && item.quantity) {
|
||||||
const area = (item.length * item.width * item.quantity / 1000000).toFixed(4)
|
return (item.length * item.width * item.quantity / 1000000).toFixed(4)
|
||||||
return area + ' m²'
|
|
||||||
}
|
}
|
||||||
return '-'
|
return '-'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user