From f9691d544e62d6c04dbfe45d05a6c7bc5e004291 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期五, 29 十二月 2023 11:52:29 +0800 Subject: [PATCH] 服务商 --- admin/src/views/business/onlinePayStatistics.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/admin/src/views/business/onlinePayStatistics.vue b/admin/src/views/business/onlinePayStatistics.vue index 59b6f30..37e6178 100644 --- a/admin/src/views/business/onlinePayStatistics.vue +++ b/admin/src/views/business/onlinePayStatistics.vue @@ -7,6 +7,7 @@ <el-date-picker v-model="value1" type="daterange" + range-separator="鑷�" start-placeholder="寮�濮嬫棩鏈�" end-placeholder="缁撴潫鏃ユ湡" @@ -54,13 +55,14 @@ import BaseTable from '@/components/base/BaseTable' import TableLayout from '@/layouts/TableLayout' import { fetchList } from '@/api/business/onlinePayStatistics' +import { formatDateTime } from '@/utils/util' export default { name: 'PricingParam', extends: BaseTable, components: { TableLayout }, data () { return { - value1: [], + value1: [new Date(), new Date()], // 鎼滅储 searchForm: { endDate: '', @@ -69,7 +71,7 @@ } }, created () { - + this.searchForm.startDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 00:00:00' this.search() }, methods: { @@ -77,6 +79,7 @@ this.searchForm.startDate = '' this.searchForm.endDate = '' this.value1 = [] + this.$refs.searchForm.resetFields() this.search() }, -- Gitblit v1.9.3