diff --git a/src/views/CountDetail.vue b/src/views/CountDetail.vue index 238394cd..a4323001 100644 --- a/src/views/CountDetail.vue +++ b/src/views/CountDetail.vue @@ -423,6 +423,7 @@ async function scanProduct() { element.scrollIntoView({ behavior: 'smooth' }); } }, 0); + if(!selectedItem.quantity && selectedItem.quantity !== 0) inputCount.value = "" } else if(selectedItem.itemStatusId === "INV_COUNT_CREATED") { if((!selectedItem.quantity && selectedItem.quantity !== 0) || product.value.isRecounting) { hasUnsavedChanges.value = true;