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')] } },