diff --git a/src/views/eam/basic/assetsAccount/assetsAccount.data.ts b/src/views/eam/basic/assetsAccount/assetsAccount.data.ts index 8067c88..dada42a 100644 --- a/src/views/eam/basic/assetsAccount/assetsAccount.data.ts +++ b/src/views/eam/basic/assetsAccount/assetsAccount.data.ts @@ -13,9 +13,9 @@ const admin = checkPermi(['gdzc_admin']); // 表单校验 export const AssetsAccountRules = reactive({ - number: [ - required, - ], + // number: [ + // required, + // ], name: [ required, { max: 50, message: '不得超过50个字符', trigger: 'blur' }, @@ -26,17 +26,17 @@ export const AssetsAccountRules = reactive({ specifications: [ { max: 50, message: '不得超过20个字符', trigger: 'blur' }, ], - locationNumber: [ - required, - { max: 20, message: '不得超过20个字符', trigger: 'blur' }, - ], + // locationNumber: [ + // required, + // { max: 20, message: '不得超过20个字符', trigger: 'blur' }, + // ], purchaseDept: [ { max: 50, message: '不得超过20个字符', trigger: 'blur' }, ], - supplierNumber: [ - required, - { max: 20, message: '不得超过20个字符', trigger: 'blur' }, - ], + // supplierNumber: [ + // required, + // { max: 20, message: '不得超过20个字符', trigger: 'blur' }, + // ], purchasePrice: [ required, { validator:validateNumDot, message: '请输入数字格式', trigger: 'blur'}