diff --git a/src/pages/Item/ItemFixedPrice.vue b/src/pages/Item/ItemFixedPrice.vue index 05a8545c8..7ba4984e7 100644 --- a/src/pages/Item/ItemFixedPrice.vue +++ b/src/pages/Item/ItemFixedPrice.vue @@ -164,6 +164,7 @@ const columns = computed(() => [ { title: t('Delete'), icon: 'delete', + isPrimary: true, }, ], }, diff --git a/src/pages/Item/ItemList.vue b/src/pages/Item/ItemList.vue index a3b70372f..2f3d20390 100644 --- a/src/pages/Item/ItemList.vue +++ b/src/pages/Item/ItemList.vue @@ -226,11 +226,13 @@ const columns = computed(() => [ title: t('Clone item'), icon: 'vn:clone', action: cloneItem, + isPrimary: true, }, { title: t('view Summary'), icon: 'preview', action: (row) => viewSummary(row.id, ItemSummary), + isPrimary: true, }, ], }, diff --git a/src/pages/Item/ItemRequest.vue b/src/pages/Item/ItemRequest.vue index 65c0aaae1..0d641f8e2 100644 --- a/src/pages/Item/ItemRequest.vue +++ b/src/pages/Item/ItemRequest.vue @@ -9,7 +9,8 @@ import useNotify from 'src/composables/useNotify.js'; import axios from 'axios'; import { toDate } from 'src/filters'; import VnTable from 'components/VnTable/VnTable.vue'; - +import VnInput from 'src/components/common/VnInput.vue'; +import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; const { t } = useI18n(); const { notify } = useNotify(); const stateStore = useStateStore(); @@ -64,7 +65,7 @@ const columns = computed(() => [ }, { label: t('item.buyRequest.requested'), - name: 'saleQuantity', + name: 'quantity', align: 'left', }, { @@ -100,7 +101,7 @@ const columns = computed(() => [ { label: t('item.buyRequest.state'), name: 'state', - action: (row) => getState(row.isOk), + format: (row) => getState(row.isOk), align: 'left', }, { @@ -333,11 +334,12 @@ onBeforeMount(() => { /> --> + { + + + +