Browse Source

库存事务导出,没有创建时间、操作人

master
叶佳兴 2 weeks ago
parent
commit
a7457b6ba1
  1. 18
      src/views/eam/item/transaction/transaction.data.ts

18
src/views/eam/item/transaction/transaction.data.ts

@ -94,24 +94,24 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
}, },
{ {
label: '创建时间', label: '操作人',
field: 'createTime', field: 'creator',
sort: 'custom', sort: 'custom',
formatter: dateFormatter,
isForm: false, isForm: false,
formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
return userListAll.find((account) => account.id == cellValue)?.nickname
},
table: { table: {
width: 170 width: 170
}, },
}, },
{ {
label: '操作', label: '操作时间',
field: 'creator', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter,
isForm: false, isForm: false,
formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
return userListAll.find((account) => account.id == cellValue)?.nickname
},
table: { table: {
width: 170 width: 170
}, },

Loading…
Cancel
Save