diff --git a/src/components/ADempiere/Form/VPOS2/HeaderOrder/ProductInfo/ProductListTable.vue b/src/components/ADempiere/Form/VPOS2/HeaderOrder/ProductInfo/ProductListTable.vue
index 40be90a5fc..5afba9ab29 100644
--- a/src/components/ADempiere/Form/VPOS2/HeaderOrder/ProductInfo/ProductListTable.vue
+++ b/src/components/ADempiere/Form/VPOS2/HeaderOrder/ProductInfo/ProductListTable.vue
@@ -115,6 +115,14 @@ along with this program. If not, see .
:disabled="isEmptyValue(selectProduct)"
@click="addProduct(selectProduct)"
/>
+
{
+ isLoading.value = false
+ isLoadingRecords.value = false
+ })
+ }
+
return {
// Ref
selection,
@@ -264,6 +286,7 @@ export default defineComponent({
searchValue,
selectProduct,
pageSizeNumber,
+ isLoadingRecords,
// Computed
listProducto,
recordCount,
@@ -277,6 +300,7 @@ export default defineComponent({
searchProduct,
addProduct,
copyCode,
+ refresh,
close
}
}
diff --git a/src/components/ADempiere/Form/VPOS2/HeaderOrder/ProductInfo/SearchProduct.vue b/src/components/ADempiere/Form/VPOS2/HeaderOrder/ProductInfo/SearchProduct.vue
index b5dd593e88..ce62a60d23 100644
--- a/src/components/ADempiere/Form/VPOS2/HeaderOrder/ProductInfo/SearchProduct.vue
+++ b/src/components/ADempiere/Form/VPOS2/HeaderOrder/ProductInfo/SearchProduct.vue
@@ -211,6 +211,10 @@ export default defineComponent({
function showPopever() {
show.value = true
+ store.dispatch('searchProductList', {
+ searchValue: searchProduct.value,
+ pageSize: 15
+ })
}
watch(productList, (newValue, oldValue) => {
diff --git a/src/components/ADempiere/Form/VPOS2/MainOrder/index.vue b/src/components/ADempiere/Form/VPOS2/MainOrder/index.vue
index 64b70d2638..6a74c6b230 100644
--- a/src/components/ADempiere/Form/VPOS2/MainOrder/index.vue
+++ b/src/components/ADempiere/Form/VPOS2/MainOrder/index.vue
@@ -277,6 +277,7 @@ export default defineComponent({
})
.then(updateLineResponse => {
currentLine.value.price = updateLineResponse.price
+ currentLine.value.total_amount_with_tax = updateLineResponse.total_amount_with_tax
isLoadingQty.value = false
currentLine.value.isEditCurrentPrice = false
})
@@ -299,6 +300,7 @@ export default defineComponent({
})
.then(updateLineResponse => {
currentLine.value.price = updateLineResponse.price
+ currentLine.value.total_amount_with_tax = updateLineResponse.total_amount_with_tax
isLoadingPrice.value = false
currentLine.value.isEditCurrentPrice = false
})
@@ -320,6 +322,7 @@ export default defineComponent({
})
.then(updateLineResponse => {
currentLine.value.quantity_ordered = updateLineResponse.quantity_ordered
+ currentLine.value.total_amount_with_tax = updateLineResponse.total_amount_with_tax
isLoadingQty.value = false
currentLine.value.isEditQtyEntered = false
})
@@ -341,6 +344,7 @@ export default defineComponent({
})
.then(updateLineResponse => {
currentLine.value.quantity_ordered = updateLineResponse.quantity_ordered
+ currentLine.value.total_amount_with_tax = updateLineResponse.total_amount_with_tax
isLoadingQty.value = false
currentLine.value.isEditQtyEntered = false
})
@@ -366,6 +370,7 @@ export default defineComponent({
})
.then(updateLineResponse => {
currentLine.value.discount_rate = updateLineResponse.discount_rate
+ currentLine.value.total_amount_with_tax = updateLineResponse.total_amount_with_tax
currentLine.value.isEditDiscount = false
isLoadingDiscount.value = false
})
@@ -387,6 +392,7 @@ export default defineComponent({
})
.then(updateLineResponse => {
currentLine.value.discount_rate = updateLineResponse.discount_rate
+ currentLine.value.total_amount_with_tax = updateLineResponse.total_amount_with_tax
currentLine.value.isEditDiscount = false
isLoadingDiscount.value = false
})