From d0b12dc647236bd69aa1ca91a33ca64d9a4bd908 Mon Sep 17 00:00:00 2001 From: Viet An Date: Wed, 10 Jun 2026 15:39:58 +0700 Subject: [PATCH] changes --- app/components/SearchBox.vue | 2 +- app/components/datatable/DataTable.vue | 5 +- app/components/dialog/Confirm.vue | 2 +- app/components/dialog/Error.vue | 49 ++---- app/components/pos/CartItem.vue | 9 +- app/components/pos/ChooseIMEIModal.vue | 9 +- app/components/pos/ConfirmOrder.vue | 154 ++++++++++++++----- app/components/pos/POS.vue | 198 +++++++++++++++---------- app/components/pos/ProductCard.vue | 54 ------- app/plugins/02-connection.js | 17 ++- app/utils/apis.js | 89 +++-------- 11 files changed, 305 insertions(+), 283 deletions(-) delete mode 100644 app/components/pos/ProductCard.vue diff --git a/app/components/SearchBox.vue b/app/components/SearchBox.vue index 012db5f..67e3c2a 100644 --- a/app/components/SearchBox.vue +++ b/app/components/SearchBox.vue @@ -148,7 +148,7 @@ const props = defineProps({ field: String, column: Array, first: Boolean, - optionid: String, + optionid: Number, filter: Object, addon: Object, viewaddon: Object, diff --git a/app/components/datatable/DataTable.vue b/app/components/datatable/DataTable.vue index 56972db..e405f4e 100644 --- a/app/components/datatable/DataTable.vue +++ b/app/components/datatable/DataTable.vue @@ -111,7 +111,7 @@ Không tìm thấy kết quả @@ -685,4 +685,7 @@ setTimeout(() => updateShow(), 200); .header:hover a { opacity: 0.75; } +.table tbody tr:hover .emptyData { + background-color: var(--bulma-table-cell-background-color); +} diff --git a/app/components/dialog/Confirm.vue b/app/components/dialog/Confirm.vue index 05c6213..3ea9264 100644 --- a/app/components/dialog/Confirm.vue +++ b/app/components/dialog/Confirm.vue @@ -20,7 +20,7 @@