diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 75bd2a2..95c1cb7 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -67,6 +67,7 @@ export default { confirmRefused: 'Confirm Refused?', confirmHandle: 'Confirm Handle?', confirmSubmit: 'Confirm Submit?', + finishSuccess:'success' }, error: { noPermission: `Sorry, you don't have permission to access this page.`, diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 9fac569..96b5b39 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -67,6 +67,7 @@ export default { confirmRefused: '确认审批驳回吗?', confirmHandle: '确认处理吗?', confirmSubmit: '确认提交吗?', + finishSuccess:'操作成功' }, error: { noPermission: `抱歉,您无权访问此页面。`, diff --git a/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts b/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts index 568209e..6160d1d 100644 --- a/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts +++ b/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts @@ -232,6 +232,7 @@ export const DeviceMaintainOrderDetailRules = reactive({ completionTime: [required], engineer: [required], uncompleted: [required], + contents: [required], }) export const DeviceMaintainOrderDetail = useCrudSchemas(reactive([ @@ -385,7 +386,7 @@ export const DeviceMaintainOrderDetail = useCrudSchemas(reactive([ } }, { - label: '维修内容', + label: '保养内容', field: 'contents', sort: 'custom', isSearch: false, @@ -393,7 +394,7 @@ export const DeviceMaintainOrderDetail = useCrudSchemas(reactive([ component: 'Input', componentProps: { type: 'textarea', - disabled: true, + disabled: false, } } }, diff --git a/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts b/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts index fca5b68..22acc3a 100644 --- a/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts +++ b/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts @@ -279,7 +279,8 @@ export const MoldMaintainOrderDetailRules = reactive({ chargePeoples: [required], completionTime: [required], engineer: [required], - uncompleted: [required] + uncompleted: [required], + contents: [required], }) export const MoldMaintainOrderDetail = useCrudSchemas(reactive([ @@ -431,7 +432,7 @@ export const MoldMaintainOrderDetail = useCrudSchemas(reactive([ } }, { - label: '维修内容', + label: '保养内容', field: 'contents', sort: 'custom', isSearch: false,