|
@ -1,13 +1,8 @@ |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
|
|
|
import { fa } from 'element-plus/es/locale' |
|
|
|
|
|
|
|
|
export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
// {
|
|
|
|
|
|
// label: 'id',
|
|
|
|
|
|
// field: 'id',
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// isForm: false,
|
|
|
|
|
|
// },
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '包装代码', |
|
|
label: '包装代码', |
|
|
field: 'code', |
|
|
field: 'code', |
|
@ -175,11 +170,6 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '备注', |
|
|
|
|
|
field: 'remark', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
|
field: 'createTime', |
|
|
field: 'createTime', |
|
@ -190,11 +180,20 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '备注', |
|
|
|
|
|
field: 'remark', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '删除时间', |
|
|
label: '删除时间', |
|
|
field: 'deletionTime', |
|
|
field: 'deletionTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
@ -212,6 +211,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'deleterId', |
|
|
field: 'deleterId', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -221,6 +221,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'extraProperties', |
|
|
field: 'extraProperties', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -230,6 +231,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'concurrencyStamp', |
|
|
field: 'concurrencyStamp', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -243,6 +245,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'siteId', |
|
|
field: 'siteId', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|