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',
isSearch: false,
},
{
label: '创建时间',
field: 'createTime',
{
label: '操作人',
field: 'creator',
sort: 'custom',
formatter: dateFormatter,
isForm: false,
formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
return userListAll.find((account) => account.id == cellValue)?.nickname
},
table: {
width: 170
},
},
{
label: '操作',
field: 'creator',
label: '操作时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isForm: false,
formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
return userListAll.find((account) => account.id == cellValue)?.nickname
},
table: {
width: 170
},

Loading…
Cancel
Save