Browse Source

测试bug修复

master
ljlong_2630 8 months ago
parent
commit
65a07146f0
  1. 8
      src/views/eam/mold/moldAccounts/moldAccounts.data.ts

8
src/views/eam/mold/moldAccounts/moldAccounts.data.ts

@ -83,14 +83,14 @@ export const MoldAccounts = useCrudSchemas(reactive<CrudSchema[]>([
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<CrudSchema[]>([
},
form: {
component: 'Select',
api: () => factoryDeptList,
api: () => factoryList,
componentProps: {
disabled: false,
optionsAlias: {

Loading…
Cancel
Save