|
|
@ -169,6 +169,34 @@ export const InspectionMain = useCrudSchemas( |
|
|
|
width: 175 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '收货时间', |
|
|
|
field: 'deliveryTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: false, |
|
|
|
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')] |
|
|
|
} |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
type: 'datetime', |
|
|
|
valueFormat: 'x' |
|
|
|
} |
|
|
|
}, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 175 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '完成时间', |
|
|
|
field: 'finishTime', |
|
|
@ -388,79 +416,79 @@ export const InspectionMain = useCrudSchemas( |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
|
field: 'createTime', |
|
|
|
isForm: false, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: { width: '100%' }, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
valueFormat: 'x' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建者', |
|
|
|
field: 'creator', |
|
|
|
table: { |
|
|
|
width: 130 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTable: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新时间', |
|
|
|
field: 'updateTime', |
|
|
|
sort: 'custom', |
|
|
|
isDetail: true, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: { width: '100%' }, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
valueFormat: 'x' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新者', |
|
|
|
field: 'updater', |
|
|
|
isDetail: true, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|
field: 'action', |
|
|
|
isForm: false, |
|
|
|
isDetail: false, |
|
|
|
table: { |
|
|
|
width: 300, |
|
|
|
fixed: 'right' |
|
|
|
} |
|
|
|
} |
|
|
|
label: '创建时间', |
|
|
|
field: 'createTime', |
|
|
|
isForm: false, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: { width: '100%' }, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
valueFormat: 'x' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建者', |
|
|
|
field: 'creator', |
|
|
|
table: { |
|
|
|
width: 130 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTable: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新时间', |
|
|
|
field: 'updateTime', |
|
|
|
sort: 'custom', |
|
|
|
isDetail: true, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: { width: '100%' }, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
valueFormat: 'x' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新者', |
|
|
|
field: 'updater', |
|
|
|
isDetail: true, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|
field: 'action', |
|
|
|
isForm: false, |
|
|
|
isDetail: false, |
|
|
|
table: { |
|
|
|
width: 300, |
|
|
|
fixed: 'right' |
|
|
|
} |
|
|
|
} |
|
|
|
]) |
|
|
|
) |
|
|
|
|
|
|
|