Browse Source

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

linshi20240813
zhaoyiran 3 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: '创建者', label: '创建者',
field: 'creator', field: 'creator',
isForm: false, isForm: false,
isTable: true isTable: true,
table: {
width: 180
},
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
sort: 'custom', sort: 'custom',
isTable: false, isTable: true,
isDetail: true, isDetail: true,
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
@ -464,7 +467,10 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updater', field: 'updater',
isDetail: true, isDetail: true,
isForm: false, isForm: false,
isTable: false isTable: true,
table: {
width: 180
},
}, },
{ label: '备注', field: 'remark', sort: 'custom', isTable: false}, { 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', sort: 'custom',
isDetail: true, isDetail: true,
isForm: false, isForm: false,
isTable: false, isTable: true,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -279,7 +279,7 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updater', field: 'updater',
isDetail: true, isDetail: true,
isForm: false, isForm: false,
isTable: false, isTable: true,
table: { table: {
width: 150 width: 150
} }

Loading…
Cancel
Save