From 65a07146f01ce00b207c3f78867f9d002a984481 Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Wed, 27 Mar 2024 14:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/mold/moldAccounts/moldAccounts.data.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: {