This commit is contained in:
2022-07-19 09:38:57 +08:00
parent 36cfda097c
commit 6d442bb4cc

View File

@@ -263,6 +263,7 @@ import { getDepts } from '@/api/system/dept'
import crudClassstandard from '@/api/wms/basedata/master/classstandard'
import crudMaterialbase from '@/api/wms/basedata/master/materialbase'
const start = new Date()
export default {
name: 'equipmentfile',
components: { Treeselect, ChangeDialog, ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination },
@@ -274,6 +275,9 @@ export default {
del: false,
reset: true,
download: false
},
query: {
createTime: [start, start]
}})
},
mixins: [presenter(), header(), crud()],
@@ -321,9 +325,6 @@ export default {
this.queryClassId()
})
this.getDepts()
this.crud.query.createTime = [new Date(), new Date()]
this.crud.toQuery()
},
methods: {
canUd(row) {