Browse Source

2024-04-30 修复时间格式错误

master_hella_20240701
zhousq 7 months ago
parent
commit
b1bf52fc23
  1. 2
      src/views/mes/orderDay/components/schedule.vue
  2. 2
      src/views/mes/orderDay/orderDay.data.ts

2
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("计划发布失败!")
})

2
src/views/mes/orderDay/orderDay.data.ts

@ -335,7 +335,7 @@ export const OrderDay = useCrudSchemas(reactive<CrudSchema[]>([
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')]
}
},

Loading…
Cancel
Save