From 6d871f14a6a1d03351f0b6c6e13a27c369616acb Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 20 Mar 2024 15:41:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=85=BB=E5=B7=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en-US.ts | 1 + src/locales/zh-CN.ts | 1 + .../device/devicemaintainjob/deviceMaintainOrderMain.data.ts | 5 +++-- .../eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts | 5 +++-- 4 files changed, 8 insertions(+), 4 deletions(-) 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,