This commit is contained in:
LiJianZhao 2025-05-16 14:24:07 +08:00
parent f3a089dbfe
commit ededbacb4b
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import {onMounted, ref} from "vue"; import {onMounted, ref} from "vue";
import {formatDateArray, getThisMonth, getToday} from "@/utils/dateUtils.ts"; import {formatDateArray, getEndOfDay, getThisMonth, getToday} from "@/utils/dateUtils.ts";
import {post} from "@/utils/request.ts"; import {post} from "@/utils/request.ts";
import DetailList from "@/components/social/reconciliation/DetailList.vue"; import DetailList from "@/components/social/reconciliation/DetailList.vue";
import {ElMessage} from "element-plus"; import {ElMessage} from "element-plus";
@ -51,6 +51,7 @@ import {reconciliationResult} from "../../assets/config/constants.ts";
const selectDate = ref<any>(); const selectDate = ref<any>();
const changeDate = (dates: Date[]) => { const changeDate = (dates: Date[]) => {
selectDate.value = formatDateArray(dates); selectDate.value = formatDateArray(dates);
selectDate.value[1] = getEndOfDay(selectDate.value[1])
console.log(selectDate.value); console.log(selectDate.value);
getList() getList()
}; };