Browse Source

保养工单

master
张立 1 year ago
parent
commit
6d871f14a6
  1. 1
      src/locales/en-US.ts
  2. 1
      src/locales/zh-CN.ts
  3. 5
      src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts
  4. 5
      src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts

1
src/locales/en-US.ts

@ -67,6 +67,7 @@ export default {
confirmRefused: 'Confirm Refused?', confirmRefused: 'Confirm Refused?',
confirmHandle: 'Confirm Handle?', confirmHandle: 'Confirm Handle?',
confirmSubmit: 'Confirm Submit?', confirmSubmit: 'Confirm Submit?',
finishSuccess:'success'
}, },
error: { error: {
noPermission: `Sorry, you don't have permission to access this page.`, noPermission: `Sorry, you don't have permission to access this page.`,

1
src/locales/zh-CN.ts

@ -67,6 +67,7 @@ export default {
confirmRefused: '确认审批驳回吗?', confirmRefused: '确认审批驳回吗?',
confirmHandle: '确认处理吗?', confirmHandle: '确认处理吗?',
confirmSubmit: '确认提交吗?', confirmSubmit: '确认提交吗?',
finishSuccess:'操作成功'
}, },
error: { error: {
noPermission: `抱歉,您无权访问此页面。`, noPermission: `抱歉,您无权访问此页面。`,

5
src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts

@ -232,6 +232,7 @@ export const DeviceMaintainOrderDetailRules = reactive({
completionTime: [required], completionTime: [required],
engineer: [required], engineer: [required],
uncompleted: [required], uncompleted: [required],
contents: [required],
}) })
export const DeviceMaintainOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const DeviceMaintainOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
@ -385,7 +386,7 @@ export const DeviceMaintainOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '维修内容', label: '保养内容',
field: 'contents', field: 'contents',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
@ -393,7 +394,7 @@ export const DeviceMaintainOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
component: 'Input', component: 'Input',
componentProps: { componentProps: {
type: 'textarea', type: 'textarea',
disabled: true, disabled: false,
} }
} }
}, },

5
src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts

@ -279,7 +279,8 @@ export const MoldMaintainOrderDetailRules = reactive({
chargePeoples: [required], chargePeoples: [required],
completionTime: [required], completionTime: [required],
engineer: [required], engineer: [required],
uncompleted: [required] uncompleted: [required],
contents: [required],
}) })
export const MoldMaintainOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const MoldMaintainOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
@ -431,7 +432,7 @@ export const MoldMaintainOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '维修内容', label: '保养内容',
field: 'contents', field: 'contents',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,

Loading…
Cancel
Save