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