|
@ -9,6 +9,9 @@ const supplierList = await SupplierApi.getSupplierNoPage() |
|
|
|
|
|
|
|
|
// 表单校验
|
|
|
// 表单校验
|
|
|
export const FixedAssetsRules = reactive({ |
|
|
export const FixedAssetsRules = reactive({ |
|
|
|
|
|
number: [ |
|
|
|
|
|
required, |
|
|
|
|
|
], |
|
|
name: [ |
|
|
name: [ |
|
|
required, |
|
|
required, |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
@ -57,7 +60,7 @@ export const FixedAssets = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
fixed: 'left', |
|
|
fixed: 'left', |
|
|
}, |
|
|
}, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isForm: false, |
|
|
isForm: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '资产名称', |
|
|
label: '资产名称', |
|
|