aggio query
This commit is contained in:
@@ -150,7 +150,10 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function updateQtyAvailable() {
|
||||
myproduct.value.quantityAvailable = myproduct.value.stockQty - myorder.value.quantity
|
||||
myproduct.value.quantityAvailable = myproduct.value.stockQty
|
||||
if (myorder.value.quantity > 0) {
|
||||
myproduct.value.quantityAvailable -= myorder.value.quantity
|
||||
}
|
||||
}
|
||||
|
||||
function getQtyAvailable() {
|
||||
|
||||
Reference in New Issue
Block a user