From 4d96be2a55fc5e4ae48e64b23bf33e329e825a0b Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Tue, 25 Jun 2024 16:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E6=9C=9F=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newPurchase/toolsAcceptance/component/addTools.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/addTools.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/addTools.vue index 082d1cf1..42b173c8 100644 --- a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/addTools.vue +++ b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/addTools.vue @@ -78,10 +78,10 @@ type="date" placeholder="请选择到货日期" :picker-options="{ - // 设置当前时间为 采购日期的前一天 + // 设置当前时间为 采购日期 disabledDate: time => { const currentDate = new Date(maForm.purchaseTime || new Date()) - currentDate.setDate(currentDate.getDate()) + currentDate.setDate(currentDate.getDate() - 1) return time.getTime() < currentDate.getTime() } }"