From 8b605b3bb0d65a132f944bce08b938750a644df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Wed, 27 Mar 2024 15:23:41 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eam/basic/deviceMaintenance/deviceMaintenance.data.ts | 1 + .../eam/basic/moldMaintenance/moldMaintenance.data.ts | 3 ++- src/views/eam/item/itemApplyMain/itemApplyMain.data.ts | 2 -- .../eam/item/itemMaintenance/itemMaintenance.data.ts | 8 ++++++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/eam/basic/deviceMaintenance/deviceMaintenance.data.ts b/src/views/eam/basic/deviceMaintenance/deviceMaintenance.data.ts index a42e068..c321376 100644 --- a/src/views/eam/basic/deviceMaintenance/deviceMaintenance.data.ts +++ b/src/views/eam/basic/deviceMaintenance/deviceMaintenance.data.ts @@ -135,6 +135,7 @@ export const DeviceMaintenance = useCrudSchemas(reactive([ component: 'InputNumber', componentProps: { min: 1, + max: 100, precision: 0 } }, diff --git a/src/views/eam/basic/moldMaintenance/moldMaintenance.data.ts b/src/views/eam/basic/moldMaintenance/moldMaintenance.data.ts index 087478a..9f6f201 100644 --- a/src/views/eam/basic/moldMaintenance/moldMaintenance.data.ts +++ b/src/views/eam/basic/moldMaintenance/moldMaintenance.data.ts @@ -122,7 +122,7 @@ export const MoldMaintenance = useCrudSchemas(reactive([ component: 'Select' }, }, - { +{ label: '人数', field: 'peoples', sort: 'custom', @@ -134,6 +134,7 @@ export const MoldMaintenance = useCrudSchemas(reactive([ component: 'InputNumber', componentProps: { min: 1, + max: 100, precision: 0 } }, diff --git a/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts b/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts index 2a6685d..d053746 100644 --- a/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts +++ b/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts @@ -172,8 +172,6 @@ export const ItemApplyDetail = useCrudSchemas(reactive([ disabled: false } }, - - { label: '设备/模具编号', field: 'deviceNumber', diff --git a/src/views/eam/item/itemMaintenance/itemMaintenance.data.ts b/src/views/eam/item/itemMaintenance/itemMaintenance.data.ts index a89b2f0..b72ca4d 100644 --- a/src/views/eam/item/itemMaintenance/itemMaintenance.data.ts +++ b/src/views/eam/item/itemMaintenance/itemMaintenance.data.ts @@ -68,8 +68,12 @@ export const ItemMaintenance = useCrudSchemas(reactive([ }, isForm: false, }, - - { + { + label: '维修原因', + field: 'reasons', + sort: 'custom', + }, + { label: '是否可用', field: 'available', dictType: DICT_TYPE.TRUE_FALSE,