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: '资产名称',