From 49dd960389608e3c26af25620ae50db20e78d7a7 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Wed, 22 Oct 2025 10:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=AC=BE=E9=BB=98=E8=AE=A4=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/executor/executor.vue | 10 +++++++++- src/views/moneyManage/refundDetail/refundCharge.vue | 10 +++++++++- src/views/moneyManage/refundDetail/refundFinance.vue | 12 ++++++++++-- src/views/moneyManage/refundDetail/refundHeader.vue | 10 +++++++++- src/views/moneyManage/refundDetail/refundService.vue | 6 +++++- 5 files changed, 42 insertions(+), 6 deletions(-) diff --git a/src/views/moneyManage/executor/executor.vue b/src/views/moneyManage/executor/executor.vue index ac2c2c2..ee28961 100644 --- a/src/views/moneyManage/executor/executor.vue +++ b/src/views/moneyManage/executor/executor.vue @@ -43,7 +43,7 @@ 退款时间 + :disabled-date="disabledDate" :default-time="defaultTime" />
查询 @@ -641,6 +641,14 @@ const productList = [ }, ] +const defaultTime = [ + new Date(2000, 1, 1, 0, 0, 0), + new Date(2000, 2, 1, 23, 59, 59), +] +const disabledDate = (time) => { + const limitDate = new Date(2025, 0, 1); + return time.getTime() < limitDate.getTime(); +} const reset = function () { searchForm.value = { jwcode: '', diff --git a/src/views/moneyManage/refundDetail/refundCharge.vue b/src/views/moneyManage/refundDetail/refundCharge.vue index 8dcef07..4007789 100644 --- a/src/views/moneyManage/refundDetail/refundCharge.vue +++ b/src/views/moneyManage/refundDetail/refundCharge.vue @@ -45,7 +45,7 @@ 付款时间 + :disabled-date="disabledDate" :default-time="defaultTime" />
查询 @@ -749,6 +749,14 @@ const showAudit = function (row) { auditRow.value = row showAudit2.value = true } +const defaultTime = [ + new Date(2000, 1, 1, 0, 0, 0), + new Date(2000, 2, 1, 23, 59, 59), +] +const disabledDate = (time) => { + const limitDate = new Date(2025, 0, 1); + return time.getTime() < limitDate.getTime(); +} onMounted(() => { console.log('???????????????????', adminData.value) getRefund() diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue index 376e9f9..6c17397 100644 --- a/src/views/moneyManage/refundDetail/refundFinance.vue +++ b/src/views/moneyManage/refundDetail/refundFinance.vue @@ -43,8 +43,8 @@
付款时间 + end-placeholder="结束时间" style="width:22vw;" @change="handleDatePickerChange" clearable + :disabled-date="disabledDate" :default-time="defaultTime" />
查询 @@ -815,6 +815,14 @@ const hideReject = function () { showReject.value = false addForm.value.remark = '' } +const defaultTime = [ + new Date(2000, 1, 1, 0, 0, 0), + new Date(2000, 2, 1, 23, 59, 59), +] +const disabledDate = (time) => { + const limitDate = new Date(2025, 0, 1); + return time.getTime() < limitDate.getTime(); +} onMounted(() => { console.log('???????????????????', adminData.value) getRefund() diff --git a/src/views/moneyManage/refundDetail/refundHeader.vue b/src/views/moneyManage/refundDetail/refundHeader.vue index f7d6edb..7269ad4 100644 --- a/src/views/moneyManage/refundDetail/refundHeader.vue +++ b/src/views/moneyManage/refundDetail/refundHeader.vue @@ -44,7 +44,7 @@ 付款时间 + :disabled-date="disabledDate" :default-time="defaultTime" />
查询 @@ -778,6 +778,14 @@ const showAudit = function (row) { auditRow.value = row showAudit2.value = true } +const defaultTime = [ + new Date(2000, 1, 1, 0, 0, 0), + new Date(2000, 2, 1, 23, 59, 59), +] +const disabledDate = (time) => { + const limitDate = new Date(2025, 0, 1); + return time.getTime() < limitDate.getTime(); +} onMounted(() => { console.log('???????????????????', adminData.value) getRefund() diff --git a/src/views/moneyManage/refundDetail/refundService.vue b/src/views/moneyManage/refundDetail/refundService.vue index 4bf4f36..556f40b 100644 --- a/src/views/moneyManage/refundDetail/refundService.vue +++ b/src/views/moneyManage/refundDetail/refundService.vue @@ -43,7 +43,7 @@
付款时间 + end-placeholder="结束时间" style="width:22vw;" :disabled-date="disabledDate" :default-time="defaultTime" clearable />
查询 @@ -644,6 +644,10 @@ const disabledDate = (time) => { const handleMarketChange = (value) => { searchForm.value.market = value || [] } +const defaultTime = [ + new Date(2000, 1, 1, 0, 0, 0), + new Date(2000, 2, 1, 23, 59, 59), +] onMounted(() => { getRefund() getMarket()