Browse Source

增加更新时间、更新人字段

linshi20240813
zhaoyiran 4 months ago
parent
commit
21a2c6f384
  1. 12
      src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts
  2. 4
      src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts

12
src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

@ -433,13 +433,16 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建者',
field: 'creator',
isForm: false,
isTable: true
isTable: true,
table: {
width: 180
},
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isTable: false,
isTable: true,
isDetail: true,
formatter: dateFormatter,
isForm: false,
@ -464,7 +467,10 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updater',
isDetail: true,
isForm: false,
isTable: false
isTable: true,
table: {
width: 180
},
},
{ label: '备注', field: 'remark', sort: 'custom', isTable: false},
{

4
src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts

@ -256,7 +256,7 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -279,7 +279,7 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

Loading…
Cancel
Save