From 17588ba701d68e0c0c20812b28d4fccab74057db Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Mon, 25 Mar 2024 15:16:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/basic/fixedAssets/fixedAssets.data.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/eam/basic/fixedAssets/fixedAssets.data.ts b/src/views/eam/basic/fixedAssets/fixedAssets.data.ts index 2717d2c..145f299 100644 --- a/src/views/eam/basic/fixedAssets/fixedAssets.data.ts +++ b/src/views/eam/basic/fixedAssets/fixedAssets.data.ts @@ -9,6 +9,9 @@ const supplierList = await SupplierApi.getSupplierNoPage() // 表单校验 export const FixedAssetsRules = reactive({ + number: [ + required, + ], name: [ required, { max: 50, message: '不得超过50个字符', trigger: 'blur' }, @@ -57,7 +60,7 @@ export const FixedAssets = useCrudSchemas(reactive([ fixed: 'left', }, isSearch: true, - isForm: false, + isForm: true, }, { label: '资产名称',