diff --git a/webUI/src/components/widgets/BarcodeScanner.vue b/webUI/src/components/widgets/BarcodeScanner.vue index 5883c57..15fe254 100644 --- a/webUI/src/components/widgets/BarcodeScanner.vue +++ b/webUI/src/components/widgets/BarcodeScanner.vue @@ -1,65 +1,83 @@ - - - - \ No newline at end of file + } + .scanner-corner.top-left { top: 20%; left: 20%; border-top-width: 4px; border-left-width: 4px; } + .scanner-corner.top-right { top: 20%; right: 20%; border-top-width: 4px; border-right-width: 4px; } + .scanner-corner.bottom-left { bottom: 20%; left: 20%; border-bottom-width: 4px; border-left-width: 4px; } + .scanner-corner.bottom-right { bottom: 20%; right: 20%; border-bottom-width: 4px; border-right-width: 4px; } + @keyframes scan { + 0% { transform: translateY(-50px); } + 50% { transform: translateY(50px); } + 100% { transform: translateY(-50px); } + } + .error-box { + padding: 16px; + color: red; + text-align: center; + } + \ No newline at end of file diff --git a/webUI/src/views/acc/storeroom/io/sell.vue b/webUI/src/views/acc/storeroom/io/sell.vue index cd628a8..4c80f6f 100755 --- a/webUI/src/views/acc/storeroom/io/sell.vue +++ b/webUI/src/views/acc/storeroom/io/sell.vue @@ -109,10 +109,10 @@
- mdi-barcode-scan - + -->
@@ -129,7 +129,7 @@
+ @click="scanner.open = true, scanner.mode = 'serial', scanner.itemIndex = index, scanner.lineIndex = lidx"> mdi-barcode-scan