diff --git a/src/pages/Order/Card/OrderFilter.vue b/src/pages/Order/Card/OrderFilter.vue index 347affb04..be47eed54 100644 --- a/src/pages/Order/Card/OrderFilter.vue +++ b/src/pages/Order/Card/OrderFilter.vue @@ -21,15 +21,13 @@ const salesPersonFilter = { fields: ['id', 'nickname'], }; const salesPersonList = ref(null); -const sourceFilter = { fields: ['value'] }; -const sourceList = ref(null); +const sourceList = ref([]); diff --git a/src/pages/Order/OrderList.vue b/src/pages/Order/OrderList.vue index e0261fc19..1622f5ffe 100644 --- a/src/pages/Order/OrderList.vue +++ b/src/pages/Order/OrderList.vue @@ -9,6 +9,8 @@ import VnTable from 'src/components/VnTable/VnTable.vue'; import VnInputDate from 'src/components/common/VnInputDate.vue'; import VnSelect from 'src/components/common/VnSelect.vue'; import OrderSearchbar from './Card/OrderSearchbar.vue'; +import RightMenu from 'src/components/common/RightMenu.vue'; +import OrderFilter from './Card/OrderFilter.vue'; const { t } = useI18n(); const { viewSummary } = useSummaryDialog(); @@ -119,9 +121,6 @@ const columns = computed(() => [ align: 'left', name: 'total', label: t('module.total'), - columnFilter: { - inWhere: true, - }, format: ({ total }) => toCurrency(total), cardVisible: true, }, @@ -147,10 +146,16 @@ async function fetchClientAddress(id, data) {