|
|
@ -494,7 +494,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
isTable: true, |
|
|
|
isTable: false, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -503,7 +503,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -520,7 +520,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTable: true, |
|
|
|
isTable: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新时间', |
|
|
@ -806,34 +806,43 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
// width: 150
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: '创建时间',
|
|
|
|
// field: 'createTime',
|
|
|
|
// formatter: dateFormatter,
|
|
|
|
// detail: {
|
|
|
|
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
|
|
// },
|
|
|
|
// sort: 'custom',
|
|
|
|
// table: {
|
|
|
|
// width: 180
|
|
|
|
// },
|
|
|
|
// form: {
|
|
|
|
// component: 'DatePicker',
|
|
|
|
// componentProps: {
|
|
|
|
// type: 'datetime',
|
|
|
|
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
|
|
|
|
// valueFormat: 'x',
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: '创建者',
|
|
|
|
// field: 'creator',
|
|
|
|
// sort: 'custom',
|
|
|
|
// table: {
|
|
|
|
// width: 150
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
|
field: 'createTime', |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
type: 'daterange', |
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建者', |
|
|
|
field: 'creator', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
])) |
|
|
|
|
|
|
|
//表单校验
|
|
|
|