This commit is contained in:
2026-08-25 18:39:51 +08:00
parent d6b6be0e9b
commit 4340c9fc59
4 changed files with 81 additions and 40 deletions
+6 -2
View File
@@ -2,7 +2,6 @@ import {
auditColumns,
businessTypeOptions,
createCrudOption,
effectiveTypeOptions,
nonNegativeRule,
projectApprovalStatusOptions,
projectSourceOptions,
@@ -12,6 +11,11 @@ import {
textRule,
} from './common';
const projectEffectiveTypeOptions = [
{ label: '临时', value: 'temporary' },
{ label: '正式', value: 'formal' },
];
const amountRules = label => [
{ required: true, message: `请输入${label}`, trigger: 'blur' },
nonNegativeRule(label),
@@ -379,7 +383,7 @@ export const option = createCrudOption([
search: true,
searchPlaceholder: '请选择',
searchOrder: 1,
dicData: effectiveTypeOptions,
dicData: projectEffectiveTypeOptions,
value: 'temporary',
minWidth: 110,
},