From af1f11b4cf1fceeaf1ea39b46cb35fc98b215df2 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Fri, 21 Nov 2025 09:11:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E6=B5=8B=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../work/bill/creditInstallmentHistory/detailsAddEdit.vue | 4 ++-- src/pages/work/bill/onlineLendHistory/detailsAddEdit.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/work/bill/creditInstallmentHistory/detailsAddEdit.vue b/src/pages/work/bill/creditInstallmentHistory/detailsAddEdit.vue index 5b441f3..9588971 100644 --- a/src/pages/work/bill/creditInstallmentHistory/detailsAddEdit.vue +++ b/src/pages/work/bill/creditInstallmentHistory/detailsAddEdit.vue @@ -149,10 +149,10 @@ onLoad((option) => { } function selectDate() { datePickShow.value = true - proxy.$refs['createTimeRef'].innerValue = new Date().getTime() + proxy.$refs['createTimeRef'].innerValue = form.value.repaymentDate ? new Date(form.value.repaymentDate).getTime() : new Date().getTime() } function datePickConfirm(e) { - form.value.repaymentDate = dayjs(e.value).format("YYYY-MM-DD HH:mm:ss") + form.value.repaymentDate = dayjs(e.value).format("YYYY-MM-DD") datePickShow.value = false } function submit() { diff --git a/src/pages/work/bill/onlineLendHistory/detailsAddEdit.vue b/src/pages/work/bill/onlineLendHistory/detailsAddEdit.vue index 1b46c99..3aef1dd 100644 --- a/src/pages/work/bill/onlineLendHistory/detailsAddEdit.vue +++ b/src/pages/work/bill/onlineLendHistory/detailsAddEdit.vue @@ -190,10 +190,10 @@ onLoad((option) => { function selectDate() { datePickShow.value = true - proxy.$refs['createTimeRef'].innerValue = new Date().getTime() + proxy.$refs['createTimeRef'].innerValue = form.value.repaymentDate ? new Date(form.value.repaymentDate).getTime() : new Date().getTime() } function datePickConfirm(e) { - form.value.createTime = dayjs(e.value).format("YYYY-MM-DD HH:mm:ss") + form.value.repaymentDate = dayjs(e.value).format("YYYY-MM-DD") datePickShow.value = false } function submit() {