| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import { formatDateTime } from '@/utils/util' |
| | | export default { |
| | | name: 'WxBill', |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination }, |
| | | data () { |
| | | return { |
| | | value1: [], |
| | | value1: [new Date(), new Date()], |
| | | // 搜索 |
| | | searchForm: { |
| | | endDate: '', |
| | |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | | this.searchForm.startDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 00:00:00' |
| | | this.search() |
| | | }, |
| | | methods: { |
| | |
| | | this.searchForm.startDate = '' |
| | | this.searchForm.endDate = '' |
| | | this.value1 = [] |
| | | this.$refs.searchForm.resetFields() |
| | | this.search() |
| | | }, |
| | | selectDate(v) { |