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()