From 8cb126851ec9e445d5c19c0f3ced483a8d0cb566 Mon Sep 17 00:00:00 2001 From: akshayitzme Date: Tue, 2 Jan 2024 12:38:31 +0530 Subject: [PATCH 1/3] feat: add item through barcode scan --- src/pages/POS/POS.vue | 45 ++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/src/pages/POS/POS.vue b/src/pages/POS/POS.vue index b86cbb20b..bc411d7e6 100644 --- a/src/pages/POS/POS.vue +++ b/src/pages/POS/POS.vue @@ -35,22 +35,33 @@ >
- - +
+ + + + +
+
@@ -199,6 +210,7 @@ import { validateShipment, validateSinv, } from 'src/utils/pos'; +import Barcode from 'src/components/Controls/Barcode.vue'; export default defineComponent({ name: 'POS', @@ -213,6 +225,7 @@ export default defineComponent({ PageHeader, PaymentModal, SelectedItemTable, + Barcode, }, provide() { return { From bc118884fb8340550fd4a039de0a0d1c073ba70d Mon Sep 17 00:00:00 2001 From: akshayitzme Date: Tue, 2 Jan 2024 12:51:06 +0530 Subject: [PATCH 2/3] feat: add items by barcode scan and input --- src/pages/POS/POS.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/POS/POS.vue b/src/pages/POS/POS.vue index bc411d7e6..b1b2c54b0 100644 --- a/src/pages/POS/POS.vue +++ b/src/pages/POS/POS.vue @@ -38,7 +38,7 @@
-
+