This commit is contained in:
@@ -199,19 +199,12 @@ export default {
|
|||||||
|
|
||||||
this.orderItems.push({
|
this.orderItems.push({
|
||||||
productId: product.productId,
|
productId: product.productId,
|
||||||
productName: product.name,
|
|
||||||
price: product.price,
|
|
||||||
quantity: 1
|
|
||||||
})
|
|
||||||
this.calcAmount()
|
|
||||||
},
|
|
||||||
productName: product.name,
|
productName: product.name,
|
||||||
spec: product.spec,
|
spec: product.spec,
|
||||||
unit: product.unit,
|
unit: product.unit,
|
||||||
price: product.price,
|
price: product.price,
|
||||||
quantity: 1
|
quantity: 1
|
||||||
})
|
})
|
||||||
|
|
||||||
this.calcAmount()
|
this.calcAmount()
|
||||||
},
|
},
|
||||||
removeItem(index) {
|
removeItem(index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user