feat:【antd】【crm】修改时,负责人不允许直接修改

This commit is contained in:
YunaiV
2025-09-30 19:51:24 +08:00
parent 9e6d8ff3e9
commit 6410c83b13
8 changed files with 33 additions and 2 deletions

View File

@@ -39,6 +39,10 @@ export function useFormSchema(): VbenFormSchema[] {
label: '负责人',
component: 'ApiSelect',
rules: 'required',
dependencies: {
triggerFields: ['id'],
disabled: (values) => values.id,
},
componentProps: {
api: () => getSimpleUserList(),
fieldNames: {