From 48ea62150d8e573c17f6d121cc9f26b44216ccf2 Mon Sep 17 00:00:00 2001 From: FLL <2162874245@qq.com> Date: Mon, 25 Aug 2025 15:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/assetManage/assetType/data.ts | 6 +++++ .../src/views/property/assetType/index.vue | 25 +++---------------- .../costManagement/houseCharge/data.ts | 2 +- .../contingenPlan/contingenPlan-modal.vue | 7 ++++-- .../roomBooking/conferenceSettings/index.vue | 4 +-- .../visitorTodo/visitorTodo-detail.vue | 11 ++++++++ 6 files changed, 29 insertions(+), 26 deletions(-) diff --git a/apps/web-antd/src/views/property/assetManage/assetType/data.ts b/apps/web-antd/src/views/property/assetManage/assetType/data.ts index c844e2c5..2630040c 100644 --- a/apps/web-antd/src/views/property/assetManage/assetType/data.ts +++ b/apps/web-antd/src/views/property/assetManage/assetType/data.ts @@ -61,5 +61,11 @@ export const modalSchema: FormSchemaGetter = () => [ label: '排序', fieldName: 'sort', component: 'InputNumber', + rules:'required', + componentProps: { + min: 0, + precision: 0, + step: 1 + }, }, ]; diff --git a/apps/web-antd/src/views/property/assetType/index.vue b/apps/web-antd/src/views/property/assetType/index.vue index 7524251b..c756398e 100644 --- a/apps/web-antd/src/views/property/assetType/index.vue +++ b/apps/web-antd/src/views/property/assetType/index.vue @@ -1,20 +1,12 @@