Browse Source

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

master_hella_20240701
zhousq 6 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(()=>{ res.then(()=>{
message.success("计划发布成功") message.success("计划发布成功")
}).catch((err)=>{ }).catch(()=>{
//console.log("---doPublishPlan-- 458--",res.msg) //console.log("---doPublishPlan-- 458--",res.msg)
message.error("计划发布失败!") message.error("计划发布失败!")
}) })

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

@ -335,7 +335,7 @@ export const OrderDay = useCrudSchemas(reactive<CrudSchema[]>([
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'datetime', type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },

Loading…
Cancel
Save