diff --git a/src/views/eam/mold/moldAccounts/moldAccounts.data.ts b/src/views/eam/mold/moldAccounts/moldAccounts.data.ts index acf8af4..04193b0 100644 --- a/src/views/eam/mold/moldAccounts/moldAccounts.data.ts +++ b/src/views/eam/mold/moldAccounts/moldAccounts.data.ts @@ -83,14 +83,14 @@ export const MoldAccounts = useCrudSchemas(reactive([ table: { width: '150', }, - api: () => factoryDeptList, + api: () => factoryList, formatter: (_: Recordable, __: TableColumn, cellValue: number) => { - return factoryDeptList.find((account) => account.id == cellValue)?.name + return factoryList.find((account) => account.id == cellValue)?.name }, search: { show: true, component: 'Select', - api: () => factoryDeptList, + api: () => factoryList, componentProps: { optionsAlias: { labelField: 'name', @@ -101,7 +101,7 @@ export const MoldAccounts = useCrudSchemas(reactive([ }, form: { component: 'Select', - api: () => factoryDeptList, + api: () => factoryList, componentProps: { disabled: false, optionsAlias: {