This commit is contained in:
lb 2024-01-03 09:10:29 +08:00
parent 5974e7026e
commit e848be2a35

View File

@ -170,7 +170,12 @@ export default {
{ width: 256, prop: 'code', label: '设备编码' }, { width: 256, prop: 'code', label: '设备编码' },
{ prop: 'location', label: '位置' }, { prop: 'location', label: '位置' },
{ prop: 'responsiblePeopleName', label: '负责人' }, { prop: 'responsiblePeopleName', label: '负责人' },
{ prop: 'dueTime', label: '有效期至' }, {
prop: 'dueDate',
label: '有效期至',
filter: (val) =>
val != null ? moment(val).format('yyyy-MM-DD HH:mm:ss') : '--',
},
{ prop: 'remark', label: '备注' }, { prop: 'remark', label: '备注' },
], ],
searchBarFormConfig: [ searchBarFormConfig: [
@ -250,8 +255,8 @@ export default {
[ [
{ {
datetime: true, datetime: true,
label: '有效期', label: '有效期',
prop: 'dueTime', prop: 'dueDate',
bind: { clearable: true }, bind: { clearable: true },
}, },
{}, {},