From b1bf52fc23e94fe45672049bf49b95c86e3b11ee Mon Sep 17 00:00:00 2001 From: zhousq Date: Tue, 30 Apr 2024 10:06:23 +0800 Subject: [PATCH] =?UTF-8?q?2024-04-30=20=E4=BF=AE=E5=A4=8D=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=A0=BC=E5=BC=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/orderDay/components/schedule.vue | 2 +- src/views/mes/orderDay/orderDay.data.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/mes/orderDay/components/schedule.vue b/src/views/mes/orderDay/components/schedule.vue index f9d48a015..636560369 100644 --- a/src/views/mes/orderDay/components/schedule.vue +++ b/src/views/mes/orderDay/components/schedule.vue @@ -484,7 +484,7 @@ const doPublishPlan= ()=>{ res.then(()=>{ message.success("计划发布成功") - }).catch((err)=>{ + }).catch(()=>{ //console.log("---doPublishPlan-- 458--",res.msg) message.error("计划发布失败!") }) diff --git a/src/views/mes/orderDay/orderDay.data.ts b/src/views/mes/orderDay/orderDay.data.ts index 23b0177c5..3c97730b6 100644 --- a/src/views/mes/orderDay/orderDay.data.ts +++ b/src/views/mes/orderDay/orderDay.data.ts @@ -335,7 +335,7 @@ export const OrderDay = useCrudSchemas(reactive([ component: 'DatePicker', componentProps: { valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'datetime', + type: 'daterange', defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } },