diff --git a/src/pages/order/create.vue b/src/pages/order/create.vue index f989e24..410d939 100644 --- a/src/pages/order/create.vue +++ b/src/pages/order/create.vue @@ -47,7 +47,8 @@ {{ item.productName }} - {{ item.spec || '-' }} + {{ item.spec || '-' }} {{ item.length }} x {{ item.width }} x {{ item.quantity }} = {{ (item.length * item.width * item.quantity / 1000000).toFixed(4) }} m² + {{ item.spec || '-' }} @@ -335,6 +336,9 @@ export default { spec: product.spec, unit: product.unit, price: product.price, + length: product.length || '', + width: product.width || '', + area: product.area || '', quantity: 1 }) this.calcAmount()