diff --git a/app/components/app/mcu-order-item/list-entry.cfg.ts b/app/components/app/mcu-order-item/list-entry.cfg.ts index 294232f0..89d85dce 100644 --- a/app/components/app/mcu-order-item/list-entry.cfg.ts +++ b/app/components/app/mcu-order-item/list-entry.cfg.ts @@ -2,9 +2,10 @@ import type { Config } from '~/components/pub/my-ui/data-table' import { defineAsyncComponent } from 'vue' const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue')) +const input = defineAsyncComponent(() => import('~/components/pub/ui/input/Input.vue')) export const config: Config = { - cols: [{}, {}, {}, { width: 50 }], + cols: [{}, {}, { classVal: '!p-0.5' }, { width: 50 }], headers: [ [ @@ -22,6 +23,13 @@ export const config: Config = { ], components: { + note(rec, idx) { + return { + idx, + rec: rec as object, + component: input, + } + }, action(rec, idx) { return { idx, diff --git a/app/components/app/mcu-order-item/list.cfg.ts b/app/components/app/mcu-order-item/list.cfg.ts index 852bee25..2b054379 100644 --- a/app/components/app/mcu-order-item/list.cfg.ts +++ b/app/components/app/mcu-order-item/list.cfg.ts @@ -1,7 +1,4 @@ import type { Config } from '~/components/pub/my-ui/data-table' -import { defineAsyncComponent } from 'vue' - -type SmallDetailDto = any export const config: Config = { cols: [{}, {}],