diff --git a/src/locales/en.json b/src/locales/en.json index 4d245de4..23f0f3e2 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -289,7 +289,7 @@ "Update time zone": "Update time zone", "Upload": "Upload", "Upload inventory count": "Upload inventory count", - "units": "units", + "units": "{count} units", "Username": "Username", "Variance": "Variance", "variance": "variance", diff --git a/src/views/CountDetail.vue b/src/views/CountDetail.vue index 829797a5..059dc1e2 100644 --- a/src/views/CountDetail.vue +++ b/src/views/CountDetail.vue @@ -423,12 +423,13 @@ async function scanProduct() { element.scrollIntoView({ behavior: 'smooth' }); } }, 0); + inputCount.value = "" } else if(selectedItem.itemStatusId === "INV_COUNT_CREATED") { if((!selectedItem.quantity && selectedItem.quantity !== 0) || product.value.isRecounting) { hasUnsavedChanges.value = true; inputCount.value++ } else if(selectedItem.quantity >= 0 && selectedItem.itemStatusId !== "INV_COUNT_REJECTED" && selectedItem.itemStatusId !== "INV_COUNT_COMPLETED") { - this.openRecountAlert() + openRecountAlert() } } queryString.value = "" diff --git a/src/views/ProductItemList.vue b/src/views/ProductItemList.vue index 467b533f..149f03cb 100644 --- a/src/views/ProductItemList.vue +++ b/src/views/ProductItemList.vue @@ -9,13 +9,13 @@
{{ getProductIdentificationValue(productStoreSettings["productIdentificationPref"].secondaryId, getProduct(item.productId)) }}