fix bug
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user